<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div apple-content-edited="true"><span class="Apple-style-span" style="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="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="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="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="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="Apple-style-span" style="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="Apple-style-span" style="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="Apple-style-span" style="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="Apple-style-span" style="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="Apple-style-span" style="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="Apple-style-span" style="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="Apple-style-span" style="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="Apple-style-span" color="#0000FF" face="'Gill Sans'"><span class="Apple-style-span" style="font-size: medium;"> Jay may have fixed this for now.</span></font></div></span></span></span></span></span></span></span></span></div></span></div></span> </div><br><div><div>On 20 Aug 2009, at 11:10, Olaf Wagner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Quoting Tony Hosking <<a href="mailto:hosking@cs.purdue.edu">hosking@cs.purdue.edu</a>>:<br><br><blockquote type="cite">Indeed, the use of paranoidgc itself now seems to be broken<br></blockquote><blockquote type="cite">(independently of any other bug you might be trying to track down by<br></blockquote><blockquote type="cite">invoking paranoidgc).<br></blockquote><blockquote type="cite">This is a serious bug, that should be rectified *before* any release.<br></blockquote><blockquote type="cite">Without it, we cannot easily diagnose GC bugs in the field. I have<br></blockquote><blockquote type="cite">little to no time to devote to this right now, but it does look like<br></blockquote><blockquote type="cite">the recent changes to threading initialisation has broken things. I<br></blockquote><blockquote type="cite">remember being very careful about initialization of threads and heap<br></blockquote><blockquote type="cite">components of the run-time when working on the original native<br></blockquote><blockquote type="cite">threads. In particular, the ability to invoke ThreadF.GetActivation<br></blockquote><blockquote type="cite">was allowed before ThreadF.Init had been called, because<br></blockquote><blockquote type="cite">ThreadF.InitActivations was able to be invoked on-demand independently<br></blockquote><blockquote type="cite">of ThreadF.Init. This independence now seems to have been eliminated<br></blockquote><blockquote type="cite">so as to eliminate a run-time check in GetActivation.<br></blockquote><br>Jay, could you open a ticket for that, too?<br><br>And we also need to add tests for running with various @M3 options...<br><br>Olaf<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">On 20 Aug 2009, at 05:55, Jay K wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Verified on SOLgnu and AMD64_LINUX.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Probably related to initialization order changes that let user threads work again.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Probably should just use untraced?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">% gdb --args ./cm3 @M3paranoidgc<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">GNU gdb 6.4.90-debian<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Copyright (C) 2006 Free Software Foundation, Inc.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">GDB is free software, covered by the GNU General Public License, and you are<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">welcome to change it and/or distribute copies of it under certain conditions.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Type "show copying" to see the conditions.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">There is absolutely no warranty for GDB. Type "show warranty" for details.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"/lib/libthread_db.so.1".<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(gdb) run<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Starting program: /home/jkrell/cm3/bin/cm3 @M3paranoidgc<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[Thread debugging using libthread_db enabled]<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[New Thread 47899659458256 (LWP 29607)]<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Program received signal SIGSEGV, Segmentation fault.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[Switching to Thread 47899659458256 (LWP 29607)]<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">0x00000000006934c5 in RTAllocator__GetTracedObj (M3_Eic7CK_def=Cannot access mem<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">ory at address 0x800028d97718<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> at ../src/runtime/common/RTAllocator.m3:221<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">221 INC(thread.inCritical);<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(gdb) bt<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">#0 0x00000000006934c5 in RTAllocator__GetTracedObj (M3_Eic7CK_def=Cannot access<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">memory at address 0x800028d97718<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> at ../src/runtime/common/RTAllocator.m3:221<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">#1 0x0000000000692e1f in RTHooks__AllocateTracedObj (M3_AJWxb1_defn=Cannot acce<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">ss memory at address 0x800028d97788<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> at ../src/runtime/common/RTAllocator.m3:120<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">#2 0x000000000069b3ae in RTCollector__InstallSanityCheck ()<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> at ../src/runtime/common/RTCollector.m3:1637<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">#3 0x00000000006a1747 in RTHeapRep__Init ()<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> at ../src/runtime/common/RTCollector.m3:2769<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">#4 0x00000000006a2a1d in RTLinker__InitRuntime (M3_AcxOUs_p_argc=Cannot access<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">memory at address 0x800028d97858<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> at ../src/runtime/common/RTLinker.m3:58<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">#5 0x00000000004160bc in main (argc=Cannot access memory at address 0x800028d97<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">8a8<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">) at _m3main.mc:3<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(gdb)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><br><br><br>-- <br>Olaf Wagner -- elego Software Solutions GmbH<br> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany<br>phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95<br> <a href="http://www.elegosoft.com">http://www.elegosoft.com</a> | Geschäftsführer: Olaf Wagner | Sitz: Berlin<br>Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194<br><br></div></blockquote></div><br></body></html>