[M3devel] m3 RC

Tony Hosking hosking at cs.purdue.edu
Sat Oct 31 19:10:14 CET 2009


Yeah, and if that is not working properly then it might also explain  
your collector failures too.

Have the RC archives not been updated for the changes to the RC  
branch?  It looks like you are using an old ThreadPThread.

On 31 Oct 2009, at 14:08, Mika Nystrom wrote:

> Tony this is what I see:
>
>    589     WITH r = pthread_mutex_lock_active() DO <*ASSERT r=0*> END;
>
> This is not from the head but from the RC archive from the M3 site:
>
> cm3-src-all-5.8.3-RC3.tgz
>
>     Mika
>
> Tony Hosking writes:
>>
>> --Apple-Mail-17--467794722
>> Content-Type: text/plain;
>> 	charset=US-ASCII;
>> 	format=flowed;
>> 	delsp=yes
>> Content-Transfer-Encoding: 7bit
>>
>> This looks like a bogus line number for 1.123.2.4.  Are you somehow
>> using an older version of ThreadPThread.m3 (1.123.2.3)?
>>
>> On 31 Oct 2009, at 00:47, Mika Nystrom wrote:
>>
>>>
>>> same comment as previous email
>>>
>>> ------- Forwarded Message
>>>
>>> Return-Path: <mika at async.async.caltech.edu>
>>> X-Original-To: mika
>>> Delivered-To: mika at async.caltech.edu
>>> Received: by async.async.caltech.edu (Postfix, from userid 1004)
>>> 	id 780EB1A2094; Thu, 29 Oct 2009 13:12:54 -0700 (PDT)
>>> Received: from async.async.caltech.edu (localhost [127.0.0.1])
>>> 	by async.async.caltech.edu (Postfix) with ESMTP id 7129B1A2091;
>>> 	Thu, 29 Oct 2009 13:12:54 -0700 (PDT)
>>> To: m3devel at elegosoft.com
>>> cc: mika at async.caltech.edu
>>> Subject: and another crash....
>>> Date: Thu, 29 Oct 2009 13:12:54 -0700
>>> From: Mika Nystrom <mika at async.async.caltech.edu>
>>> Message-Id: <20091029201254.780EB1A2094 at async.async.caltech.edu>
>>>
>>>
>>> WARNING: TWSReplayer.ReqMktData: Couldnt find data for ABC:TSE:CAD
>>>
>>>
>>> ***
>>> *** runtime error:
>>> ***    <*ASSERT*> failed.
>>> ***    file "../src/thread/PTHREAD/ThreadPThread.m3", line 589
>>> ***
>>>
>>>
>>> Program received signal SIGABRT, Aborted.
>>> 0x0000000804c9fa9c in thr_kill () from /lib/libc.so.7
>>> (m3gdb) where
>>> #0  0x0000000804c9fa9c in thr_kill () from /lib/libc.so.7
>>> #1  0x0000000804d2ef8b in abort () from /lib/libc.so.7
>>> #2  0x0000000803777bf7 in Crash () at ../src/runtime/POSIX/ 
>>> RTOS.m3:20
>>> #3  0x000000080376b615 in Crash (msg=Invalid C/C++ type code 26 in
>>> symbol table.
>>> ) at ../src/runtime/common/RTProcess.m3:65
>>> #4  0x0000000803768ab2 in EndError (crash=Invalid C/C++ type code 36
>>> in symbol table.
>>> ) at ../src/runtime/common/RTError.m3:118
>>> #5  0x00000008037687aa in MsgS (file=Invalid C/C++ type code 35 in
>>> symbol table.
>>> ) at ../src/runtime/common/RTError.m3:40
>>> #6  0x0000000803768f85 in Crash (a=Invalid C/C++ type code 30 in
>>> symbol table.
>>> ) at ../src/runtime/common/RTException.m3:79
>>> #7  0x0000000803768c3c in DefaultBackstop (a=Invalid C/C++ type code
>>> 30 in symbol table.
>>> ) at ../src/runtime/common/RTException.m3:39
>>> #8  0x0000000803768b6e in InvokeBackstop (a=Invalid C/C++ type code
>>> 30 in symbol table.
>>> ) at ../src/runtime/common/RTException.m3:25
>>> #9  0x0000000803778eab in Raise (act=Invalid C/C++ type code 30 in
>>> symbol table.
>>> ) at ../src/runtime/ex_frame/RTExFrame.m3:29
>>> #10 0x0000000803768cee in DefaultBackstop (a=Invalid C/C++ type code
>>> 30 in symbol table.
>>> ) at ../src/runtime/common/RTException.m3:47
>>> #11 0x0000000803768b6e in InvokeBackstop (a=Invalid C/C++ type code
>>> 30 in symbol table.
>>> ) at ../src/runtime/common/RTException.m3:25
>>> #12 0x0000000803778eab in Raise (act=Invalid C/C++ type code 30 in
>>> symbol table.
>>> ) at ../src/runtime/ex_frame/RTExFrame.m3:29
>>> #13 0x0000000803750241 in ReportFault (module=Invalid C/C++ type
>>> code 35 in symbol table.
>>> ) at ../src/runtime/common/RTHooks.m3:110
>>> #14 0x0000000803780acf in _m3_fault (arg=Invalid C/C++ type code 39
>>> in symbol table.
>>> )
>>>  from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5
>>> #15 0x000000080377d1bc in Fork (closure=Invalid C/C++ type code 26
>>> in symbol table.
>>> ) at ../src/thread/PTHREAD/ThreadPThread.m3:589
>>> #16 0x00000008011b1651 in AddAsset (t=Invalid C/C++ type code 26 in
>>> symbol table.
>>> ) at ../src/MktPlace.m3:116
>>> #17 0x00000000004085c6 in Init (t=Invalid C/C++ type code 26 in
>>> symbol table.
>>> ) at ../src/MktIsolator.m3:514
>>> #18 0x00000000004106af in Main (mode=Invalid C/C++ type code 39 in
>>> symbol table.
>>> ) at ../src/Main.m3:734
>>> #19 0x0000000803767c19 in RunMainBody (m=Invalid C/C++ type code 29
>>> in symbol table.
>>> ) at ../src/runtime/common/RTLinker.m3:400
>>> #20 0x0000000803766e00 in AddUnitI (m=Invalid C/C++ type code 29 in
>>> symbol table.
>>> ) at ../src/runtime/common/RTLinker.m3:114
>>> #21 0x0000000803766e9e in AddUnit (b=Invalid C/C++ type code 31 in
>>> symbol table.
>>> ) at ../src/runtime/common/RTLinker.m3:123
>>> - ---Type <return> to continue, or q <return> to quit---
>>> #22 0x0000000000404194 in main (argc=44, argv=0x7fffffffddf0,
>>> envp=0x7fffffffdf58) at _m3main.mc:4
>>> #23 0x00000000004040de in _start ()
>>> (m3gdb) up 15
>>> #15 0x000000080377d1bc in Fork (closure=16_0000000807385b48)
>>>   at ../src/thread/PTHREAD/ThreadPThread.m3:589
>>> 589         WITH r = pthread_mutex_lock_active() DO <*ASSERT r=0*>
>>> END;
>>> Current language:  auto; currently Modula-3
>>> (m3gdb)
>>>
>>> Not sure if this could be related to the crash in RTCollector.
>>>
>>>    Mika
>>>
>>> ------- End of Forwarded Message
>>
>>
>> --Apple-Mail-17--467794722
>> 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; "><div =
>> apple-content-edited=3D"true"><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><span =
>> class=3D"Apple-style-span" style=3D"font-size: medium;"><font =
>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"'Gill  
>> Sans'">This =
>> looks like a bogus line number for 1.123.2.4.  Are you somehow =
>> using an older version of ThreadPThread.m3 =
>> (1.123.2.3)?</font></span></div><div><font class=3D"Apple-style- 
>> span" =
>> color=3D"#0000FF" face=3D"'Gill Sans'"><span class=3D"Apple-style- 
>> span" =
>> style=3D"font-size: =
>> medium;"><br></span></font></div></span></span></span></span></ 
>> span></span=
>>> </span></span></div></span></div></span></div><div><div>On 31 Oct  
>>> 2009, =
>> at 00:47, Mika Nystrom wrote:</div><br =
>> class=3D"Apple-interchange-newline"><blockquote =
>> type=3D"cite"><div><br>same comment as previous  
>> email<br><br>------- =
>> Forwarded Message<br><br>Return-Path: <<a =
>> href=3D"mailto:mika at async.async.caltech.edu">mika at async.async.caltech.edu 
>> <=
>> /a>><br>X-Original-To: mika<br>Delivered-To: <a =
>> href=3D"mailto:mika at async.caltech.edu">mika at async.caltech.edu</ 
>> a><br>Recei=
>> ved: by async.async.caltech.edu (Postfix, from userid  
>> 1004)<br><span =
>> class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>id =
>> 780EB1A2094; Thu, 29 Oct 2009 13:12:54 -0700 (PDT)<br>Received:  
>> from =
>> async.async.caltech.edu (localhost [127.0.0.1])<br><span =
>> class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>by =
>> async.async.caltech.edu (Postfix) with ESMTP id  
>> 7129B1A2091;<br><span =
>> class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>Thu, 29 =
>> Oct 2009 13:12:54 -0700 (PDT)<br>To: <a =
>> href=3D"mailto:m3devel at elegosoft.com">m3devel at elegosoft.com</ 
>> a><br>cc: =
>> <a =
>> href=3D"mailto:mika at async.caltech.edu">mika at async.caltech.edu</ 
>> a><br>Subje=
>> ct: and another crash....<br>Date: Thu, 29 Oct 2009 13:12:54 =
>> -0700<br>From: Mika Nystrom <<a =
>> href=3D"mailto:mika at async.async.caltech.edu">mika at async.async.caltech.edu 
>> <=
>> /a>><br>Message-Id: <<a =
>> href=3D"mailto: 
>> 20091029201254.780EB1A2094 at async.async.caltech.edu">2009102=
>> 9201254.780EB1A2094 at async.async.caltech.edu</ 
>> a>><br><br><br>WARNING: =
>> TWSReplayer.ReqMktData: Couldnt find data for =
>> ABC:TSE:CAD<br><br><br>***<br>*** runtime error:<br>*** =
>>    <*ASSERT*> failed.<br>***  
>>    file =
>> "../src/thread/PTHREAD/ThreadPThread.m3", line =
>> 589<br>***<br><br><br>Program received signal SIGABRT, =
>> Aborted.<br>0x0000000804c9fa9c in thr_kill () from =
>> /lib/libc.so.7<br>(m3gdb) where<br>#0  0x0000000804c9fa9c in =
>> thr_kill () from /lib/libc.so.7<br>#1  0x0000000804d2ef8b in  
>> abort =
>> () from /lib/libc.so.7<br>#2  0x0000000803777bf7 in Crash ()  
>> at =
>> ../src/runtime/POSIX/RTOS.m3:20<br>#3  0x000000080376b615 in  
>> Crash =
>> (msg=3DInvalid C/C++ type code 26 in symbol table.<br>) at =
>> ../src/runtime/common/RTProcess.m3:65<br>#4   
>> 0x0000000803768ab2 in =
>> EndError (crash=3DInvalid C/C++ type code 36 in symbol table.<br>)  
>> at =
>> ../src/runtime/common/RTError.m3:118<br>#5  0x00000008037687aa  
>> in =
>> MsgS (file=3DInvalid C/C++ type code 35 in symbol table.<br>) at =
>> ../src/runtime/common/RTError.m3:40<br>#6  0x0000000803768f85  
>> in =
>> Crash (a=3DInvalid C/C++ type code 30 in symbol table.<br>) at =
>> ../src/runtime/common/RTException.m3:79<br>#7   
>> 0x0000000803768c3c =
>> in DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol  
>> table.<br>) =
>> at ../src/runtime/common/RTException.m3:39<br>#8 =
>>  0x0000000803768b6e in InvokeBackstop (a=3DInvalid C/C++ type  
>> code =
>> 30 in symbol table.<br>) at =
>> ../src/runtime/common/RTException.m3:25<br>#9   
>> 0x0000000803778eab =
>> in Raise (act=3DInvalid C/C++ type code 30 in symbol table.<br>) at =
>> ../src/runtime/ex_frame/RTExFrame.m3:29<br>#10 0x0000000803768cee  
>> in =
>> DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol  
>> table.<br>) at =
>> ../src/runtime/common/RTException.m3:47<br>#11 0x0000000803768b6e  
>> in =
>> InvokeBackstop (a=3DInvalid C/C++ type code 30 in symbol  
>> table.<br>) at =
>> ../src/runtime/common/RTException.m3:25<br>#12 0x0000000803778eab  
>> in =
>> Raise (act=3DInvalid C/C++ type code 30 in symbol table.<br>) at =
>> ../src/runtime/ex_frame/RTExFrame.m3:29<br>#13 0x0000000803750241  
>> in =
>> ReportFault (module=3DInvalid C/C++ type code 35 in symbol  
>> table.<br>) =
>> at ../src/runtime/common/RTHooks.m3:110<br>#14 0x0000000803780acf  
>> in =
>> _m3_fault (arg=3DInvalid C/C++ type code 39 in symbol  
>> table.<br>)<br> =
>>   from =
>> /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5<br>#15 =
>> 0x000000080377d1bc in Fork (closure=3DInvalid C/C++ type code 26 in =
>> symbol table.<br>) at ../src/thread/PTHREAD/ 
>> ThreadPThread.m3:589<br>#16 =
>> 0x00000008011b1651 in AddAsset (t=3DInvalid C/C++ type code 26 in  
>> symbol =
>> table.<br>) at ../src/MktPlace.m3:116<br>#17 0x00000000004085c6 in  
>> Init =
>> (t=3DInvalid C/C++ type code 26 in symbol table.<br>) at =
>> ../src/MktIsolator.m3:514<br>#18 0x00000000004106af in Main =
>> (mode=3DInvalid C/C++ type code 39 in symbol table.<br>) at =
>> ../src/Main.m3:734<br>#19 0x0000000803767c19 in RunMainBody  
>> (m=3DInvalid =
>> C/C++ type code 29 in symbol table.<br>) at =
>> ../src/runtime/common/RTLinker.m3:400<br>#20 0x0000000803766e00 in =
>> AddUnitI (m=3DInvalid C/C++ type code 29 in symbol table.<br>) at =
>> ../src/runtime/common/RTLinker.m3:114<br>#21 0x0000000803766e9e in =
>> AddUnit (b=3DInvalid C/C++ type code 31 in symbol table.<br>) at =
>> ../src/runtime/common/RTLinker.m3:123<br>- ---Type <return>  
>> to =
>> continue, or q <return> to quit---<br>#22 0x0000000000404194  
>> in =
>> main (argc=3D44, argv=3D0x7fffffffddf0, envp=3D0x7fffffffdf58) at =
>> _m3main.mc:4<br>#23 0x00000000004040de in _start ()<br>(m3gdb) up =
>> 15<br>#15 0x000000080377d1bc in Fork  
>> (closure=3D16_0000000807385b48)<br> =
>>    at ../src/thread/PTHREAD/ 
>> ThreadPThread.m3:589<br>589 =
>>         WITH r =3D =
>> pthread_mutex_lock_active() DO <*ASSERT r=3D0*>  
>> END;<br>Current =
>> language:  auto; currently Modula-3<br>(m3gdb) <br><br>Not  
>> sure if =
>> this could be related to the crash in RTCollector.<br><br> =
>>     Mika<br><br>------- End of Forwarded =
>> Message<br></div></blockquote></div><br></body></html>=
>>
>> --Apple-Mail-17--467794722--

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


More information about the M3devel mailing list