Hi,

Thanks for the report.  Could you send this in via the emacs internal  
bug reporter so there's a record of it at:

http://emacsbugs.donarmstrong.com/cgi-bin/pkgreport.cgi?package=ns

What should be the behavior with the Ctrl-x Ctrl-c when in a daemon  
client?

Also, are you building with --enable-cocoa-experimental-ctrl-g?  If  
so, please turn it off.  (I guess I will remove it soon, it just  
enables menu crashing -- ctrl-g is detected fine without it.)

thanks,
Adrian


On Feb 1, 2009, at 7:19 PM, İsmail Dönmez wrote:

> Hi,
>
> Sorry if this is known already.
>
>
> How to reproduce :
>
> Create an emacs daemon with emacs --daemon. Create a client gui with
> emacsclient -c and exit it with C-x C-c. Notice that emacs icon is
> still in the dock. Click the emacs icon so the emacs menu shows up.
> Try to click the file menu and Emacs crashes with the following
> backtrace:
>
> Process:         Emacs [10043]
> Path:            /Users/cartman/Applications/Emacs.app/Contents/ 
> MacOS/Emacs
> Identifier:      org.gnu.Emacs
> Version:         Version 23.0.60 (9.0)
> Code Type:       X86 (Native)
> Parent Process:  launchd [1]
>
> Date/Time:       2009-02-01 19:16:30.699 +0200
> OS Version:      Mac OS X 10.5.6 (9G55)
> Report Version:  6
>
> Exception Type:  EXC_BAD_ACCESS (SIGABRT)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
> Crashed Thread:  0
>
> Thread 0 Crashed:
> 0   libSystem.B.dylib                 0x90d04e42 __kill + 10
> 1   org.gnu.Emacs                     0x000919fa fatal_error_signal + 314
> (emacs.c:404)
> 2   libSystem.B.dylib                 0x90d032bb _sigtramp + 43
> 3   ???                               0xffffffff 0 + 4294967295
> 4   libSystem.B.dylib                 0x90d7723a raise + 26
> 5   libSystem.B.dylib                 0x90d83679 abort + 73
> 6   org.gnu.Emacs                     0x0016b505 ns_term_shutdown + 117
> (nsterm.m:4026)
> 7   org.gnu.Emacs                     0x00091a4f fatal_error_signal + 399
> (emacs.c:389)
> 8   libSystem.B.dylib                 0x90d032bb _sigtramp + 43
> 9   ???                               0xffffffff 0 + 4294967295
> 10  com.apple.AppKit                  0x90f9bc30 -[NSMenu _populate:]  
> + 112
> 11  com.apple.AppKit                  0x90f9bb5a  
> AppKitMenuEventHandler + 6608
> 12  com.apple.HIToolbox               0x9712e143
> DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,
> HandlerCallRec*) + 1181
> 13  com.apple.HIToolbox               0x9712d57d
> SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
> HandlerCallRec*) + 405
> 14  com.apple.HIToolbox               0x9712d3e2
> SendEventToEventTargetWithOptions + 58
> 15  com.apple.HIToolbox               0x97171ff9
> SendMenuPopulate(MenuData*, OpaqueEventTargetRef*, unsigned long,
> double) + 257
> 16  com.apple.HIToolbox               0x97186f23
> SendMenuOpening(MenuSelectData*, MenuData*, double, unsigned long,
> __CFDictionary*, unsigned char, unsigned char*) + 237
> 17  com.apple.HIToolbox               0x97186b2f
> DrawTheMenu(MenuSelectData*, __CFArray**, unsigned char, unsigned
> char*) + 231
> 18  com.apple.HIToolbox               0x9718690f
> MenuChanged(MenuSelectData*, unsigned char, unsigned char) + 451
> 19  com.apple.HIToolbox               0x9718576a
> TrackMenuCommon(MenuSelectData&, unsigned char*) + 1418
> 20  com.apple.HIToolbox               0x97181383
> MenuSelectCore(MenuData*, Point, double, unsigned long,
> OpaqueMenuRef**, unsigned short*) + 279
> 21  com.apple.HIToolbox               0x97180ed7 _HandleMenuSelection2  
> + 383
> 22  com.apple.HIToolbox               0x97180d4b _HandleMenuSelection  
> + 53
> 23  com.apple.AppKit                  0x90ed850b  
> _NSHandleCarbonMenuEvent + 244
> 24  com.apple.AppKit                  0x90e3f26a _DPSNextEvent + 1918
> 25  com.apple.AppKit                  0x90e3e630 -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
> 26  com.apple.AppKit                  0x90e3766b -[NSApplication run]  
> + 795
> 27  org.gnu.Emacs                     0x00169783 ns_read_socket + 307
> (nsterm.m:3217)
> 28  org.gnu.Emacs                     0x0009dae1 read_avail_input + 289
> (keyboard.c:7051)
> 29  org.gnu.Emacs                     0x00169b04 ns_select + 404  
> (nsterm.m:3285)
> 30  org.gnu.Emacs                     0x0014e168
> wait_reading_process_output + 1064 (process.c:4811)
> 31  org.gnu.Emacs                     0x0000ce06 sit_for + 214  
> (dispnew.c:6647)
> 32  org.gnu.Emacs                     0x0009f9b1 read_char + 3921  
> (keyboard.c:2921)
> 33  org.gnu.Emacs                     0x000a1c44 read_key_sequence + 884
> (keyboard.c:9400)
> 34  org.gnu.Emacs                     0x000a416a command_loop_1 + 570
> (keyboard.c:1640)
> 35  org.gnu.Emacs                     0x001074cd internal_condition_case
> + 253 (eval.c:1511)
> 36  org.gnu.Emacs                     0x00093cf8 command_loop_2 + 72
> (keyboard.c:1358)
> 37  org.gnu.Emacs                     0x001073ac internal_catch + 172  
> (eval.c:1247)
> 38  org.gnu.Emacs                     0x00093a4e command_loop + 174
> (keyboard.c:1337)
> 39  org.gnu.Emacs                     0x00093b12 recursive_edit_1 + 146
> (keyboard.c:951)
> 40  org.gnu.Emacs                     0x00093c91 Frecursive_edit + 257
> (keyboard.c:1014)
> 41  org.gnu.Emacs                     0x000925d5 main + 2885 (emacs.c: 
> 1855)
> 42  org.gnu.Emacs                     0x00002e16 start + 54
>
> This is using latest CVS.
>
> ---------------------------------------------------------------------- 
> --------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Emacs-app-dev- mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to