[M3devel] AMD64_FREEBSD problems with current RC from m3 site

Tony Hosking hosking at cs.purdue.edu
Fri Nov 6 00:01:38 CET 2009


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

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


More information about the M3devel mailing list