From: Ken M. <ken...@sp...> - 2010-06-30 23:50:03
|
Upgrading to the latest CVS version of tcl, and the latest CVS version of the Thread package, seems to have resolved the problem. On 30-Jun-10, at 3:45 PM, Ken Mackay wrote: > I got some slightly different crash output. Another possibly useful > piece of information is that the crash only seems to occur on OS X > 10.6 (tcl version 8.5.7) - it never happens on 10.5 or 10.4 (tcl > version 8.4.7). > > Process: tclsh8.5 [76013] > Path: /System/Library/Frameworks/Tcl.framework/Versions/ > 8.5/tclsh8.5 > Identifier: tclsh8.5 > Version: ??? (???) > Code Type: X86-64 (Native) > Parent Process: tclsh8.5 [76012] > > Date/Time: 2010-06-30 15:36:33.386 -0700 > OS Version: Mac OS X 10.6.3 (10D573) > Report Version: 6 > > Exception Type: EXC_BAD_ACCESS (SIGSEGV) > Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 > Crashed Thread: 2 > > Thread 0: Dispatch queue: com.apple.libdispatch-manager > 0 libSystem.B.dylib 0x00007fff863d04ea kevent + 10 > 1 libSystem.B.dylib 0x00007fff863d23bd > _dispatch_mgr_invoke + 154 > 2 libSystem.B.dylib 0x00007fff863d2094 > _dispatch_queue_invoke + 185 > 3 libSystem.B.dylib 0x00007fff863d1bbe > _dispatch_worker_thread2 + 252 > 4 libSystem.B.dylib 0x00007fff863d14e8 > _pthread_wqthread + 353 > 5 libSystem.B.dylib 0x00007fff863d1385 > start_wqthread + 13 > > Thread 1: > 0 libSystem.B.dylib 0x00007fff863d130a > __workq_kernreturn + 10 > 1 libSystem.B.dylib 0x00007fff863d171c > _pthread_wqthread + 917 > 2 libSystem.B.dylib 0x00007fff863d1385 > start_wqthread + 13 > > Thread 2 Crashed: > 0 libSystem.B.dylib 0x00007fff863bce04 > pthread_mutex_unlock + 19 > 1 Tcl 0x000000010004b046 > Tcl_FinalizeThread + 77 > 2 Tcl 0x00000001000928f1 > Tcl_ExitThread + 16 > 3 libthread2.6.6.dylib 0x00000001001cad6f > TpoolWorker + 912 > 4 libSystem.B.dylib 0x00007fff863f08b6 > _pthread_start + 331 > 5 libSystem.B.dylib 0x00007fff863f0769 > thread_start + 13 > > Thread 2 crashed with X86 Thread State (64-bit): > rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: > 0x0000000000000000 rdx: 0x00000001000edcd8 > rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: > 0x0000000100786e10 rsp: 0x0000000100786e00 > r8: 0x00000001000ed6a8 r9: 0x0000000100500080 r10: > 0x00000001005003d0 r11: 0x0000000000000002 > r12: 0x00000001010a8f90 r13: 0x0000000100b40810 r14: > 0x00000001001d1260 r15: 0x0000000100b40848 > rip: 0x00007fff863bce04 rfl: 0x0000000000010206 cr2: > 0x0000000000000000 > > > > > Process: tclsh8.5 [75513] > Path: /System/Library/Frameworks/Tcl.framework/Versions/ > 8.5/tclsh8.5 > Identifier: tclsh8.5 > Version: ??? (???) > Code Type: X86-64 (Native) > Parent Process: tclsh8.5 [75511] > > Date/Time: 2010-06-30 15:34:29.767 -0700 > OS Version: Mac OS X 10.6.3 (10D573) > Report Version: 6 > > Exception Type: EXC_CRASH (SIGABRT) > Exception Codes: 0x0000000000000000, 0x0000000000000000 > Crashed Thread: 3 > > Application Specific Information: > abort() called > > Thread 0: Dispatch queue: com.apple.main-thread > 0 libSystem.B.dylib 0x00007fff863c9d39 > pthread_key_delete + 82 > 1 Tcl 0x00000001000a90cd > Tcl_MutexUnlock + 191 > 2 Tcl 0x000000010004b31f > Tcl_Finalize + 249 > 3 Tcl 0x000000010004b414 Tcl_Exit > + 89 > 4 Tcl 0x000000010001c0c1 > Tcl_Alloc + 8021 > 5 Tcl 0x0000000100016559 > Tcl_CreateInterp + 4820 > 6 Tcl 0x000000010004e2eb > TclStackAlloc + 6637 > 7 Tcl 0x0000000100054fae > TclStackAlloc + 34480 > 8 Tcl 0x0000000100017ad7 > TclEvalObjEx + 714 > 9 Tcl 0x000000010007339c Tcl_Main > + 2237 > 10 tclsh 0x00000001000019d0 > 0x100000000 + 6608 > 11 tclsh 0x0000000100001978 > 0x100000000 + 6520 > > Thread 1: Dispatch queue: com.apple.libdispatch-manager > 0 libSystem.B.dylib 0x00007fff863d04ea kevent + 10 > 1 libSystem.B.dylib 0x00007fff863d23bd > _dispatch_mgr_invoke + 154 > 2 libSystem.B.dylib 0x00007fff863d2094 > _dispatch_queue_invoke + 185 > 3 libSystem.B.dylib 0x00007fff863d1bbe > _dispatch_worker_thread2 + 252 > 4 libSystem.B.dylib 0x00007fff863d14e8 > _pthread_wqthread + 353 > 5 libSystem.B.dylib 0x00007fff863d1385 > start_wqthread + 13 > > Thread 2: > 0 libSystem.B.dylib 0x00007fff863fb286 select > $DARWIN_EXTSN + 10 > 1 Tcl 0x00000001000abd86 > Tcl_InitNotifier + 1520 > 2 libSystem.B.dylib 0x00007fff863f08b6 > _pthread_start + 331 > 3 libSystem.B.dylib 0x00007fff863f0769 > thread_start + 13 > > Thread 3 Crashed: > 0 libSystem.B.dylib 0x00007fff8642a01e > __semwait_signal_nocancel + 10 > 1 libSystem.B.dylib 0x00007fff86429f20 nanosleep > $NOCANCEL + 129 > 2 libSystem.B.dylib 0x00007fff86486902 usleep > $NOCANCEL + 57 > 3 libSystem.B.dylib 0x00007fff864a5eb8 abort + 93 > 4 Tcl 0x000000010007cbb8 > Tcl_Panic + 0 > 5 Tcl 0x000000010007cc5a > Tcl_Panic + 162 > 6 Tcl 0x0000000100059dbe > Tcl_DeleteHashTable + 250 > 7 Tcl 0x0000000100093a2f > TclpRealloc + 1006 > 8 Tcl 0x0000000100093b2e > TclpRealloc + 1261 > 9 Tcl 0x0000000100092b84 > Tcl_GetThreadData + 31 > 10 Tcl 0x000000010007bd36 > TclFreeObj + 101 > 11 Tcl 0x0000000100086689 > TclProcCleanupProc + 42 > 12 Tcl 0x0000000100013124 > Tcl_DeleteCommandFromToken + 187 > 13 Tcl 0x00000001000749f7 > TclTeardownNamespace + 70 > 14 Tcl 0x0000000100013d5e > Tcl_DeleteInterp + 209 > 15 libthread2.6.6.dylib 0x00000001001cad64 > TpoolWorker + 901 > 16 libSystem.B.dylib 0x00007fff863f08b6 > _pthread_start + 331 > 17 libSystem.B.dylib 0x00007fff863f0769 > thread_start + 13 > > Thread 4: > 0 libSystem.B.dylib 0x00007fff863b7796 > semaphore_wait_trap + 10 > 1 libSystem.B.dylib 0x00007fff863bcd2e > pthread_mutex_lock + 534 > 2 Tcl 0x0000000100085ff6 > Tcl_EventuallyFree + 31 > 3 Tcl 0x00000001000747d2 > Tcl_SetEnsembleMappingDict + 737 > 4 Tcl 0x0000000100013124 > Tcl_DeleteCommandFromToken + 187 > 5 Tcl 0x00000001000749f7 > TclTeardownNamespace + 70 > 6 Tcl 0x0000000100013d5e > Tcl_DeleteInterp + 209 > 7 libthread2.6.6.dylib 0x00000001001cad64 > TpoolWorker + 901 > 8 libSystem.B.dylib 0x00007fff863f08b6 > _pthread_start + 331 > 9 libSystem.B.dylib 0x00007fff863f0769 > thread_start + 13 > > Thread 3 crashed with X86 Thread State (64-bit): > rax: 0x000000000000003c rbx: 0x0000000100703ae0 rcx: > 0x0000000100703a98 rdx: 0x0000000000000001 > rdi: 0x0000000000000c03 rsi: 0x0000000000000000 rbp: > 0x0000000100703ad0 rsp: 0x0000000100703a98 > r8: 0x0000000000000000 r9: 0x0000000000989680 r10: > 0x0000000000000001 r11: 0x0000000000000246 > r12: 0x0000000000000000 r13: 0x00000001000b66b7 r14: > 0x00000001000b669c r15: 0x0000000000000021 > rip: 0x00007fff8642a01e rfl: 0x0000000000000247 cr2: > 0x00007fff70d36b50 > > > -Ken > > |