[M3devel] AMD64_FREEBSD problems with current RC from m3 site

Tony Hosking hosking at cs.purdue.edu
Fri Nov 6 15:14:09 CET 2009


Weird.  Now I need to understand why.  Thanks for stress testing  
this.  You have a ton of threads there.

I wonder if it is slow because of the large number of threads that  
need stopping.  I need to think about ways to avoid signalling threads  
that are already on wait queues.  I have a feeling this will require  
changes to the Mutex implementation.  Not too hard to do though.

On 5 Nov 2009, at 23:10, Mika Nystrom wrote:

>
> Guess what?  The very last thing you checked in today seems to have
> stopped the crashes.
>
> It's still ridiculously slow, though.  This I can probably whittle  
> down
> to a smaller test case, I hope.
>
>    Mika
>
> Tony Hosking writes:
>>
>> --Apple-Mail-131--17975166
>> Content-Type: text/plain;
>> 	charset=US-ASCII;
>> 	format=flowed;
>> 	delsp=yes
>> Content-Transfer-Encoding: 7bit
>>
>> OK, one more version just checked in.
>> Perhaps we have acks left over from a previous GC cycle?  Weird!
>>
>> 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 5 Nov 2009, at 17:28, Mika Nystrom wrote:
>>
>>> Aha, got a crash!
>>>
>>> Starting act=0x805c17a80
>>> Started from act=0x805c16080
>>> WARNING: TWSReplayer.ReqMktData: Couldnt find data for BAX:TSE:CAD
>>> [New Thread 0x805c06700 (LWP 100388)]
>>> Stopping from act=0x805c17c00
>>> Stopping act=0x805c17c80
>>> Stopping act=0x805c17d00
>>> Stopping act=0x805c17d80
>>> Stopping act=0x805c17e00
>>> Stopping act=0x805c17e80
>>> Stopping act=0x805c17f00
>>> Stopping act=0x805c17f80
>>> Stopping act=0x805cb4080
>>> Stopping act=0x805cb4100
>>> Stopping act=0x805cb4180
>>> Stopping act=0x805c16080
>>> Stopping act=0x805c16b80
>>> Stopping act=0x805c16c00
>>> Stopping act=0x805c16c80
>>> Stopping act=0x805c16d00
>>> Stopping act=0x805c16e00
>>> Stopping act=0x805c16e80
>>> Stopping act=0x805c16d80
>>> Stopping act=0x805c16f00
>>> Stopping act=0x805c16f80
>>> Stopping act=0x805c17000
>>> Stopping act=0x805c17080
>>> Stopping act=0x805c17100
>>> Stopping act=0x805c17180
>>> Stopping act=0x805c17200
>>> Stopping act=0x805c17280
>>> Stopping act=0x805c17300
>>> Stopping act=0x805c17380
>>> Stopping act=0x805d16080
>>> Stopping act=0x805c17400
>>> Stopping act=0x805c17480
>>> Stopping act=0x805c17500
>>> Stopping act=0x805c17580
>>> Stopping act=0x805c17600
>>> Stopping act=0x805c17680
>>> Stopping act=0x805c17700
>>> Stopping act=0x805c17780
>>> Stopping act=0x805c17800
>>> Stopping act=0x805c17880
>>> Stopping act=0x805d16100
>>> Stopping act=0x805c17900
>>> Stopping act=0x805c17980
>>> Stopping act=0x805c17a00
>>> Stopping act=0x805c17a80
>>> Stopping act=0x805c17b00
>>> Stopping act=0x805c17b80
>>> Stopping act=0x805c17d00
>>> Stopping act=0x805c17e80
>>> Stopping act=0x805c16b80
>>> Stopping act=0x805c16d00
>>> Stopping act=0x805c16f00
>>> Stopping act=0x805c17080
>>> Stopping act=0x805c17280
>>> Stopping act=0x805c17580
>>> Stopping act=0x805c17780
>>> Stopping act=0x805c17a00
>>> Stopping act=0x805c17b80
>>> Stopping act=0x805c16d00
>>> Stopping act=0x805c17580
>>> [Switching to Thread 0x805c05760 (LWP 100371)]
>>>
>>> Breakpoint 1, RTHooks__ReportFault (M3_AJWxb1_module=Error accessing
>>> memory address 0x8000fb5db308:
>>> Bad address.
>>> ) at ../src/runtime/common/RTHooks.m3:95
>>> 95        VAR a: RT0.RaiseActivation;  code := Word.And (info,  
>>> 16_1f);
>>> (gdb) where
>>> #0  RTHooks__ReportFault (M3_AJWxb1_module=Error accessing memory
>>> address 0x8000fb5db308: Bad address.
>>> ) at ../src/runtime/common/RTHooks.m3:95
>>> #1  0x0000000803775ea8 in _m3_fault (M3_AcxOUs_arg=Error accessing
>>> memory address 0x8000fb5db388: Bad address.
>>> )
>>>  from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5
>>> #2  0x0000000803774def in ThreadPThread__StopWorld ()
>>>   at ../src/thread/PTHREAD/ThreadPThread.m3:1038
>>> #3  0x00000008037743c0 in ThreadInternal__SuspendOthers ()
>>>   at ../src/thread/PTHREAD/ThreadPThread.m3:838
>>> #4  0x0000000803752624 in RTCollector__CollectSomeInStateZero ()
>>>   at ../src/runtime/common/RTCollector.m3:745
>>> #5  0x00000008037525d0 in RTCollector__CollectSome () at ../src/
>>> runtime/common/RTCollector.m3:719
>>> #6  0x0000000803751fd1 in RTHeapRep__CollectEnough () at ../src/
>>> runtime/common/RTCollector.m3:653
>>> #7  0x0000000803748e79 in RTAllocator__AllocTraced
>>> (M3_Cwb5VA_dataSize=Error accessing memory address 0x8000fb5db5d8:
>>> Bad address.
>>> )
>>>   at ../src/runtime/common/RTAllocator.m3:365
>>> #8  0x00000008037486d7 in RTAllocator__GetOpenArray
>>> (M3_Eic7CK_def=Error accessing memory address 0x8000fb5db6c8: Bad
>>> address.
>>> )
>>>   at ../src/runtime/common/RTAllocator.m3:294
>>> #9  0x0000000803747819 in RTHooks__AllocateOpenArray
>>> (M3_AJWxb1_defn=Error accessing memory address 0x8000fb5db748: Bad
>>> address.
>>> )
>>>   at ../src/runtime/common/RTAllocator.m3:141
>>> #10 0x0000000802947b1e in SX__Lock (M3_CNERyx_arr=Error accessing
>>> memory address 0x8000fb5db788: Bad address.
>>> ) at ../src/SX.m3:267
>>> #11 0x0000000802947380 in SXSelect__WaitE (M3_CNERyx_on=Error
>>> accessing memory address 0x8000fb5db848: Bad address.
>>> ) at ../src/SX.m3:220
>>> #12 0x0000000802946972 in SXSelect__Wait (M3_CNERyx_on=Error
>>> accessing memory address 0x8000fb5db9e8: Bad address.
>>> ) at ../src/SX.m3:152
>>> #13 0x00000008011ac748 in MktAsset__WaitLocked (M3_DwTwqf_t=Error
>>> accessing memory address 0x8000fb5dba48: Bad address.
>>> ) at ../src/MktAsset.m3:117
>>> #14 0x00000008011b2950 in MktPlace__RecApply (M3_ELxH3G_cl=Error
>>> accessing memory address 0x8000fb5dbd18: Bad address.
>>> ) at ../src/MktPlace.m3:469
>>> #15 0x0000000803772645 in ThreadPThread__RunThread
>>> (M3_CgoaiZ_me=Error accessing memory address 0x8000fb5dbf08: Bad
>>> address.
>>> )
>>> ---Type <return> to continue, or q <return> to quit---
>>> ---Type <return> to continue, or q <return> to quit---
>>>   at ../src/thread/PTHREAD/ThreadPThread.m3:489
>>> #16 0x00000008037723fb in ThreadPThread__ThreadBase
>>> (M3_AJWxb1_param=Error accessing memory address 0x8000fb5dbf88: Bad
>>> address.
>>> )
>>>   at ../src/thread/PTHREAD/ThreadPThread.m3:470
>>> #17 0x0000000804b334d1 in pthread_getprio () from /lib/libthr.so.3
>>> #18 0x0000000000000000 in ?? ()
>>> Error accessing memory address 0x7ffffb5dc000: Bad address.
>>> (gdb)
>>>
>>> (gdb) up 2
>>> #2  0x0000000803774def in ThreadPThread__StopWorld ()
>>>   at ../src/thread/PTHREAD/ThreadPThread.m3:1038
>>> 1038          <*ASSERT acks < nLive*>
>>> Continuing.
>>>
>>>
>>> ***
>>> *** runtime error:
>>> ***    <*ASSERT*> failed.
>>> ***    file "../src/thread/PTHREAD/ThreadPThread.m3", line 1038
>>> ***
>>>
>>>
>>> Program received signal SIGABRT, Aborted.
>>> 0x0000000804c94a9c in thr_kill () from /lib/libc.so.7
>>> (gdb)
>>> Continuing.
>>>
>>> Program terminated with signal SIGABRT, Aborted.
>>> The program no longer exists.
>>> (gdb)
>>>
>>>
>>> Hmm am I missing something?  No errno?
>>>
>>> Tony Hosking writes:
>>>>
>>>> --Apple-Mail-130--20449272
>>>> Content-Type: text/plain;
>>>> 	charset=US-ASCII;
>>>> 	format=flowed;
>>>> 	delsp=yes
>>>> Content-Transfer-Encoding: 7bit
>>>>
>>>> So the question is what is that thread doing that it won't  
>>>> respond to
>>>> the signal?
>>>>
>>>> On 5 Nov 2009, at 17:16, Mika Nystrom wrote:
>>>>
>>>>> The thing is a bit nondeterministic as you might imagine.
>>>>>
>>>>> I'm having trouble getting it to crash at the moment, with
>>>>> @M3debugthreads I just see this:
>>>>>
>>>>> Starting act=0x805c17680
>>
>>
>> --Apple-Mail-131--17975166
>> Content-Type: text/html;
>> 	charset=US-ASCII
>> Content-Transfer-Encoding: quoted-printable
>>
>> <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:  
>> space; =
>> -webkit-line-break: after-white-space; ">OK, one more version just =
>> checked in.<div>Perhaps we have acks left over from a previous GC  
>> cycle? =
>>  Weird!<br><div><br></div><div><div> <span class=3D"Apple- 
>> style-span"=
>> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font- 
>> family: =
>> Helvetica; font-size: 12px; font-style: normal; font-variant:  
>> normal; =
>> font-weight: normal; letter-spacing: normal; line-height: normal; =
>> orphans: 2; text-align: auto; text-indent: 0px; text-transform:  
>> none; =
>> white-space: normal; widows: 2; word-spacing: 0px; =
>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- 
>> spacing: =
>> 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size- 
>> adjust: =
>> auto; -webkit-text-stroke-width: 0; "><div style=3D"word-wrap: =
>> break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
>> after-white-space; "><span class=3D"Apple-style-span" =
>> style=3D"border-collapse: separate; -webkit-border-horizontal- 
>> spacing: =
>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); =
>> font-family: Helvetica; font-size: 12px; font-style: normal; =
>> font-variant: normal; font-weight: normal; letter-spacing: normal; =
>> line-height: normal; -webkit-text-decorations-in-effect: none; =
>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform:  
>> none; =
>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;  
>> "><div =
>> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
>> -webkit-line-break: after-white-space; "><span class=3D"Apple-style- 
>> span" =
>> style=3D"border-collapse: separate; -webkit-border-horizontal- 
>> spacing: =
>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); =
>> font-family: Helvetica; font-size: 12px; font-style: normal; =
>> font-variant: normal; font-weight: normal; letter-spacing: normal; =
>> line-height: normal; -webkit-text-decorations-in-effect: none; =
>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform:  
>> none; =
>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;  
>> "><span =
>> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- 
>> spacing: =
>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
>> font-style: normal; font-variant: normal; font-weight: normal; =
>> letter-spacing: normal; line-height: normal; =
>> -webkit-text-decorations-in-effect: none; text-indent: 0px; =
>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; =
>> white-space: normal; widows: 2; word-spacing: 0px; "><span =
>> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- 
>> spacing: =
>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
>> font-style: normal; font-variant: normal; font-weight: normal; =
>> letter-spacing: normal; line-height: normal; =
>> -webkit-text-decorations-in-effect: none; text-indent: 0px; =
>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; =
>> white-space: normal; widows: 2; word-spacing: 0px; "><span =
>> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- 
>> spacing: =
>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
>> font-style: normal; font-variant: normal; font-weight: normal; =
>> letter-spacing: normal; line-height: normal; =
>> -webkit-text-decorations-in-effect: none; text-indent: 0px; =
>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; =
>> white-space: normal; widows: 2; word-spacing: 0px; "><span =
>> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- 
>> spacing: =
>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
>> font-style: normal; font-variant: normal; font-weight: normal; =
>> letter-spacing: normal; line-height: normal; =
>> -webkit-text-decorations-in-effect: none; text-indent: 0px; =
>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; =
>> white-space: normal; widows: 2; word-spacing: 0px; "><span =
>> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- 
>> spacing: =
>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
>> font-style: normal; font-variant: normal; font-weight: normal; =
>> letter-spacing: normal; line-height: normal; =
>> -webkit-text-decorations-in-effect: none; text-indent: 0px; =
>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; =
>> white-space: normal; widows: 2; word-spacing: 0px; "><span =
>> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- 
>> spacing: =
>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
>> font-style: normal; font-variant: normal; font-weight: normal; =
>> letter-spacing: normal; line-height: normal; =
>> -webkit-text-decorations-in-effect: none; text-indent: 0px; =
>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; =
>> white-space: normal; widows: 2; word-spacing: 0px; "><span =
>> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- 
>> spacing: =
>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
>> font-style: normal; font-variant: normal; font-weight: normal; =
>> letter-spacing: normal; line-height: normal; =
>> -webkit-text-decorations-in-effect: none; text-indent: 0px; =
>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; =
>> white-space: normal; widows: 2; word-spacing: 0px; "><div><font =
>> class=3D"Apple-style-span" color=3D"#0000FF"><font =
>> class=3D"Apple-style-span" face=3D"Gill Sans"><span =
>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- 
>> family: =
>> 'Gill Sans'; "><span class=3D"Apple-style-span" style=3D"color:  
>> rgb(0, =
>> 0, 255); font-family: 'Gill Sans'; ">Antony =
>> Hosking</span></span></font></font><font class=3D"Apple-style-span" =
>> face=3D"Gill Sans"><span class=3D"Apple-style-span" style=3D"font- 
>> family: =
>> 'Gill Sans'; "><span class=3D"Apple-style-span" style=3D"font- 
>> family: =
>> 'Gill Sans'; "><span class=3D"Apple-converted-space"> </span>| 
>> <span =
>> class=3D"Apple-converted-space"> </span></span></span><span =
>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans';  
>> "><span =
>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; =
>> ">Associate Professor</span></span><span class=3D"Apple-style-span" =
>> style=3D"font-family: 'Gill Sans'; "><span class=3D"Apple-style- 
>> span" =
>> style=3D"font-family: 'Gill Sans'; "> | Computer Science |  
>> Purdue =
>> University</span></span></font></div><div><font class=3D"Apple- 
>> style-span"=
>> face=3D"GillSans-Light"><span class=3D"Apple-style-span" =
>> style=3D"font-family: GillSans-Light; ">305 N. University Street |  
>> West =
>> Lafayette | IN 47907 | USA</span></font></div><div><font =
>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill  
>> Sans"><span =
>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- 
>> family: =
>> 'Gill Sans'; "><span class=3D"Apple-style-span" style=3D"color:  
>> rgb(0, =
>> 0, 255); font-family: 'Gill Sans'; ">Office</span></span></ 
>> font><font =
>> class=3D"Apple-style-span" face=3D"GillSans-Light"><span =
>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light;  
>> "><span =
>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; =
>> "> +1 765 494 6001 |<span =
>> class=3D"Apple-converted-space"> </span></span></span></ 
>> font><font =
>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill  
>> Sans"><span =
>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- 
>> family: =
>> 'Gill Sans'; "><span class=3D"Apple-style-span" style=3D"color:  
>> rgb(0, =
>> 0, 255); font-family: 'Gill Sans'; ">Mobile</span></span></ 
>> font><font =
>> class=3D"Apple-style-span" face=3D"GillSans-Light"><span =
>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light;  
>> "><span =
>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light;  
>> "><span =
>> class=3D"Apple-converted-space"> </span>+1 765 427 =
>> 5484</span></span></font></div><div><font class=3D"Apple-style- 
>> span" =
>> face=3D"GillSans-Light"><br =
>> class=3D"khtml-block-placeholder"></font></div></span></span></ 
>> span></span=
>>> </span></span></span><br =
>> class=3D"Apple-interchange-newline"></span></div></span></div></ 
>> span><br =
>> class=3D"Apple-interchange-newline"> </div><br><div><div>On 5 Nov  
>> 2009, =
>> at 17:28, Mika Nystrom wrote:</div><br =
>> class=3D"Apple-interchange-newline"><blockquote  
>> type=3D"cite"><div>Aha, =
>> got a crash!<br><br>Starting act=3D0x805c17a80<br>Started from =
>> act=3D0x805c16080<br>WARNING: TWSReplayer.ReqMktData: Couldnt find  
>> data =
>> for BAX:TSE:CAD<br>[New Thread 0x805c06700 (LWP  
>> 100388)]<br>Stopping =
>> from act=3D0x805c17c00<br>Stopping act=3D0x805c17c80<br>Stopping =
>> act=3D0x805c17d00<br>Stopping act=3D0x805c17d80<br>Stopping =
>> act=3D0x805c17e00<br>Stopping act=3D0x805c17e80<br>Stopping =
>> act=3D0x805c17f00<br>Stopping act=3D0x805c17f80<br>Stopping =
>> act=3D0x805cb4080<br>Stopping act=3D0x805cb4100<br>Stopping =
>> act=3D0x805cb4180<br>Stopping act=3D0x805c16080<br>Stopping =
>> act=3D0x805c16b80<br>Stopping act=3D0x805c16c00<br>Stopping =
>> act=3D0x805c16c80<br>Stopping act=3D0x805c16d00<br>Stopping =
>> act=3D0x805c16e00<br>Stopping act=3D0x805c16e80<br>Stopping =
>> act=3D0x805c16d80<br>Stopping act=3D0x805c16f00<br>Stopping =
>> act=3D0x805c16f80<br>Stopping act=3D0x805c17000<br>Stopping =
>> act=3D0x805c17080<br>Stopping act=3D0x805c17100<br>Stopping =
>> act=3D0x805c17180<br>Stopping act=3D0x805c17200<br>Stopping =
>> act=3D0x805c17280<br>Stopping act=3D0x805c17300<br>Stopping =
>> act=3D0x805c17380<br>Stopping act=3D0x805d16080<br>Stopping =
>> act=3D0x805c17400<br>Stopping act=3D0x805c17480<br>Stopping =
>> act=3D0x805c17500<br>Stopping act=3D0x805c17580<br>Stopping =
>> act=3D0x805c17600<br>Stopping act=3D0x805c17680<br>Stopping =
>> act=3D0x805c17700<br>Stopping act=3D0x805c17780<br>Stopping =
>> act=3D0x805c17800<br>Stopping act=3D0x805c17880<br>Stopping =
>> act=3D0x805d16100<br>Stopping act=3D0x805c17900<br>Stopping =
>> act=3D0x805c17980<br>Stopping act=3D0x805c17a00<br>Stopping =
>> act=3D0x805c17a80<br>Stopping act=3D0x805c17b00<br>Stopping =
>> act=3D0x805c17b80<br>Stopping act=3D0x805c17d00<br>Stopping =
>> act=3D0x805c17e80<br>Stopping act=3D0x805c16b80<br>Stopping =
>> act=3D0x805c16d00<br>Stopping act=3D0x805c16f00<br>Stopping =
>> act=3D0x805c17080<br>Stopping act=3D0x805c17280<br>Stopping =
>> act=3D0x805c17580<br>Stopping act=3D0x805c17780<br>Stopping =
>> act=3D0x805c17a00<br>Stopping act=3D0x805c17b80<br>Stopping =
>> act=3D0x805c16d00<br>Stopping act=3D0x805c17580<br>[Switching to  
>> Thread =
>> 0x805c05760 (LWP 100371)]<br><br>Breakpoint 1, RTHooks__ReportFault =
>> (M3_AJWxb1_module=3DError accessing memory address 0x8000fb5db308: =
>> <br>Bad address.<br>) at ../src/runtime/common/RTHooks.m3:95<br>95 =
>>        VAR a:  
>> RT0.RaiseActivation; =
>>  code :=3D Word.And (info, 16_1f);<br>(gdb) where<br>#0 =
>>  RTHooks__ReportFault (M3_AJWxb1_module=3DError accessing  
>> memory =
>> address 0x8000fb5db308: Bad address.<br>) at =
>> ../src/runtime/common/RTHooks.m3:95<br>#1  0x0000000803775ea8  
>> in =
>> _m3_fault (M3_AcxOUs_arg=3DError accessing memory address =
>> 0x8000fb5db388: Bad address.<br>)<br>   from =
>> /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5<br>#2 =
>>  0x0000000803774def in ThreadPThread__StopWorld ()<br> =
>>    at ../src/thread/PTHREAD/ 
>> ThreadPThread.m3:1038<br>#3 =
>>  0x00000008037743c0 in ThreadInternal__SuspendOthers ()<br> =
>>    at ../src/thread/PTHREAD/ 
>> ThreadPThread.m3:838<br>#4 =
>>  0x0000000803752624 in RTCollector__CollectSomeInStateZero  
>> ()<br> =
>>    at ../src/runtime/common/RTCollector.m3:745<br>#5 =
>>  0x00000008037525d0 in RTCollector__CollectSome () at =
>> ../src/runtime/common/RTCollector.m3:719<br>#6   
>> 0x0000000803751fd1 =
>> in RTHeapRep__CollectEnough () at =
>> ../src/runtime/common/RTCollector.m3:653<br>#7   
>> 0x0000000803748e79 =
>> in RTAllocator__AllocTraced (M3_Cwb5VA_dataSize=3DError accessing  
>> memory =
>> address 0x8000fb5db5d8: Bad address.<br>)<br>    at =
>> ../src/runtime/common/RTAllocator.m3:365<br>#8   
>> 0x00000008037486d7 =
>> in RTAllocator__GetOpenArray (M3_Eic7CK_def=3DError accessing  
>> memory =
>> address 0x8000fb5db6c8: Bad address.<br>)<br>    at =
>> ../src/runtime/common/RTAllocator.m3:294<br>#9   
>> 0x0000000803747819 =
>> in RTHooks__AllocateOpenArray (M3_AJWxb1_defn=3DError accessing  
>> memory =
>> address 0x8000fb5db748: Bad address.<br>)<br>    at =
>> ../src/runtime/common/RTAllocator.m3:141<br>#10 0x0000000802947b1e  
>> in =
>> SX__Lock (M3_CNERyx_arr=3DError accessing memory address  
>> 0x8000fb5db788: =
>> Bad address.<br>) at ../src/SX.m3:267<br>#11 0x0000000802947380 in =
>> SXSelect__WaitE (M3_CNERyx_on=3DError accessing memory address =
>> 0x8000fb5db848: Bad address.<br>) at ../src/SX.m3:220<br>#12 =
>> 0x0000000802946972 in SXSelect__Wait (M3_CNERyx_on=3DError  
>> accessing =
>> memory address 0x8000fb5db9e8: Bad address.<br>) at =
>> ../src/SX.m3:152<br>#13 0x00000008011ac748 in MktAsset__WaitLocked =
>> (M3_DwTwqf_t=3DError accessing memory address 0x8000fb5dba48: Bad =
>> address.<br>) at ../src/MktAsset.m3:117<br>#14 0x00000008011b2950  
>> in =
>> MktPlace__RecApply (M3_ELxH3G_cl=3DError accessing memory address =
>> 0x8000fb5dbd18: Bad address.<br>) at ../src/MktPlace.m3:469<br>#15 =
>> 0x0000000803772645 in ThreadPThread__RunThread  
>> (M3_CgoaiZ_me=3DError =
>> accessing memory address 0x8000fb5dbf08: Bad address.<br>)<br>--- 
>> Type =
>> <return> to continue, or q <return> to quit---<br>--- 
>> Type =
>> <return> to continue, or q <return> to quit---<br> =
>>    at ../src/thread/PTHREAD/ 
>> ThreadPThread.m3:489<br>#16 =
>> 0x00000008037723fb in ThreadPThread__ThreadBase  
>> (M3_AJWxb1_param=3DError =
>> accessing memory address 0x8000fb5dbf88: Bad address.<br>)<br> =
>>    at ../src/thread/PTHREAD/ 
>> ThreadPThread.m3:470<br>#17 =
>> 0x0000000804b334d1 in pthread_getprio () from /lib/libthr.so. 
>> 3<br>#18 =
>> 0x0000000000000000 in ?? ()<br>Error accessing memory address =
>> 0x7ffffb5dc000: Bad address.<br>(gdb) <br><br>(gdb) up 2<br>#2 =
>>  0x0000000803774def in ThreadPThread__StopWorld ()<br> =
>>    at ../src/thread/PTHREAD/ 
>> ThreadPThread.m3:1038<br>1038 =
>>          <*ASSERT  
>> acks =
>> < nLive*><br>Continuing.<br><br><br>***<br>*** runtime =
>> error:<br>***    <*ASSERT*> failed.<br>*** =
>>    file "../src/thread/PTHREAD/ThreadPThread.m3",  
>> line =
>> 1038<br>***<br><br><br>Program received signal SIGABRT, =
>> Aborted.<br>0x0000000804c94a9c in thr_kill () from =
>> /lib/libc.so.7<br>(gdb) <br>Continuing.<br><br>Program terminated  
>> with =
>> signal SIGABRT, Aborted.<br>The program no longer exists.<br>(gdb) =
>> <br><br><br>Hmm am I missing something?  No errno?<br><br>Tony =
>> Hosking writes:<br><blockquote type=3D"cite"><br></ 
>> blockquote><blockquote =
>> type=3D"cite">--Apple-Mail-130--20449272<br></ 
>> blockquote><blockquote =
>> type=3D"cite">Content-Type: text/plain;<br></blockquote><blockquote =
>> type=3D"cite"><span class=3D"Apple-tab-span" style=3D"white- 
>> space:pre">	=
>> </span>charset=3DUS-ASCII;<br></blockquote><blockquote  
>> type=3D"cite"><span=
>> class=3D"Apple-tab-span" style=3D"white-space:pre">	=
>> </span>format=3Dflowed;<br></blockquote><blockquote  
>> type=3D"cite"><span =
>> class=3D"Apple-tab-span" style=3D"white-space:pre">	=
>> </span>delsp=3Dyes<br></blockquote><blockquote =
>> type=3D"cite">Content-Transfer-Encoding: =
>> 7bit<br></blockquote><blockquote =
>> type=3D"cite"><br></blockquote><blockquote type=3D"cite">So the  
>> question =
>> is what is that thread doing that it won't respond to =
>>  <br></blockquote><blockquote type=3D"cite">the =
>> signal?<br></blockquote><blockquote =
>> type=3D"cite"><br></blockquote><blockquote type=3D"cite">On 5 Nov  
>> 2009, =
>> at 17:16, Mika Nystrom wrote:<br></blockquote><blockquote =
>> type=3D"cite"><br></blockquote><blockquote  
>> type=3D"cite"><blockquote =
>> type=3D"cite">The thing is a bit nondeterministic as you might =
>> imagine.<br></blockquote></blockquote><blockquote =
>> type=3D"cite"><blockquote =
>> type=3D"cite"><br></blockquote></blockquote><blockquote =
>> type=3D"cite"><blockquote type=3D"cite">I'm having trouble getting  
>> it to =
>> crash at the moment, with =
>>  <br></blockquote></blockquote><blockquote  
>> type=3D"cite"><blockquote =
>> type=3D"cite">@M3debugthreads I just see =
>> this:<br></blockquote></blockquote><blockquote  
>> type=3D"cite"><blockquote =
>> type=3D"cite"><br></blockquote></blockquote><blockquote =
>> type=3D"cite"><blockquote type=3D"cite">Starting =
>> act=3D0x805c17680<br></blockquote></blockquote></div></blockquote></ 
>> div><b=
>> r></div></div></body></html>=
>>
>> --Apple-Mail-131--17975166--

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


More information about the M3devel mailing list