From jasons@aweber.com Wed Nov 26 08:03:57 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.7 required=4.0 tests=BAYES_00,FOURLA, FVGT_m_MULTI_ODD,IMPRONONCABLE_1,IMPRONONCABLE_2,MURPHY_WRONG_WORD2, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 26 Nov 2008 16:03:57 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAQG3qqe006519 for ; Wed, 26 Nov 2008 08:03:54 -0800 Received: from mx10.gnu.org ([199.232.76.166]:55091) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L5MrW-0003kg-Ci for emacs-pretest-bug@gnu.org; Wed, 26 Nov 2008 11:03:34 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L5Mri-0004k3-Ob for emacs-pretest-bug@gnu.org; Wed, 26 Nov 2008 11:03:49 -0500 Received: from mail8.aweber.com ([207.106.200.13]:34473) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L5Mrh-0004jj-Va for emacs-pretest-bug@gnu.org; Wed, 26 Nov 2008 11:03:46 -0500 Received: from [192.168.1.108] (c-71-224-197-12.hsd1.pa.comcast.net [71.224.197.12]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail8.aweber.com (Postfix) with ESMTP id 20A5F8170 for ; Wed, 26 Nov 2008 11:03:44 -0500 (EST) Message-Id: <2EBDAEC2-DB0E-4B97-90AB-E23FDAD1FF67@aweber.com> From: Jason Schadel To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: C-Click on a mode in the mode-line causes crash in MacOS X. Date: Wed, 26 Nov 2008 11:03:43 -0500 X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) When a Control-Click is made on a mode in the mode-line, emacs crashes with the error below. Emacs Version Info ---------- Begin ---------- In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, NS apple-appkit-949.35) of 2008-11-26 on Jason-Schadels-MacBook-Pro.local Windowing system distributor `Apple', version 97.112.112.108.101.45.97.112.112.107.105.116.45.57.52.57.46.51.53 configured using `configure '--with-ns' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t ---------- End ---------- Debug Output ---------- Begin ---------- 2008-11-26 09:23:10.993 Emacs[53741:813] *** -[EmacsView writeSelectionToPasteboard:types:]: unrecognized selector sent to instance 0x6c0cb50 2008-11-26 09:23:10.994 Emacs[53741:813] An uncaught exception was raised 2008-11-26 09:23:10.994 Emacs[53741:813] *** -[EmacsView writeSelectionToPasteboard:types:]: unrecognized selector sent to instance 0x6c0cb50 2008-11-26 09:23:10.995 Emacs[53741:813] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** - [EmacsView writeSelectionToPasteboard:types:]: unrecognized selector sent to instance 0x6c0cb50' 2008-11-26 09:23:10.995 Emacs[53741:813] Stack: ( 2445988171, 2434797115, 2446017354, 2446010700, 2446010898, 213437042, 213435210, 35150243, 35150157, 35760590, 35148029, 16540974, 16539500, 16539341, 16539181, 16538726, 16538435, 2702344, 2706698, 2718407, 1470803, 1429763, 1477375, 1414943, 2056321, 1412871, 2054797, 1412752, 1410163, 1410684, 1403269, 11666 ) Program received signal SIGTRAP, Trace/breakpoint trap. 0x91cacff4 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ () ---------- End ---------- Full Backtrace ---------- Begin ---------- (gdb) bt full #0 0x91cacff4 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ () No symbol table info available. #1 0x91200e3b in objc_exception_throw () No symbol table info available. #2 0x91cb434a in -[NSObject doesNotRecognizeSelector:] () No symbol table info available. #3 0x91cb294c in ___forwarding___ () No symbol table info available. #4 0x91cb2a12 in __forwarding_prep_0___ () No symbol table info available. #5 0x0cb8ca72 in CopyCocoaTextSelection () No symbol table info available. #6 0x0cb8c34a in QuickAddExamineContext () No symbol table info available. #7 0x021859a3 in TContextualMenuPlugin::ExamineContext () No symbol table info available. #8 0x0218594d in TContextualMenuPluginList::ExamineContext () No symbol table info available. #9 0x0221a9ce in _ContextualMenuInsertItems () No symbol table info available. #10 0x021850fd in _ContextualMenuInsertItems () No symbol table info available. #11 0x00fc652e in _NSPopUpCarbonMenu3 () No symbol table info available. #12 0x00fc5f6c in _NSPopUpCarbonMenu2 () No symbol table info available. #13 0x00fc5ecd in _NSPopUpCarbonMenu1 () No symbol table info available. #14 0x00fc5e2d in -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] () No symbol table info available. #15 0x00fc5c66 in -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] () No symbol table info available. #16 0x00fc5b43 in -[NSMenu _popUpContextMenu:withEvent:forView:] () No symbol table info available. #17 0x00293c08 in -[EmacsMenu runMenuAt:forFrame:keymaps:] (self=0xd722650, _cmd=0x2c3f96, p={x = 1018, y = 27}, f=0x48bb850, keymaps=1) at nsmenu.m:735 view = (EmacsView *) 0x6c0cb50 e = (NSEvent *) 0xf470410 event = (NSEvent *) 0xf443ef0 retVal = 2702481 #18 0x00294d0a in ns_popup_menu (position=87910205, menu=87930821) at nsmenu.m:1135 pmenu = (EmacsMenu *) 0xd722650 f = (struct frame *) 0x48bb850 p = { x = 1018, y = 827 } window = 256341252 x = 2432 y = 3352 tem = 92274697 keymap = 73594421 title = 100792459 gcpro1 = { next = 0x9123ebf4, var = 0x0, nvars = 125773824 } specpdl_count = 2 specpdl_count2 = 3 error_name = 0x0 keymaps = 1 wv = (widget_value *) 0xd7225c0 first_wv = (widget_value *) 0xf493b50 #19 0x00297ac7 in Fx_popup_menu (position=87910205, menu=87930821) at nsmenu.m:1922 No locals. #20 0x00167153 in read_char_x_menu_prompt (nmaps=4, maps=0xbfffebd0, prev_event=87910205, used_mouse_menu=0xbfffed78) at keyboard.c:8493 realmaps = (Lisp_Object *) 0xbfffe970 value = 128190 nmaps1 = 1 mapno = 4 name = 100792459 #21 0x0015d103 in read_char (commandflag=1, nmaps=4, maps=0xbfffebd0, prev_event=87910205, used_mouse_menu=0xbfffed78, end_time=0x0) at keyboard.c:2854 c = 92274697 count = 1510961 jmpcount = 2 local_getcjmp = {2491263, 0, 8099, 1426703, -1073746448, 0, 4, -1073746992, -1073747064, -1073747504, 102891551, 658, 1428558, 92274711, 92274719, 71106591, 102891520, 55} save_jump = {-1073747192, 1513827, 92274697, 1, 1, 2502472, 92274697, 92274697, 3478900, 70873573, 0, 1512657, 100440305, 92274697, 3650717, 100440305, 73594421, 1951602} key_already_recorded = 0 tem = 1473571 save = -1073747128 previous_echo_area_message = 92274697 also_record = 92274697 reread = 0 gcpro1 = { next = 0x5800009, var = 0x10, nvars = 1512315 } gcpro2 = { next = 0x2, var = 0x58071a1, nvars = -1073747304 } polling_stopped_here = 0 orig_kboard = (struct kboard *) 0x4846610 #22 0x00168aff in read_key_sequence (keybuf=0xbfffefa4, bufsize=30, prompt=92274697, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9344 interrupted_kboard = (KBOARD *) 0x4846610 interrupted_frame = (struct frame *) 0x48bb850 key = 87910205 used_mouse_menu = 0 echo_local_start = 0 last_real_key_start = 2 keys_local_start = 2 local_first_binding = 2 from_string = 235642243 count = 2 t = 2 echo_start = 0 keys_start = 0 nmaps = 4 nmaps_allocated = 4 defs = (Lisp_Object * volatile) 0xbfffebb0 submaps = (Lisp_Object * volatile) 0xbfffebd0 orig_local_map = 3650693 orig_keymap = 92274697 localized_local_map = 1 first_binding = 2 first_unbound = 31 mock_input = 2 fkey = { parent = 71245389, map = 71245389, start = 2, end = 2 } keytran = { parent = 70733693, map = 70733693, start = 2, end = 2 } indec = { parent = 71245397, map = 71245397, start = 2, end = 2 } shift_translated = 0 delayed_switch_frame = 92274697 original_uppercase = -1073746408 original_uppercase_position = -1 dummyflag = 0 starting_buffer = (struct buffer *) 0xc1c5d90 fake_prefixed_keys = 87910197 gcpro1 = { next = 0x622acd9, var = 0x5800009, nvars = 2 } #23 0x0015971f in command_loop_1 () at keyboard.c:1621 cmd = 102935769 lose = 32 nonundocount = 0 keybuf = {92303801, 87910205, 0, 3250635, -1073746096, -1073745976, 1492944, -1073745796, 1412030, -1073745912, 1412519, 224649653, 92274745, -1073745882, 100794081, 152, 163, 125796672, 368690, 232, 14, 0, 76265552, -1073746208, 1411579, -1073745816, 1411941, 224649637, -1073745882, 70799261} i = 1 prev_modiff = 9026 prev_buffer = (struct buffer *) 0xc1c5d90 already_adjusted = 0 #24 0x001f6081 in internal_condition_case (bfun=0x159271 , handlers=92314385, hfun=0x1589ef ) at eval.c:1511 val = 70799261 c = { tag = 92274697, val = 92274697, next = 0xbffff16c, gcpro = 0x0, jmp = {-1073806465, 82, 8098, 2056032, 117522432, 2054597, 0, 0, -1073745624, -1073745808, 31, 658, 2056198, -1859256297, 31, 31, 0, 55}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 92314385, var = 92274697, chosen_clause = 92274745, tag = 0xbffff0a8, next = 0x0 } #25 0x00158f07 in command_loop_2 () at keyboard.c:1338 val = 8368128 #26 0x001f5a8d in internal_catch (tag=92310457, func=0x158ed2 , arg=92274697) at eval.c:1247 c = { tag = 92310457, val = 92274697, next = 0x0, gcpro = 0x0, jmp = {-1859320961, 0, 8098, 2054597, -1859280203, 0, 0, 0, -1073745432, -1073745584, 92405791, 662, 2054782, 23, 92274719, -1073807329, 92405760, 92405815}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #27 0x00158e90 in command_loop () at keyboard.c:1317 No locals. #28 0x00158473 in recursive_edit_1 () at keyboard.c:942 count = 1 val = 2071153 #29 0x0015867c in Frecursive_edit () at keyboard.c:1004 count = 0 buffer = 92274697 #30 0x00156985 in main (argc=1, argv=0xbffff3c0) at emacs.c:1777 dummy = 0 stack_bottom_variable = -65 '\277' do_initial_setlocale = 1 skip_args = 0 rlim = { rlim_cur = 8388608, rlim_max = 67104768 } no_loadup = 0 junk = 0x0 dname_arg = 0x0 ---------- End ---------- From rgm@gnu.org Wed Nov 26 09:03:25 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.7 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED,TVD_SPACE_RATIO,VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 26 Nov 2008 17:03:25 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAQH3MHa022135 for ; Wed, 26 Nov 2008 09:03:23 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L5Nn5-00068Y-F7; Wed, 26 Nov 2008 12:03:03 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18733.33095.376600.868474@fencepost.gnu.org> Date: Wed, 26 Nov 2008 12:03:03 -0500 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: 3$Wo&r6Wde(|N>v'RXZJ)h?(\q,6;|eBt&-6 X-Debbugs-No-Ack: yes reassign 1435 emacs,ns From adrian.b.robert@gmail.com Fri Nov 28 16:50:33 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.1 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1435) by emacsbugs.donarmstrong.com; 29 Nov 2008 00:50:33 +0000 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAT0oTIS010075 for <1435@emacsbugs.donarmstrong.com>; Fri, 28 Nov 2008 16:50:31 -0800 Received: by yx-out-2324.google.com with SMTP id 8so664191yxg.31 for <1435@emacsbugs.donarmstrong.com>; Fri, 28 Nov 2008 16:50:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:to:content-type :content-transfer-encoding:mime-version:subject:date:cc:x-mailer :from; bh=oct+JwfttNuiuC/uP/+9xoxi4GeTa9jfuRjhsN9cvyk=; b=kU3WQin/MoHLLGX3vJGp0akEihGd5t3sPaC+7S28wNknUtlrRTsXuiwUU04Y5wYomi Gs+6CX+4hvGIEwchybgMJaAxeFugF5haOzWe0LwOZ+vffQrrJwdSOHKMHL6MbdFeyrm0 kWDbMJvvu4MW1Nx4TKjme45b6GGYRo1j0Si5Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:to:content-type:content-transfer-encoding:mime-version :subject:date:cc:x-mailer:from; b=UW9+EZU1KpRlm+xjaIRRJ5W3EiT7/9ylnNCNvntST74faNFogxcFouIjALGZrt2Bvo pPFt5PzsUkdkjLS+rldlGoluKbRDRPyAjBbG0qBdlNAdYyYh2GS1csYzc41irQ2PrCtu jjCMSElKSL5i+tCc7C+P/eqBz91QuuIKpwicI= Received: by 10.90.99.5 with SMTP id w5mr4754546agb.16.1227919829514; Fri, 28 Nov 2008 16:50:29 -0800 (PST) Received: from ?10.0.1.198? ([72.169.150.82]) by mx.google.com with ESMTPS id 9sm1881754agc.31.2008.11.28.16.50.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 28 Nov 2008 16:50:28 -0800 (PST) Message-Id: <47C3E128-491A-4642-95E9-D625280975F2@gmail.com> To: 1435@debbugs.gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: #1435 - C-Click on a mode in the mode-line causes crash in MacOS X. - Emacs bug report logs Date: Fri, 28 Nov 2008 19:50:08 -0500 Cc: Jason Schadel X-Mailer: Apple Mail (2.929.2) From: Adrian Robert I can't reproduce it. What is the mode, does it need to be a frame split into multiple windows and it is a certain one of the modelines? Also, what is the output at the beginning of your "Debug Output" section about writeSelectionToPasteboard from? Is it from some earlier activity? Can you reproduce the bug in a fresh emacs started with -Q? Thanks. From jasons@aweber.com Mon Dec 1 08:05:15 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.1 required=4.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1435) by emacsbugs.donarmstrong.com; 1 Dec 2008 16:05:15 +0000 Received: from mail8.aweber.com (mail8.aweber.com [207.106.200.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB1G5Baf011576 for <1435@emacsbugs.donarmstrong.com>; Mon, 1 Dec 2008 08:05:13 -0800 Received: from jasons.ofc.lair (unknown [75.147.74.137]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail8.aweber.com (Postfix) with ESMTP id AF0C58155; Mon, 1 Dec 2008 11:05:10 -0500 (EST) Cc: 1435@debbugs.gnu.org Message-Id: <80E0B98F-55C8-4E54-9732-25FFD62CFDA4@aweber.com> From: Jason Schadel To: Adrian Robert In-Reply-To: <47C3E128-491A-4642-95E9-D625280975F2@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: #1435 - C-Click on a mode in the mode-line causes crash in MacOS X. - Emacs bug report logs Date: Mon, 1 Dec 2008 11:05:09 -0500 References: <47C3E128-491A-4642-95E9-D625280975F2@gmail.com> X-Mailer: Apple Mail (2.929.2) That was from a fresh emacs started with -Q. After a little more debugging, I noticed that the message buffer displays "mode-line down- mouse-3-". I was assuming that C-Click was producing the same result because on a mac that is the same as a right click in the Finder, but in emacs it seems that it distinguishes between a right click(mouse-3) and a C-Click. The same exception is raised when I Command-Click or just Click on a mode in the mode-line. The message buffer displays "mode-line down- mouse-1-" On Nov 28, 2008, at 7:50 PM, Adrian Robert wrote: > I can't reproduce it. What is the mode, does it need to be a frame > split into multiple windows and it is a certain one of the modelines? > > Also, what is the output at the beginning of your "Debug Output" > section about writeSelectionToPasteboard from? Is it from some > earlier activity? Can you reproduce the bug in a fresh emacs > started with -Q? > > Thanks. > From adrian.b.robert@gmail.com Fri Jan 23 02:32:28 2009 Received: (at 1435) by emacsbugs.donarmstrong.com; 23 Jan 2009 10:32:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0NAWOSg012698 for <1435@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 02:32:26 -0800 Received: by ewy3 with SMTP id 3so4649283ewy.1 for <1435@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 02:32:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-type :message-id:cc:content-transfer-encoding:from:subject:date:to :x-mailer; bh=tvHDPtjhlSx7eLx2XwikCcck401Nt8vGugnT59pPWoQ=; b=vGY8E4ly31rMPZG4oJSeAm4yWcEcNFwu3zLuAY0Pe3teESg/lglT/dA/1OVDgBtkkP mF/9D+qQNF+MfcOgVDyA6l5JyirWtrOexo+GjUodjUFHr6XIF+OerdN/H4sro62srkZm U6LSjsGkb8xMrchson0U+gqdwgFvnxf7T6dtk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; b=bW5Uc9jCo8hdBfnjB8Mqwt1HQ5AIaX5WRKhfN/MTy71Jcagtl9cfIPsFeDcJDEy2P0 qGGXoqgbIw3MzAGXBdSffLHj4eEYCM2UH2sPfAEbPz1Poj0WOdETUfExfzEzajLpYvrs Eke2DYNSNkuSpdUu1PBWMxrZ0EYG1581aaJhc= Received: by 10.210.65.17 with SMTP id n17mr1129572eba.112.1232706738723; Fri, 23 Jan 2009 02:32:18 -0800 (PST) Received: from ?192.168.1.101? (h006107.gprs.dnafinland.fi [87.93.6.107]) by mx.google.com with ESMTPS id 10sm4653807eyz.39.2009.01.23.02.32.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Jan 2009 02:32:17 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <28CB4C8B-7EAD-45A4-9840-2CCD2C8167EE@gmail.com> Cc: Jason Schadel Content-Transfer-Encoding: 7bit From: Adrian Robert Subject: Re: C-Click on a mode in the mode-line causes crash in MacOS X Date: Fri, 23 Jan 2009 12:32:16 +0200 To: 1435@debbugs.gnu.org X-Mailer: Apple Mail (2.753.1) I still cannot reproduce it. The only clue I can find is that the crash seems to be deep inside OS X's own menu code, when it apparently tries to send a selection to -[EmacsView writeSelectionToPasteboard:types:]. This should only occur if a native services menu selection is made, however for Emacs.app we override the services menu with our own items, so any selection from the actual visible services menu goes through ns-perform-service. In your case, it seems doing your mouse action is somehow triggering a call into the (hidden and overridden) original services menu. Do you know why this might be? Do you have anything unusual running on your Mac, such as something that automatically is active when a selection is made or a menu item chosen, or a certain type of mouse- click made, or something like that? Anyway, I have checked in something that might at least avoid the crash for now, it simply stubs out the methods in question: -writeSelectionToPasteboard:types: and -readSelectionFromPasteboard: Let me know if this stops the crash, and if so, if any behavior that is normally expected (in connection with this behind-the-scenes service call if you know what it is) is not observed. thanks, Adrian From jasons@aweber.com Mon Feb 2 07:50:23 2009 Received: (at 1435) by emacsbugs.donarmstrong.com; 2 Feb 2009 15:50:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail8.aweber.com (mail8.aweber.com [207.106.200.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12FoKTh014451 for <1435@emacsbugs.donarmstrong.com>; Mon, 2 Feb 2009 07:50:21 -0800 Received: from jasons.ofc.lair (unknown [75.147.74.137]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail8.aweber.com (Postfix) with ESMTP id 54CCE8124; Mon, 2 Feb 2009 10:50:14 -0500 (EST) Cc: 1435@debbugs.gnu.org Message-Id: <74F77640-8D71-461F-82F5-A5EF2280FB4F@aweber.com> From: Jason Schadel To: Adrian Robert In-Reply-To: <28CB4C8B-7EAD-45A4-9840-2CCD2C8167EE@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: C-Click on a mode in the mode-line causes crash in MacOS X Date: Mon, 2 Feb 2009 10:50:13 -0500 References: <28CB4C8B-7EAD-45A4-9840-2CCD2C8167EE@gmail.com> X-Mailer: Apple Mail (2.930.3) I do have a Kensington Expert Mouse with their ancient Mouseworks software installed. I wouldn't be surprised if that is the problem. No more crashes with your update. Here are the results: is undefined mode-line down-mouse-3- shows the minor-mode menu mode-line down-mouse-1- shows the mode menu -Jason On Jan 23, 2009, at 5:32 AM, Adrian Robert wrote: > I still cannot reproduce it. The only clue I can find is that the > crash seems to be deep inside OS X's own menu code, when it > apparently tries to send a selection to -[EmacsView > writeSelectionToPasteboard:types:]. This should only occur if a > native services menu selection is made, however for Emacs.app we > override the services menu with our own items, so any selection from > the actual visible services menu goes through ns-perform-service. > > In your case, it seems doing your mouse action is somehow triggering > a call into the (hidden and overridden) original services menu. Do > you know why this might be? Do you have anything unusual running on > your Mac, such as something that automatically is active when a > selection is made or a menu item chosen, or a certain type of mouse- > click made, or something like that? > > Anyway, I have checked in something that might at least avoid the > crash for now, it simply stubs out the methods in question: > > -writeSelectionToPasteboard:types: and -readSelectionFromPasteboard: > > Let me know if this stops the crash, and if so, if any behavior that > is normally expected (in connection with this behind-the-scenes > service call if you know what it is) is not observed. > > thanks, > Adrian > From adrian.b.robert@gmail.com Mon Feb 2 15:37:10 2009 Received: (at control) by emacsbugs.donarmstrong.com; 2 Feb 2009 23:37:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12Nb73D002268 for ; Mon, 2 Feb 2009 15:37:08 -0800 Received: by ug-out-1314.google.com with SMTP id u2so1423uge.14 for ; Mon, 02 Feb 2009 15:37:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=DZ+q4Y0MUUz8f1FHni5yEbXnVpAT4vxCG/J8oE3rMYc=; b=X0wKjUxD6MtySV77NbrfXvJJnypQYOuo9KukfuFtD5QXIHyx7mjELF1Q8IBmVh4YwI 28f9v4l/VLWqXhPknsd6kNfFwbv3hCqTYZPcHhl1MvDxjXoG4qiMY6JeX5io1Zht6NUn 8JXAlOvSC4OO2gMNiTTkBFQESoCI7mozMMigE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=Kxoh5Z8StH7WMYgknLuKdh8AEWAmacDBH+9YrUvJHgKEtH8DYc2lXHw67W53CTHs0o oaMdjOgBBdjf6KYAKx2e0GoNIpHSaXGBmbRrhGrHkQ6SfbPGwETWGdKZRjQaawkmz9KC RiIUxCoxPhbs9Qe0txapU8JLlkvlMGec9dTpw= Received: by 10.67.15.15 with SMTP id s15mr1798507ugi.39.1233617826462; Mon, 02 Feb 2009 15:37:06 -0800 (PST) Received: from ?10.20.48.222? (gw1.panoulu.net [212.50.147.101]) by mx.google.com with ESMTPS id u7sm304468uge.47.2009.02.02.15.37.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Feb 2009 15:37:05 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: control@debbugs.gnu.org From: Adrian Robert Subject: Date: Tue, 3 Feb 2009 01:37:14 +0200 X-Mailer: Apple Mail (2.753.1) reassign 1555 ns close 1435 close 1687 From unknown Sat Jun 21 10:30:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Tue, 03 Mar 2009 15:24:05 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator