<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I also saw I386_DARWIN Juno<br><br>FreeSlot: z=0x2141c94 t=0xb038ced0 n_slotted=7 slots=0xb7909c t.act=0x22b8010 t.act.slot=14<br><br><br>***<br>*** runtime error:<br>*** Thread client error: unslotted thread!<br>*** file "../src/thread/PTHREAD/ThreadPThread.m3", line 364<br>***<br><br>What I'll probably do over the next few days is test more PPC_DARWIN, LINUXLIBC6, Solaris, maybe some BSD, see where it occurs.<br><br> - Jay<br><br><hr id="stopSpelling">From: jay.krell@cornell.edu<br>To: hosking@cs.purdue.edu; m3devel@elegosoft.com<br>Date: Sun, 6 Dec 2009 14:48:22 +0000<br>Subject: [M3devel] I386_DARWIN Juno crash/hang head<br><br>
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>
Drat. I've now seen I386_DARWIN head Juno crash and hang, once each (not in a debugger).<br><br>Here is the second crash<br><br>(gdb) r<br>Starting program: /Users/jay/cm3/bin/Juno <br>Reading symbols for shared libraries +++++++++++++++++++++++..... done<br><br>Program received signal EXC_BAD_ACCESS, Could not access memory.<br>Reason: KERN_PROTECTION_FAILURE at address: 0x00b4dc30<br>[Switching to process 79884 thread 0x29b7]<br>0x01710774 in ?? ()<br>(gdb) bt<br>#0 0x01710774 in ?? ()<br>#1 0xb038cf28 in ?? ()<br>Previous frame inner to this frame (gdb could not unwind past this frame)<br>(g<br><br><br>(gdb) thread apply all bt<br><br>Thread 9 (process 79884 thread 0x27bf):<br>#0 0x968782ce in semaphore_wait_signal_trap ()<br>#1 0x9687fda5 in pthread_mutex_lock ()<br>#2 0x00b514eb in ThreadPThread__pthread_mutex_lock ()<br>#3 0x00b509ab in RTOS__LockHeap () at ../src/thread/PTHREAD/ThreadPThread.m3:1359<br>#4 0x00b38dd9 in RTHooks__CheckLoadTracedRef (M3_Af40ku_ref=0x21bc434) at ../src/runtime/common/RTCollector.m3:2229<br>#5 0x00b4d9d8 in ThreadPThread__RunThread (M3_DMxDjQ_me=0x172b270) at ../src/thread/PTHREAD/ThreadPThread.m3:482<br>#6 0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x172b270) at ../src/thread/PTHREAD/ThreadPThread.m3:461<br>#7 0x968a9155 in _pthread_start ()<br>#8 0x968a9012 in thread_start ()<br><br>Thread 8 (process 79884 thread 0x29b7):<br>#0 0x01710774 in ?? ()<br>#1 0xb038cf28 in ?? ()<br>Previous frame inner to this frame (gdb could not unwind past this frame)<br><br>Thread 7 (process 79884 thread 0x2603):<br>#0 0x9687f46e in __semwait_signal ()<br>#1 0x968aa3e6 in _pthread_cond_wait ()<br>#2 0x968a9dcd in pthread_cond_wait$UNIX2003 ()<br>#3 0x00b51431 in ThreadPThread__pthread_cond_wait ()<br>#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<br>#5 0x00b4c0e8 in Thread__Wait (M3_AYIbX3_m=0x210a134, M3_Bl0jv4_c=0x210a4ac) at ../src/thread/PTHREAD/ThreadPThread.m3:204<br>#6 0x005d45b5 in XMessenger__Messenger (M3_EVlqQO_self=0x210bd3c) at ../src/xvbt/XMessenger.m3:69<br>#7 0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x1712000) at ../src/thread/PTHREAD/ThreadPThread.m3:487<br>#8 0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x1712000) at ../src/thread/PTHREAD/ThreadPThread.m3:461<br>#9 0x968a9155 in _pthread_start ()<br>#10 0x968a9012 in thread_start ()<br><br>Thread 6 (process 79884 thread 0x2507):<br>#0 0x9687f46e in __semwait_signal ()<br>#1 0x968aa3e6 in _pthread_cond_wait ()<br>#2 0x968a9dcd in pthread_cond_wait$UNIX2003 ()<br>#3 0x00b51431 in ThreadPThread__pthread_cond_wait ()<br>#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<br>#5 0x00b4c0e8 in Thread__Wait (M3_AYIbX3_m=0x210a134, M3_Bl0jv4_c=0x210a4cc) at ../src/thread/PTHREAD/ThreadPThread.m3:204<br>#6 0x005e0f48 in XInput__FilterXInput (M3_DSd60P_self=0x210bd00) at ../src/xvbt/XInput.m3:102<br>#7 0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x1711f50) at ../src/thread/PTHREAD/ThreadPThread.m3:487<br>#8 0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x1711f50) at ../src/thread/PTHREAD/ThreadPThread.m3:461<br>#9 0x968a9155 in _pthread_start ()<br>#10 0x968a9012 in thread_start ()<br><br>Thread 5 (process 79884 thread 0x240f):<br>#0 0x968c76fa in select$DARWIN_EXTSN ()<br>#1 0x00b524c3 in Unix__select ()<br>#2 0x00b4ed8e in ThreadPThread__XIOWait__CallSelect.1129 (M3_Cwb5VA_nfd=4, M3_A4bqCj_timeout=0x0) at ../src/thread/PTHREAD/ThreadPThread.m3:693<br>#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<br>#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<br>#5 0x005e0c1d in XInput__WaitForXInput (M3_Bkyxhg_self=0x210bcc4) at ../src/xvbt/XInput.m3:63<br>#6 0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x1711ea0) at ../src/thread/PTHREAD/ThreadPThread.m3:487<br>#7 0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x1711ea0) at ../src/thread/PTHREAD/ThreadPThread.m3:461<br>#8 0x968a9155 in _pthread_start ()<br>#9 0x968a9012 in thread_start ()<br><br>Thread 4 (process 79884 thread 0x2303):<br>#0 0x9687f46e in __semwait_signal ()<br>#1 0x968aa3e6 in _pthread_cond_wait ()<br>#2 0x968cf9f8 in pthread_cond_timedwait$UNIX2003 ()<br>#3 0x00b51452 in ThreadPThread__pthread_cond_timedwait ()<br>#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<br>#5 0x00b4e481 in Thread__Pause (M3_CtKayy_n=1) at ../src/thread/PTHREAD/ThreadPThread.m3:606<br>#6 0x003d3251 in FileBrowserVBT__Watcher (M3_EMTrVz_cl=0x2040ea0) at ../src/lego/FileBrowserVBT.m3:259<br>#7 0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x1710550) at ../src/thread/PTHREAD/ThreadPThread.m3:487<br>#8 0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x1710550) at ../src/thread/PTHREAD/ThreadPThread.m3:461<br>#9 0x968a9155 in _pthread_start ()<br>#10 0x968a9012 in thread_start ()<br><br>Thread 3 (process 79884 thread 0x2203):<br>#0 0x9687f46e in __semwait_signal ()<br>#1 0x968aa3e6 in _pthread_cond_wait ()<br>#2 0x968a9dcd in pthread_cond_wait$UNIX2003 ()<br>#3 0x00b51431 in ThreadPThread__pthread_cond_wait ()<br>#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<br>#5 0x00b4c0e8 in Thread__Wait (M3_AYIbX3_m=0x200c3cc, M3_Bl0jv4_c=0x200c3d8) at ../src/thread/PTHREAD/ThreadPThread.m3:204<br>#6 0x0045691e in VTView__VFontCleanUpThread (M3_EMTrVz_cl=0x200c3e8) at ../src/vtext/VTView.m3:111<br>#7 0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x1710430) at ../src/thread/PTHREAD/ThreadPThread.m3:487<br>#8 0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x1710430) at ../src/thread/PTHREAD/ThreadPThread.m3:461<br>#9 0x968a9155 in _pthread_start ()<br>#10 0x968a9012 in thread_start ()<br><br>Thread 2 (process 79884 thread 0x1003):<br>#0 0x9687f46e in __semwait_signal ()<br>#1 0x968aa3e6 in _pthread_cond_wait ()<br>#2 0x968cf9f8 in pthread_cond_timedwait$UNIX2003 ()<br>#3 0x00b51452 in ThreadPThread__pthread_cond_timedwait ()<br>#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<br>#5 0x00b4e481 in Thread__Pause (M3_CtKayy_n=0.050000000000000003) at ../src/thread/PTHREAD/ThreadPThread.m3:606<br>#6 0x0061c291 in VBTRep__MeterMaid (M3_EMTrVz_self=0x20079c0) at ../src/vbt/VBTRep.m3:460<br>#7 0x00b4db0e in ThreadPThread__RunThread (M3_DMxDjQ_me=0x17100d0) at ../src/thread/PTHREAD/ThreadPThread.m3:487<br>#8 0x00b4d823 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x17100d0) at ../src/thread/PTHREAD/ThreadPThread.m3:461<br>#9 0x968a9155 in _pthread_start ()<br>#10 0x968a9012 in thread_start ()<br><br>Thread 1 (process 79884 local thread 0x2e03):<br>#0 0x968782ce in semaphore_wait_signal_trap ()<br>#1 0x9687fda5 in pthread_mutex_lock ()<br>#2 0x00b514eb in ThreadPThread__pthread_mutex_lock ()<br>#3 0x00b509ab in RTOS__LockHeap () at ../src/thread/PTHREAD/ThreadPThread.m3:1359<br>#4 0x00b387b9 in RTHeapRep__RegisterFinalCleanup (M3_Af40ku_r=0x224bd68, M3_Dr08L6_p=0xb4b902) at ../src/runtime/common/RTCollector.m3:2148<br>#5 0x00b4ba9a in ThreadPThread__InitMutex (M3_BIFvRV_m=0x224bd6c, M3_Af40ku_root=0x224bd68, M3_Cg3DND_Clean=0xb4b902) at ../src/thread/PTHREAD/ThreadPThread.m3:108<br>#6 0x00b4bb12 in ThreadPThread__LockMutex (M3_AYIbX3_m=0x224bd68) at ../src/thread/PTHREAD/ThreadPThread.m3:118<br>#7 0x0041866a in TextPort__SetText (M3_EBA4wo_v=0x224bcc4, M3_Bd56fi_t=0x2249cc4) at ../src/etext/TextPort.m3:213<br>#8 0x000242c0 in Editor__Init (M3_ALfX9C_tp=0x224bcc4, M3_Bd56fi_src=0x2249cc4, M3_AicXUJ_readOnly=1 '\001') at ../src/Editor.m3:98<br>#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<br>#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<br>#11 0x0005e026 in Juno_M3 (M3_AcxOUs_mode=1) at ../src/Juno.m3:2134<br>#12 0x00b3cdb1 in RTLinker__RunMainBody (M3_DjPxE3_m=0x6fe40) at ../src/runtime/common/RTLinker.m3:399<br>#13 0x00b3c20d in RTLinker__AddUnitI (M3_DjPxE3_m=0x6fe40) at ../src/runtime/common/RTLinker.m3:113<br>#14 0x00b3c28f in RTLinker__AddUnit (M3_DjPxE5_b=0x5b5cb) at ../src/runtime/common/RTLinker.m3:122<br>#15 0x00007f4a in main (argc=1, argv=0xbffffa6c, envp=0xbffffa74) at _m3main.mc:4<br><br><br><br> - Jay<br> </body>
</html>