[M3devel] I386_DARWIN Juno crash/hang head

Tony Hosking hosking at cs.purdue.edu
Sun Dec 6 20:23:33 CET 2009


Please report back how things behave with the latest commit...

On 6 Dec 2009, at 09:48, Jay K wrote:

> Drat. I've now seen I386_DARWIN head Juno crash and hang, once each (not in a debugger).
> 
> Here is the second crash
> 
> (gdb) r
> Starting program: /Users/jay/cm3/bin/Juno 
> Reading symbols for shared libraries +++++++++++++++++++++++..... done
> 
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x00b4dc30
> [Switching to process 79884 thread 0x29b7]
> 0x01710774 in ?? ()
> (gdb) bt
> #0  0x01710774 in ?? ()
> #1  0xb038cf28 in ?? ()
> Previous frame inner to this frame (gdb could not unwind past this frame)
> (g
> 
> 
> (gdb) thread apply all bt
> 
> Thread 9 (process 79884 thread 0x27bf):
> #0  0x968782ce in semaphore_wait_signal_trap ()
> #1  0x9687fda5 in pthread_mutex_lock ()
> #2  0x00b514eb in ThreadPThread__pthread_mutex_lock ()
> #3  0x00b509ab in RTOS__LockHeap () at ../src/thread/PTHREAD/ThreadPThread.m3:1359
> #4  0x00b38dd9 in RTHooks__CheckLoadTracedRef (M3_Af40ku_ref=0x21bc434) at ../src/runtime/common/RTCollector.m3:2229
> #5  0x00b4d9d8 in ThreadPThread__RunThread (M3_DMxDjQ_me=0x172b270) at ../src/thread/PTHREAD/ThreadPThread.m3:482
> #6  0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x172b270) at ../src/thread/PTHREAD/ThreadPThread.m3:461
> #7  0x968a9155 in _pthread_start ()
> #8  0x968a9012 in thread_start ()
> 
> Thread 8 (process 79884 thread 0x29b7):
> #0  0x01710774 in ?? ()
> #1  0xb038cf28 in ?? ()
> Previous frame inner to this frame (gdb could not unwind past this frame)
> 
> Thread 7 (process 79884 thread 0x2603):
> #0  0x9687f46e in __semwait_signal ()
> #1  0x968aa3e6 in _pthread_cond_wait ()
> #2  0x968a9dcd in pthread_cond_wait$UNIX2003 ()
> #3  0x00b51431 in ThreadPThread__pthread_cond_wait ()
> #4  0x00b4bfdc in ThreadPThread__XWait (M3_DMxDjQ_self=0x1712000, M3_AYIbX3_m=0x210a134, M3_Bl0jv4_c=0x210a4ac, M3_AicXUJ_alertable=0 '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:183
> #5  0x00b4c0e8 in Thread__Wait (M3_AYIbX3_m=0x210a134, M3_Bl0jv4_c=0x210a4ac) at ../src/thread/PTHREAD/ThreadPThread.m3:204
> #6  0x005d45b5 in XMessenger__Messenger (M3_EVlqQO_self=0x210bd3c) at ../src/xvbt/XMessenger.m3:69
> #7  0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x1712000) at ../src/thread/PTHREAD/ThreadPThread.m3:487
> #8  0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x1712000) at ../src/thread/PTHREAD/ThreadPThread.m3:461
> #9  0x968a9155 in _pthread_start ()
> #10 0x968a9012 in thread_start ()
> 
> Thread 6 (process 79884 thread 0x2507):
> #0  0x9687f46e in __semwait_signal ()
> #1  0x968aa3e6 in _pthread_cond_wait ()
> #2  0x968a9dcd in pthread_cond_wait$UNIX2003 ()
> #3  0x00b51431 in ThreadPThread__pthread_cond_wait ()
> #4  0x00b4bfdc in ThreadPThread__XWait (M3_DMxDjQ_self=0x1711f50, M3_AYIbX3_m=0x210a134, M3_Bl0jv4_c=0x210a4cc, M3_AicXUJ_alertable=0 '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:183
> #5  0x00b4c0e8 in Thread__Wait (M3_AYIbX3_m=0x210a134, M3_Bl0jv4_c=0x210a4cc) at ../src/thread/PTHREAD/ThreadPThread.m3:204
> #6  0x005e0f48 in XInput__FilterXInput (M3_DSd60P_self=0x210bd00) at ../src/xvbt/XInput.m3:102
> #7  0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x1711f50) at ../src/thread/PTHREAD/ThreadPThread.m3:487
> #8  0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x1711f50) at ../src/thread/PTHREAD/ThreadPThread.m3:461
> #9  0x968a9155 in _pthread_start ()
> #10 0x968a9012 in thread_start ()
> 
> Thread 5 (process 79884 thread 0x240f):
> #0  0x968c76fa in select$DARWIN_EXTSN ()
> #1  0x00b524c3 in Unix__select ()
> #2  0x00b4ed8e in ThreadPThread__XIOWait__CallSelect.1129 (M3_Cwb5VA_nfd=4, M3_A4bqCj_timeout=0x0) at ../src/thread/PTHREAD/ThreadPThread.m3:693
> #3  0x00b4eacf in ThreadPThread__XIOWait (M3_DMxDjQ_self=0x1711ea0, M3_Cwb5VA_fd=3, M3_AicXUJ_read=1 '\001', M3_CtKayy_interval=-1, M3_AicXUJ_alertable=0 '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:732
> #4  0x00b4e5d2 in SchedulerPosix__IOWait (M3_Cwb5VA_fd=3, M3_AicXUJ_read=1 '\001', M3_CtKayy_timeoutInterval=-1) at ../src/thread/PTHREAD/ThreadPThread.m3:635
> #5  0x005e0c1d in XInput__WaitForXInput (M3_Bkyxhg_self=0x210bcc4) at ../src/xvbt/XInput.m3:63
> #6  0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x1711ea0) at ../src/thread/PTHREAD/ThreadPThread.m3:487
> #7  0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x1711ea0) at ../src/thread/PTHREAD/ThreadPThread.m3:461
> #8  0x968a9155 in _pthread_start ()
> #9  0x968a9012 in thread_start ()
> 
> Thread 4 (process 79884 thread 0x2303):
> #0  0x9687f46e in __semwait_signal ()
> #1  0x968aa3e6 in _pthread_cond_wait ()
> #2  0x968cf9f8 in pthread_cond_timedwait$UNIX2003 ()
> #3  0x00b51452 in ThreadPThread__pthread_cond_timedwait ()
> #4  0x00b4e3a7 in ThreadPThread__XPause (M3_DMxDjQ_self=0x1710550, M3_CtKayy_n=1, M3_AicXUJ_alertable=0 '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:591
> #5  0x00b4e481 in Thread__Pause (M3_CtKayy_n=1) at ../src/thread/PTHREAD/ThreadPThread.m3:606
> #6  0x003d3251 in FileBrowserVBT__Watcher (M3_EMTrVz_cl=0x2040ea0) at ../src/lego/FileBrowserVBT.m3:259
> #7  0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x1710550) at ../src/thread/PTHREAD/ThreadPThread.m3:487
> #8  0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x1710550) at ../src/thread/PTHREAD/ThreadPThread.m3:461
> #9  0x968a9155 in _pthread_start ()
> #10 0x968a9012 in thread_start ()
> 
> Thread 3 (process 79884 thread 0x2203):
> #0  0x9687f46e in __semwait_signal ()
> #1  0x968aa3e6 in _pthread_cond_wait ()
> #2  0x968a9dcd in pthread_cond_wait$UNIX2003 ()
> #3  0x00b51431 in ThreadPThread__pthread_cond_wait ()
> #4  0x00b4bfdc in ThreadPThread__XWait (M3_DMxDjQ_self=0x1710430, M3_AYIbX3_m=0x200c3cc, M3_Bl0jv4_c=0x200c3d8, M3_AicXUJ_alertable=0 '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:183
> #5  0x00b4c0e8 in Thread__Wait (M3_AYIbX3_m=0x200c3cc, M3_Bl0jv4_c=0x200c3d8) at ../src/thread/PTHREAD/ThreadPThread.m3:204
> #6  0x0045691e in VTView__VFontCleanUpThread (M3_EMTrVz_cl=0x200c3e8) at ../src/vtext/VTView.m3:111
> #7  0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x1710430) at ../src/thread/PTHREAD/ThreadPThread.m3:487
> #8  0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x1710430) at ../src/thread/PTHREAD/ThreadPThread.m3:461
> #9  0x968a9155 in _pthread_start ()
> #10 0x968a9012 in thread_start ()
> 
> Thread 2 (process 79884 thread 0x1003):
> #0  0x9687f46e in __semwait_signal ()
> #1  0x968aa3e6 in _pthread_cond_wait ()
> #2  0x968cf9f8 in pthread_cond_timedwait$UNIX2003 ()
> #3  0x00b51452 in ThreadPThread__pthread_cond_timedwait ()
> #4  0x00b4e3a7 in ThreadPThread__XPause (M3_DMxDjQ_self=0x17100d0, M3_CtKayy_n=0.050000000000000003, M3_AicXUJ_alertable=0 '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:591
> #5  0x00b4e481 in Thread__Pause (M3_CtKayy_n=0.050000000000000003) at ../src/thread/PTHREAD/ThreadPThread.m3:606
> #6  0x0061c291 in VBTRep__MeterMaid (M3_EMTrVz_self=0x20079c0) at ../src/vbt/VBTRep.m3:460
> #7  0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x17100d0) at ../src/thread/PTHREAD/ThreadPThread.m3:487
> #8  0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x17100d0) at ../src/thread/PTHREAD/ThreadPThread.m3:461
> #9  0x968a9155 in _pthread_start ()
> #10 0x968a9012 in thread_start ()
> 
> Thread 1 (process 79884 local thread 0x2e03):
> #0  0x968782ce in semaphore_wait_signal_trap ()
> #1  0x9687fda5 in pthread_mutex_lock ()
> #2  0x00b514eb in ThreadPThread__pthread_mutex_lock ()
> #3  0x00b509ab in RTOS__LockHeap () at ../src/thread/PTHREAD/ThreadPThread.m3:1359
> #4  0x00b387b9 in RTHeapRep__RegisterFinalCleanup (M3_Af40ku_r=0x224bd68, M3_Dr08L6_p=0xb4b902) at ../src/runtime/common/RTCollector.m3:2148
> #5  0x00b4ba9a in ThreadPThread__InitMutex (M3_BIFvRV_m=0x224bd6c, M3_Af40ku_root=0x224bd68, M3_Cg3DND_Clean=0xb4b902) at ../src/thread/PTHREAD/ThreadPThread.m3:108
> #6  0x00b4bb12 in ThreadPThread__LockMutex (M3_AYIbX3_m=0x224bd68) at ../src/thread/PTHREAD/ThreadPThread.m3:118
> #7  0x0041866a in TextPort__SetText (M3_EBA4wo_v=0x224bcc4, M3_Bd56fi_t=0x2249cc4) at ../src/etext/TextPort.m3:213
> #8  0x000242c0 in Editor__Init (M3_ALfX9C_tp=0x224bcc4, M3_Bd56fi_src=0x2249cc4, M3_AicXUJ_readOnly=1 '\001') at ../src/Editor.m3:98
> #9  0x0004c4da in Juno__CompileModule (M3_BtMpDB_w=0x20a6f78, M3_Bd56fi_mod=0x2187bfc, M3_EkTcCb_rd=0x2247cc4, M3_AicXUJ_augment=0 '\0') at ../src/Juno.m3:168
> #10 0x0004d134 in Juno__CompileModules (M3_BtMpDB_w=0x20a6f78, M3_EkTcCb_rd=0x219f5a4, M3_Al6NTd_modList=0xbffff884, M3_AicXUJ_fromRsrc=1 '\001') at ../src/Juno.m3:263
> #11 0x0005e026 in Juno_M3 (M3_AcxOUs_mode=1) at ../src/Juno.m3:2134
> #12 0x00b3cdb1 in RTLinker__RunMainBody (M3_DjPxE3_m=0x6fe40) at ../src/runtime/common/RTLinker.m3:399
> #13 0x00b3c20d in RTLinker__AddUnitI (M3_DjPxE3_m=0x6fe40) at ../src/runtime/common/RTLinker.m3:113
> #14 0x00b3c28f in RTLinker__AddUnit (M3_DjPxE5_b=0x5b5cb) at ../src/runtime/common/RTLinker.m3:122
> #15 0x00007f4a in main (argc=1, argv=0xbffffa6c, envp=0xbffffa74) at _m3main.mc:4
> 
> 
> 
>  - Jay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091206/0ffb4402/attachment-0002.html>


More information about the M3devel mailing list