[M3devel] FW: Juno on NT (presumably canary for other problems)

Tony Hosking hosking at cs.purdue.edu
Tue Sep 8 18:23:56 CEST 2009


Every thread has a waitCond, which is where we park it when it waits  
on a condition variable.  To alert a thread we can simply signal its  
waitCond.  This avoids having to broadcast on all of the threads  
waiting on a condition just to get the alerted one to notice.   
waitingOn is the M3 CV that it is waiting on, which is where the  
condition wait queue resides.

On 8 Sep 2009, at 12:13, Jay K wrote:

> er..I don't get the waitCond vs. waitingOn. Have to study it more or  
> just wait for your fix.
> Maybe they are meant to be the same??? I don't know.
> (To be clear, with this level of uncertainty, I'm certainly not  
> changing it.)
>
>  - Jay
>
>
> From: jay.krell at cornell.edu
> To: hosking at cs.purdue.edu
> CC: m3devel at elegosoft.com
> Subject: RE: [M3devel] FW: Juno on NT (presumably canary for other  
> problems)
> Date: Tue, 8 Sep 2009 16:09:21 +0000
>
>         WITH r = pthread_cond_wait(self.waitCond, m.mutex) DO
>
>
> self.waitCond should be c or self.waitingOn maybe??
>
>  - Jay
>
>
>
>
> From: jay.krell at cornell.edu
> To: hosking at cs.purdue.edu
> Date: Tue, 8 Sep 2009 16:05:48 +0000
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] FW: Juno on NT (presumably canary for other  
> problems)
>
> Ok I tried Display=:0.0 and xhost +, it works, same hang.
> You don't actually have to do that though, at least on 10.5.
> DISPLAY is set to some magic and X is started up on-demand as needed.
> Except for that SameHost problem..
>
>
>  - Jay
>
>
> From: hosking at cs.purdue.edu
> To: jay.krell at cornell.edu
> Date: Tue, 8 Sep 2009 12:03:05 -0400
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] FW: Juno on NT (presumably canary for other  
> problems)
>
> On 8 Sep 2009, at 11:51, jay.krell at cornell.edu wrote:
>
> That works? $Display gets set to something random looking by  
> default, an actual file, I don't change it. If what you do works my  
> change probably does not affect. See the function SameHost in m3-ui/ 
> ui/xvbt/XSharedMemory.i3. I added the code to predict if the network  
> stuff will succeed or fail since for me it always failed and was  
> fatal.
>
> Yes, it works for me.
>
> PS I think I have found the problem: a thread not waking from a call  
> to wait, even though its condition has been signalled.  A  
> longstanding bug inside XWait I think...  Sigh.
>
>
>  - Jay (phone)
>
> On Sep 8, 2009, at 7:09 AM, Tony Hosking <hosking at cs.purdue.edu>  
> wrote:
>
> What did you change?  I wonder...
>
> To get things to work on Darwin I used to have to do "xhosts +" and  
> set "DISPLAY=:0.0".  Is this no longer the case?
>
> On 8 Sep 2009, at 04:16, Jay K wrote:
>
> Here is a wild wild guess:
>  One thing unusual to Trestle on Darwin, I think, is that it always  
> appears that X client and X server are different machines.
>  Well, er, um, that is how I changed it to be when it was otherwise  
> always going to fail.
>  How did it work previously? However it did work, if those  
> conditions are still present, it still has a chance of working.
>
> Coincidentally or not, the formsedit crashes I have reported are all/ 
> mostly with a separate X client and server.
>
> I'll see if I can induce a hang in the otherwise working LINUXLIBC6  
> by twiddling with this.
>
> The specific change I made in Darwin was in the IsSameHost code.
> Where it would previously hit an unhandled exception, I have it  
> return FALSE.
> I'm pretty sure that using XSharedMemory is "just" an optimization,  
> albeit a very good one.
>
> I looked at little at what the Juno threads are doing..and it  
> doesn't really have to do with gui code.
> libm3/"formatter" is a usual producer/consumer thingy, signal when  
> queue is empty or nonempty.
> We /might/ be able to demonstrate this hang without any of Trestle  
> in the picture. Might.
>
> I haven't looked at Mentor but it looks more complicated below.
> I'll also see if the Juno NT crashes are gone.
> And I'll raise the stack but stack overflow is just another wild  
> guess, right?
>
> On PPC_DARWIN 5.2.6 running on Intel 10.5, Juno often claims stack  
> overflow.
> I raised the stack piecemeal up to 32meg, still overflow. At 64meg  
> it ran out of memory.
>
>  - Jay
>
> From: hosking at cs.purdue.edu
> To: jay.krell at cornell.edu
> Date: Tue, 8 Sep 2009 02:09:28 -0400
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] FW: Juno on NT (presumably canary for other  
> problems)
>
> Here's the hang backtrace for mentor.  Again, all appears normal,  
> except that all the threads are paused or waiting, which is  
> suspicious.  I'm stumped for now.
>
> Thread 21 (process 96727 thread 0x7403):
> #0  0x9634946e in __semwait_signal ()
> #1  0x963492ef in nanosleep$UNIX2003 ()
> #2  0x01022cc4 in ThreadPThread__Nanosleep (req=0xb15d4db0,  
> rem=0xb15d4db8) at ../src/thread/PTHREAD/ThreadPThreadC.c:318
> #3  0x0101fd7c in ThreadPThread__XPause (M3_BXP32l_self=0x1f3f880,  
> M3_CtKayy_n=1, M3_AicXUJ_alertable=0 '\0') at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:668
> #4  0x0101fef3 in Thread__Pause (M3_CtKayy_n=1) at ../src/thread/ 
> PTHREAD/ThreadPThread.m3:685
> #5  0x00bc9cf4 in XClientF__MeterMaid (M3_AS2y1X_cl=0x1f3f870) at ../ 
> src/xvbt/XClientF.m3:105
> #6  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c441d0)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #7  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c441d0) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #8  0x96373155 in _pthread_start ()
> #9  0x96373012 in thread_start ()
>
> Thread 20 (process 96727 thread 0x7103):
> #0  ThreadPThread__XTestAlert (M3_BXP32l_self=0x1e5c134) at ../src/ 
> thread/PTHREAD/ThreadPThread.m3:319
> #1  0x0101fd9b in ThreadPThread__XPause (M3_BXP32l_self=0x1e5c134,  
> M3_CtKayy_n=0.0056863520294427872, M3_AicXUJ_alertable=1 '\001')  
> at ../src/thread/PTHREAD/ThreadPThread.m3:669
> #2  0x01020024 in Thread__AlertPause  
> (M3_CtKayy_n=0.0056863520294427872) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:699
> #3  0x008f9ea1 in Animate__Do (M3_CCfZY3_t=0x1e7e3fc,  
> M3_DsL7Zz_mg=0x0, M3_AdEaVQ_v=0x1e5e0f8, M3_BUucNs_duration=1) at ../ 
> src/Animate.m3:71
> #4  0x00909610 in MGV__Animation (M3_AdEaVQ_v=0x1e5e0f8,  
> M3_BUucNs_duration=1) at ../src/MGV.m3:313
> #5  0x008921f9 in GraphVBT__AnimateGraph (M3_Cj00zi_graph=0x1e5e00c,  
> M3_BUucNs_t0=0, M3_BUucNs_t1=1) at ../src/GraphVBT.m3:656
> #6  0x00019be8 in ViewError__ShowPixel (M3_AoJTjZ_view=0x1ed3060,  
> M3_AcxOUs_x=3, M3_AcxOUs_y=2, M3_AcxOUs_p1=6, M3_AcxOUs_p2=-2) at ../ 
> src/bresenham/ViewError.m3:548
> #7  0x0001529a in BresenhamIE__OEDispatcher (M3_Ao6Rbg_v=0x1ed3060,  
> M3_Af40ku_evt=0x1e08014) at ../I386_DARWIN/BresenhamIE.m3:101
> #8  0x007abb9b in Zeus__ViewThread (M3_BH3Tll_self=0x1e5c128) at ../ 
> src/Zeus.m3:331
> #9  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c3fd80)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #10 0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c3fd80) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #11 0x96373155 in _pthread_start ()
> #12 0x96373012 in thread_start ()
>
> Thread 19 (process 96727 thread 0x5d07):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1e5c0bc,  
> M3_AYIbX3_m=0x1e3f9bc, M3_Bl0jv4_c=0x1edf34c, M3_AicXUJ_alertable=1  
> '\001') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d7a6 in Thread__AlertWait (M3_AYIbX3_m=0x1e3f9bc,  
> M3_Bl0jv4_c=0x1edf34c) at ../src/thread/PTHREAD/ThreadPThread.m3:266
> #5  0x007ab7f2 in Zeus__WakeZeusAndSleep (M3_CQpoHd_zeus=0x1e3ccfc,  
> M3_B74vJ1_view=0x1edf25c) at ../src/Zeus.m3:361
> #6  0x007abaa2 in Zeus__ViewThread (M3_BH3Tll_self=0x1e5c0b0) at ../ 
> src/Zeus.m3:328
> #7  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c3fc80)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #8  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c3fc80) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #9  0x96373155 in _pthread_start ()
> #10 0x96373012 in thread_start ()
>
> Thread 18 (process 96727 thread 0x700b):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1e5c044,  
> M3_AYIbX3_m=0x1e3f9bc, M3_Bl0jv4_c=0x1ee3bac, M3_AicXUJ_alertable=1  
> '\001') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d7a6 in Thread__AlertWait (M3_AYIbX3_m=0x1e3f9bc,  
> M3_Bl0jv4_c=0x1ee3bac) at ../src/thread/PTHREAD/ThreadPThread.m3:266
> #5  0x007ab7f2 in Zeus__WakeZeusAndSleep (M3_CQpoHd_zeus=0x1e3ccfc,  
> M3_B74vJ1_view=0x1ee3b00) at ../src/Zeus.m3:361
> #6  0x007abaa2 in Zeus__ViewThread (M3_BH3Tll_self=0x1e5c038) at ../ 
> src/Zeus.m3:328
> #7  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c3fa90)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #8  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c3fa90) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #9  0x96373155 in _pthread_start ()
> #10 0x96373012 in thread_start ()
>
> Thread 17 (process 96727 thread 0x6e03):
> #0  0x963493dc in _pthread_testcancel ()
> #1  0x96349275 in nanosleep$UNIX2003 ()
> #2  0x01022cc4 in ThreadPThread__Nanosleep (req=0xb134add0,  
> rem=0xb134add8) at ../src/thread/PTHREAD/ThreadPThreadC.c:318
> #3  0x0101fd7c in ThreadPThread__XPause (M3_BXP32l_self=0x1e54388,  
> M3_CtKayy_n=0.5, M3_AicXUJ_alertable=0 '\0') at ../src/thread/ 
> PTHREAD/ThreadPThread.m3:668
> #4  0x0101fef3 in Thread__Pause (M3_CtKayy_n=0.5) at ../src/thread/ 
> PTHREAD/ThreadPThread.m3:685
> #5  0x00a6f0c0 in VTCaret__Blinker (M3_Axogco_arg=0x1e5437c) at ../ 
> src/vtext/VTCaret.m3:149
> #6  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c3f9c0)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #7  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c3f9c0) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #8  0x96373155 in _pthread_start ()
> #9  0x96373012 in thread_start ()
>
> Thread 16 (process 96727 thread 0x435b):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1df30c8,  
> M3_AYIbX3_m=0x1e3bb94, M3_Bl0jv4_c=0x1e3bbb0, M3_AicXUJ_alertable=0  
> '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d823 in Thread__Wait (M3_AYIbX3_m=0x1e3bb94,  
> M3_Bl0jv4_c=0x1e3bbb0) at ../src/thread/PTHREAD/ThreadPThread.m3:277
> #5  0x007baaa1 in ZeusPanel__PanelThread (M3_CvdnuP_pc=0x1df30b8)  
> at ../src/ZeusPanel.m3:1425
> #6  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c39830)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #7  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c39830) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #8  0x96373155 in _pthread_start ()
> #9  0x96373012 in thread_start ()
>
> Thread 15 (process 96727 thread 0x420b):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1d67e68,  
> M3_AYIbX3_m=0x1d00500, M3_Bl0jv4_c=0x1d22688, M3_AicXUJ_alertable=0  
> '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d823 in Thread__Wait (M3_AYIbX3_m=0x1d00500,  
> M3_Bl0jv4_c=0x1d22688) at ../src/thread/PTHREAD/ThreadPThread.m3:277
> #5  0x00c40602 in Trestle__AwaitDelete (M3_BFdKo9_v=0x1ee3b00) at ../ 
> src/trestle/Trestle.m3:884
> #6  0x007a98b1 in View__WaiterThread (M3_C7vPGX_waiter=0x1d67e5c)  
> at ../src/View.m3:74
> #7  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c305c0)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #8  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c305c0) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #9  0x96373155 in _pthread_start ()
> #10 0x96373012 in thread_start ()
>
> Thread 14 (process 96727 thread 0x4103):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1ee32e4,  
> M3_AYIbX3_m=0x1d00500, M3_Bl0jv4_c=0x1edf3c4, M3_AicXUJ_alertable=0  
> '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d823 in Thread__Wait (M3_AYIbX3_m=0x1d00500,  
> M3_Bl0jv4_c=0x1edf3c4) at ../src/thread/PTHREAD/ThreadPThread.m3:277
> #5  0x00c40602 in Trestle__AwaitDelete (M3_BFdKo9_v=0x1edf25c) at ../ 
> src/trestle/Trestle.m3:884
> #6  0x007a98b1 in View__WaiterThread (M3_C7vPGX_waiter=0x1ee32d8)  
> at ../src/View.m3:74
> #7  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c38bf0)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #8  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c38bf0) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #9  0x96373155 in _pthread_start ()
> #10 0x96373012 in thread_start ()
>
> Thread 13 (process 96727 thread 0x4003):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1edb2e4,  
> M3_AYIbX3_m=0x1d00500, M3_Bl0jv4_c=0x1ed532c, M3_AicXUJ_alertable=0  
> '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d823 in Thread__Wait (M3_AYIbX3_m=0x1d00500,  
> M3_Bl0jv4_c=0x1ed532c) at ../src/thread/PTHREAD/ThreadPThread.m3:277
> #5  0x00c40602 in Trestle__AwaitDelete (M3_BFdKo9_v=0x1ed3060) at ../ 
> src/trestle/Trestle.m3:884
> #6  0x007a98b1 in View__WaiterThread (M3_C7vPGX_waiter=0x1edb2d8)  
> at ../src/View.m3:74
> #7  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c38780)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #8  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c38780) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #9  0x96373155 in _pthread_start ()
> #10 0x96373012 in thread_start ()
>
> Thread 12 (process 96727 thread 0x2e03):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1ed52a4,  
> M3_AYIbX3_m=0x1ed327c, M3_Bl0jv4_c=0x1ed35f4, M3_AicXUJ_alertable=0  
> '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d823 in Thread__Wait (M3_AYIbX3_m=0x1ed327c,  
> M3_Bl0jv4_c=0x1ed35f4) at ../src/thread/PTHREAD/ThreadPThread.m3:277
> #5  0x00bb7962 in XMessenger__Messenger (M3_EVlqQO_self=0x1ed5294)  
> at ../src/xvbt/XMessenger.m3:69
> #6  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c38420)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #7  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c38420) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #8  0x96373155 in _pthread_start ()
> #9  0x96373012 in thread_start ()
>
> Thread 11 (process 96727 thread 0x2b07):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1ed5254,  
> M3_AYIbX3_m=0x1ed327c, M3_Bl0jv4_c=0x1ed3614, M3_AicXUJ_alertable=0  
> '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d823 in Thread__Wait (M3_AYIbX3_m=0x1ed327c,  
> M3_Bl0jv4_c=0x1ed3614) at ../src/thread/PTHREAD/ThreadPThread.m3:277
> #5  0x00bbdbc2 in XInput__FilterXInput (M3_DSd60P_self=0x1ed5244)  
> at ../src/xvbt/XInput.m3:102
> #6  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c38320)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #7  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c38320) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #8  0x96373155 in _pthread_start ()
> #9  0x96373012 in thread_start ()
>
> Thread 10 (process 96727 thread 0x2a23):
> #0  0x963916fa in select$DARWIN_EXTSN ()
> #1  0x01023503 in Unix__select (nfds=7, readfds=0x2813d54,  
> writefds=0x2813d64, exceptfds=0x2813d74, timeout=0x0) at ../src/unix/ 
> Common/UnixC.c:301
> #2  0x01020970 in ThreadPThread__XIOWait__CallSelect.762  
> (M3_Cwb5VA_nfd=<unknown type>, M3_A4bqCj_timeout=0x0) at ../src/ 
> thread/PTHREAD/ThreadPThread.m3:787
> #3  0x010206cc in ThreadPThread__XIOWait (M3_BXP32l_self=0x1ed5204,  
> M3_Cwb5VA_fd=<unknown type>, M3_AicXUJ_read=1 '\001',  
> M3_CtKayy_interval=-1, M3_AicXUJ_alertable=0 '\0') at ../src/thread/ 
> PTHREAD/ThreadPThread.m3:826
> #4  0x010201b4 in SchedulerPosix__IOWait (M3_Cwb5VA_fd=<unknown  
> type>, M3_AicXUJ_read=1 '\001', M3_CtKayy_timeoutInterval=-1) at ../ 
> src/thread/PTHREAD/ThreadPThread.m3:729
> #5  0x00bbf20b in XInput__WaitForXInput (M3_Bkyxhg_self=0x1ed51f4)  
> at ../src/xvbt/XInput.m3:63
> #6  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c38250)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #7  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c38250) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #8  0x96373155 in _pthread_start ()
> #9  0x96373012 in thread_start ()
>
> Thread 9 (process 96727 thread 0x29f3):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1e3fafc,  
> M3_AYIbX3_m=0x1e3f9bc, M3_Bl0jv4_c=0x1e3f9c8, M3_AicXUJ_alertable=0  
> '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d823 in Thread__Wait (M3_AYIbX3_m=0x1e3f9bc,  
> M3_Bl0jv4_c=0x1e3f9c8) at ../src/thread/PTHREAD/ThreadPThread.m3:277
> #5  0x007ab312 in Zeus__AlgToViews (M3_CQpoHd_zeus=0x1e3ccfc,  
> M3_Ao6Rbg_initiator=0x1ecd9cc, M3_BMhQCx_dispatchProc=0x150e0,  
> M3_Af40ku_evtArgs=0x1e08014) at ../src/Zeus.m3:306
> #6  0x007ac1f0 in Zeus__Dispatch (M3_Ao6Rbg_initiator=0x1ecd9cc,  
> M3_DsvzJ6_style=0 '\0', M3_AcxOUs_priority=1,  
> M3_Bd56fi_eventName=0x1d9d60, M3_BMhQCx_dispatchProc=0x150e0,  
> M3_Af40ku_evtArgs=0x1e08014) at ../src/Zeus.m3:246
> #7  0x000149a7 in BresenhamIE__ShowPixel  
> (M3_CfiRBL_initiator=0x1ecd9cc, M3_AcxOUs_x=3, M3_AcxOUs_y=2,  
> M3_AcxOUs_p1=6, M3_AcxOUs_p2=-2) at ../I386_DARWIN/BresenhamIE.m3:227
> #8  0x000175b7 in AlgBresenham__DrawLine (M3_ECecEc_alg=0x1ecd9cc,  
> M3_AcxOUs_x1=0, M3_AcxOUs_y1=0, M3_AcxOUs_x2=10, M3_AcxOUs_y2=6)  
> at ../src/bresenham/AlgBresenham.m3:55
> #9  0x0001788f in AlgBresenham__Run (M3_ECecEc_alg=0x1ecd9cc) at ../ 
> src/bresenham/AlgBresenham.m3:86
> #10 0x007bb729 in ZeusPanel__AlgThread (M3_Dijbki_ac=0x1e3fae8)  
> at ../src/ZeusPanel.m3:1534
> #11 0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c29fd0)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #12 0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c29fd0) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #13 0x96373155 in _pthread_start ()
> #14 0x96373012 in thread_start ()
>
> Thread 8 (process 96727 thread 0x2803):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1d8e01c,  
> M3_AYIbX3_m=0x1d71fdc, M3_Bl0jv4_c=0x1d71fe8, M3_AicXUJ_alertable=1  
> '\001') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d7a6 in Thread__AlertWait (M3_AYIbX3_m=0x1d71fdc,  
> M3_Bl0jv4_c=0x1d71fe8) at ../src/thread/PTHREAD/ThreadPThread.m3:266
> #5  0x00e3bdf2 in Formatter__Allocate (M3_ACp9GL_t=0x1d71680,  
> M3_DBiloZ_this=1 '\001', M3_Cwb5VA_minSize=<unknown type>) at ../src/ 
> formatter/Formatter.m3:440
> #6  0x00e3bf0a in Formatter__Probe (M3_ACp9GL_t=0x1d71680,  
> M3_Cwb5VA_i=<unknown type>) at ../src/formatter/Formatter.m3:542
> #7  0x00e3c2b8 in Formatter__Peek (M3_ACp9GL_t=0x1d71680,  
> M3_Cwb5VA_i=<unknown type>) at ../src/formatter/Formatter.m3:592
> #8  0x00e3c2ff in Formatter__PeekOp (M3_ACp9GL_t=0x1d71680,  
> M3_Cwb5VA_i=<unknown type>) at ../src/formatter/Formatter.m3:577
> #9  0x00e3cb25 in Formatter__PrintUntil (M3_ACp9GL_t=0x1d71680,  
> M3_DOUxXw_mode=1 '\001', M3_ElBLGV_pos=0xb038ce90,  
> M3_Cwb5VA_maxL=<unknown type>, M3_CCuODf_op=0x1d72c08) at ../src/ 
> formatter/Formatter.m3:708
> #10 0x00e3cfc9 in Formatter__PrintTop (M3_B5Nhtj_self=0x1d8e00c)  
> at ../src/formatter/Formatter.m3:615
> #11 0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c29140)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #12 0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c29140) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #13 0x96373155 in _pthread_start ()
> #14 0x96373012 in thread_start ()
>
> Thread 7 (process 96727 thread 0x2703):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1d71618,  
> M3_AYIbX3_m=0x1d715ec, M3_Bl0jv4_c=0x1d715f8, M3_AicXUJ_alertable=1  
> '\001') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d7a6 in Thread__AlertWait (M3_AYIbX3_m=0x1d715ec,  
> M3_Bl0jv4_c=0x1d715f8) at ../src/thread/PTHREAD/ThreadPThread.m3:266
> #5  0x00e3bdf2 in Formatter__Allocate (M3_ACp9GL_t=0x1d70c90,  
> M3_DBiloZ_this=1 '\001', M3_Cwb5VA_minSize=<unknown type>) at ../src/ 
> formatter/Formatter.m3:440
> #6  0x00e3bf0a in Formatter__Probe (M3_ACp9GL_t=0x1d70c90,  
> M3_Cwb5VA_i=<unknown type>) at ../src/formatter/Formatter.m3:542
> #7  0x00e3c2b8 in Formatter__Peek (M3_ACp9GL_t=0x1d70c90,  
> M3_Cwb5VA_i=<unknown type>) at ../src/formatter/Formatter.m3:592
> #8  0x00e3c2ff in Formatter__PeekOp (M3_ACp9GL_t=0x1d70c90,  
> M3_Cwb5VA_i=<unknown type>) at ../src/formatter/Formatter.m3:577
> #9  0x00e3cb25 in Formatter__PrintUntil (M3_ACp9GL_t=0x1d70c90,  
> M3_DOUxXw_mode=1 '\001', M3_ElBLGV_pos=0xb030ae90,  
> M3_Cwb5VA_maxL=<unknown type>, M3_CCuODf_op=0x1d72c08) at ../src/ 
> formatter/Formatter.m3:708
> #10 0x00e3cfc9 in Formatter__PrintTop (M3_B5Nhtj_self=0x1d71608)  
> at ../src/formatter/Formatter.m3:615
> #11 0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c221e0)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #12 0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c221e0) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #13 0x96373155 in _pthread_start ()
> #14 0x96373012 in thread_start ()
>
> Thread 6 (process 96727 thread 0x2603):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1d729bc,  
> M3_AYIbX3_m=0x1d728b4, M3_Bl0jv4_c=0x1d729a0, M3_AicXUJ_alertable=1  
> '\001') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d7a6 in Thread__AlertWait (M3_AYIbX3_m=0x1d728b4,  
> M3_Bl0jv4_c=0x1d729a0) at ../src/thread/PTHREAD/ThreadPThread.m3:266
> #5  0x0073de32 in WorkerPool__ClericApply (M3_BSwVRC_self=0x1d729b0)  
> at ../src/WorkerPool.m3:152
> #6  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c28e10)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #7  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c28e10) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #8  0x96373155 in _pthread_start ()
> #9  0x96373012 in thread_start ()
>
> Thread 5 (process 96727 thread 0x2313):
> #0  0x963916fa in select$DARWIN_EXTSN ()
> #1  0x01023503 in Unix__select (nfds=4, readfds=0x1d74014,  
> writefds=0x1d74024, exceptfds=0x1d74034, timeout=0xb0206b20) at ../ 
> src/unix/Common/UnixC.c:301
> #2  0x01020970 in ThreadPThread__XIOWait__CallSelect.762  
> (M3_Cwb5VA_nfd=<unknown type>, M3_A4bqCj_timeout=0xb0206b20) at ../ 
> src/thread/PTHREAD/ThreadPThread.m3:787
> #3  0x010206a8 in ThreadPThread__XIOWait (M3_BXP32l_self=0x1d585bc,  
> M3_Cwb5VA_fd=<unknown type>, M3_AicXUJ_read=1 '\001',  
> M3_CtKayy_interval=1.7976931348623157e+308, M3_AicXUJ_alertable=1  
> '\001') at ../src/thread/PTHREAD/ThreadPThread.m3:823
> #4  0x010202e7 in SchedulerPosix__IOAlertWait (M3_Cwb5VA_fd=<unknown  
> type>, M3_AicXUJ_read=1 '\001', M3_CtKayy_timeoutInterval=-1) at ../ 
> src/thread/PTHREAD/ThreadPThread.m3:742
> #5  0x00dd3cc2 in TCPMisc__AcceptFrom (M3_AahksS_c=0x1d58594,  
> M3_DoBjMZ_peer=0xb0206cb4) at ../src/POSIX/TCP.m3:458
> #6  0x00dd3da8 in TCP__Accept (M3_AahksS_c=0x1d58594) at ../src/ 
> POSIX/TCP.m3:234
> #7  0x006dbc6b in LocalObjectSpace__SpaceAccept  
> (M3_Dbz8GV_self=0x1d585b0) at ../src/LocalObjectSpace.m3:307
> #8  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c28d60)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #9  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c28d60) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #10 0x96373155 in _pthread_start ()
> #11 0x96373012 in thread_start ()
>
> Thread 4 (process 96727 thread 0x2003):
> #0  0x9634946e in __semwait_signal ()
> #1  0x963492ef in nanosleep$UNIX2003 ()
> #2  0x01022cc4 in ThreadPThread__Nanosleep (req=0xb0184dd0,  
> rem=0xb0184dd8) at ../src/thread/PTHREAD/ThreadPThreadC.c:318
> #3  0x0101fd7c in ThreadPThread__XPause (M3_BXP32l_self=0x1d0ba08,  
> M3_CtKayy_n=1, M3_AicXUJ_alertable=0 '\0') at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:668
> #4  0x0101fef3 in Thread__Pause (M3_CtKayy_n=1) at ../src/thread/ 
> PTHREAD/ThreadPThread.m3:685
> #5  0x00a11d53 in FileBrowserVBT__Watcher (M3_EMTrVz_cl=0x1d0ba00)  
> at ../src/lego/FileBrowserVBT.m3:259
> #6  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c21830)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #7  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c21830) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #8  0x96373155 in _pthread_start ()
> #9  0x96373012 in thread_start ()
>
> Thread 3 (process 96727 thread 0x1f03):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1d090d4,  
> M3_AYIbX3_m=0x1d090b0, M3_Bl0jv4_c=0x1d090bc, M3_AicXUJ_alertable=0  
> '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d823 in Thread__Wait (M3_AYIbX3_m=0x1d090b0,  
> M3_Bl0jv4_c=0x1d090bc) at ../src/thread/PTHREAD/ThreadPThread.m3:277
> #5  0x00a839e2 in VTView__VFontCleanUpThread  
> (M3_EMTrVz_cl=0x1d090cc) at ../src/vtext/VTView.m3:111
> #6  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c21310)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #7  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c21310) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #8  0x96373155 in _pthread_start ()
> #9  0x96373012 in thread_start ()
>
> Thread 2 (process 96727 thread 0xd07):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1d006c8,  
> M3_AYIbX3_m=0x1d00688, M3_Bl0jv4_c=0x1d00694, M3_AicXUJ_alertable=0  
> '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d823 in Thread__Wait (M3_AYIbX3_m=0x1d00688,  
> M3_Bl0jv4_c=0x1d00694) at ../src/thread/PTHREAD/ThreadPThread.m3:277
> #5  0x00bf33d2 in VBTRep__MeterMaid (M3_EMTrVz_self=0x1d006bc) at ../ 
> src/vbt/VBTRep.m3:439
> #6  0x0101f243 in ThreadPThread__RunThread (M3_BeUkBA_me=0x1c21390)  
> at ../src/thread/PTHREAD/ThreadPThread.m3:546
> #7  0x0101ef74 in ThreadPThread__ThreadBase  
> (M3_AJWxb1_param=0x1c21390) at ../src/thread/PTHREAD/ 
> ThreadPThread.m3:522
> #8  0x96373155 in _pthread_start ()
> #9  0x96373012 in thread_start ()
>
> Thread 1 (process 96727 thread 0x10b):
> #0  0x963422ce in semaphore_wait_signal_trap ()
> #1  0x963742c6 in _pthread_cond_wait ()
> #2  0x963b9539 in pthread_cond_wait ()
> #3  0x0101d189 in ThreadPThread__XWait (M3_BXP32l_self=0x1d0000c,  
> M3_AYIbX3_m=0x1d00500, M3_Bl0jv4_c=0x1df3114, M3_AicXUJ_alertable=0  
> '\0') at ../src/thread/PTHREAD/ThreadPThread.m3:226
> #4  0x0101d823 in Thread__Wait (M3_AYIbX3_m=0x1d00500,  
> M3_Bl0jv4_c=0x1df3114) at ../src/thread/PTHREAD/ThreadPThread.m3:277
> #5  0x00c40602 in Trestle__AwaitDelete (M3_BFdKo9_v=0x1e3a204) at ../ 
> src/trestle/Trestle.m3:884
> #6  0x007c09eb in ZeusPanel__Interact (M3_Bd56fi_title=0x290db0,  
> M3_DYb95R_path=0x1d498c0) at ../src/ZeusPanel.m3:477
> #7  0x001b0ede in Main_M3 (M3_AcxOUs_mode=1) at ../src/Main.m3:165
> #8  0x0100eb1f in RTLinker__RunMainBody (M3_DjPxE3_m=0x1d6060) at ../ 
> src/runtime/common/RTLinker.m3:399
> #9  0x00002578 in main (argc=1, argv=0xbfffedb8, envp=0xbfffedc0) at  
> _m3main.mc:6
>
>
> Antony Hosking | Associate Professor | Computer Science | Purdue  
> University
> 305 N. University Street | West Lafayette | IN 47907 | USA
> Office +1 765 494 6001 | Mobile +1 765 427 5484
>
>
>
>
> On 6 Sep 2009, at 23:18, Jay K wrote:
>
>
>
>
>
>
>
>
>
>
> [was truncated again!]
>
> PPC_DARWIN 5.2.6 Juno on x86 sometimes hangs, sometimes runs out of  
> stack
>
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090908/34585f9a/attachment-0002.html>


More information about the M3devel mailing list