On Sep 5, 2009, at 1:28 PM, David Reitter wrote: > Again: would it be possible to mix and merge parts of the ports, > e.g. use YM's event handling code, which is possibly (!) superior? > I have seen a number of unexplained crashes with the Nextstep port > which usually occur somewhere in the event handling code. I don't > know if this is the possible bug that Yamamoto-san pointed out a few > times. Below is one of these crashes. Another one that I experienced also happened in ns_read_socket + 769. Process: Aquamacs [2313] Path: /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/MacOS/ Aquamacs Identifier: org.gnu.AquamacsEmacs Version: 23 (???) Code Type: X86 (Native) Parent Process: launchd [186] Date/Time: 2009-09-08 14:40:06.587 -0400 OS Version: Mac OS X 10.6 (10A432) Report Version: 6 Interval Since Last Report: 37275 sec Crashes Since Last Report: 1 Per-App Interval Since Last Report: 405898 sec Per-App Crashes Since Last Report: 1 Anonymous UUID: 91FCF483-3023-4F2A-952D-036B2116B80B Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_INVALID_ADDRESS at 0x000000004020000d Crashed Thread: 0 Dispatch queue: com.apple.main-thread Application Specific Information: abort() called Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0x9779b972 __kill + 10 1 libSystem.B.dylib 0x9779b964 kill$UNIX2003 + 32 2 org.gnu.AquamacsEmacs 0x000c3651 fatal_error_signal + 446 3 libSystem.B.dylib 0x977a0bfb _sigtramp + 43 4 ??? 0xffffffff 0 + 4294967295 5 libSystem.B.dylib 0x9782eba5 raise + 26 6 libSystem.B.dylib 0x97844c5c abort + 93 7 org.gnu.AquamacsEmacs 0x001f5634 ns_term_shutdown + 118 8 org.gnu.AquamacsEmacs 0x000c5e88 shut_down_emacs + 282 9 org.gnu.AquamacsEmacs 0x000c35ee fatal_error_signal + 347 10 libSystem.B.dylib 0x977a0bfb _sigtramp + 43 11 ??? 0xffffffff 0 + 4294967295 12 com.apple.Foundation 0x94072acc __delayedPerformCleanup + 59 13 com.apple.CoreFoundation 0x97455f22 CFRunLoopTimerInvalidate + 786 14 com.apple.CoreFoundation 0x9741119b __CFRunLoopRun + 7531 15 com.apple.CoreFoundation 0x9740ed34 CFRunLoopRunSpecific + 452 16 com.apple.CoreFoundation 0x9740eb61 CFRunLoopRunInMode + 97 17 com.apple.HIToolbox 0x97e39fec RunCurrentEventLoopInMode + 392 18 com.apple.HIToolbox 0x97e39cdf ReceiveNextEventCommon + 158 19 com.apple.HIToolbox 0x97e39c28 BlockUntilNextEventMatchingListInMode + 81 20 com.apple.AppKit 0x92937b99 _DPSNextEvent + 847 21 com.apple.AppKit 0x9293740e -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156 22 com.apple.AppKit 0x928f95fb -[NSApplication run] + 821 23 org.gnu.AquamacsEmacs 0x001f2391 ns_read_socket + 769 24 org.gnu.AquamacsEmacs 0x000d37b0 read_avail_input + 165 25 org.gnu.AquamacsEmacs 0x000d35fa gobble_input + 176 26 org.gnu.AquamacsEmacs 0x000d3505 get_input_pending + 125 27 org.gnu.AquamacsEmacs 0x000db253 detect_input_pending_run_timers + 64 28 org.gnu.AquamacsEmacs 0x000cb84b read_char + 1295 29 org.gnu.AquamacsEmacs 0x000d7bda read_key_sequence + 2649 30 org.gnu.AquamacsEmacs 0x000c8520 command_loop_1 + 1198 31 org.gnu.AquamacsEmacs 0x00167030 internal_condition_case + 304 32 org.gnu.AquamacsEmacs 0x000c7ca2 command_loop_2 + 53 33 org.gnu.AquamacsEmacs 0x001669c1 internal_catch + 215 34 org.gnu.AquamacsEmacs 0x000c7c2b command_loop + 207 35 org.gnu.AquamacsEmacs 0x000c71ff recursive_edit_1 + 181 36 org.gnu.AquamacsEmacs 0x000c7408 Frecursive_edit + 323 37 org.gnu.AquamacsEmacs 0x000c5710 main + 6412 38 org.gnu.AquamacsEmacs 0x00002a16 start + 54 Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x9776110a kevent + 10 1 libSystem.B.dylib 0x97761824 _dispatch_mgr_invoke + 215 2 libSystem.B.dylib 0x97760ce1 _dispatch_queue_invoke + 163 3 libSystem.B.dylib 0x97760a86 _dispatch_worker_thread2 + 234 4 libSystem.B.dylib 0x97760511 _pthread_wqthread + 390 5 libSystem.B.dylib 0x97760356 start_wqthread + 30 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x000c34a0 ecx: 0xbfffd55c edx: 0x9779b972 edi: 0x105fa580 esi: 0x00000006 ebp: 0xbfffd578 esp: 0xbfffd55c ss: 0x0000001f efl: 0x00000286 eip: 0x9779b972 cs: 0x00000007 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x0076f000