<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;">Indeed, the use of paranoidgc itself now seems to be broken (independently of any other bug you might be trying to track down by invoking paranoidgc).</span></font></div><div><span class="Apple-style-span" style="font-size: medium; color: rgb(0, 0, 255); font-family: 'Gill Sans'; ">This is a serious bug, that should be rectified *before* any release. Without it, we cannot easily diagnose GC bugs in the field. I have little to no time to devote to this right now, but it does look like the recent changes to threading initialisation has broken things. I remember being very careful about initialization of threads and heap components of the run-time when working on the original native threads. In particular, the ability to invoke ThreadF.GetActivation was allowed before ThreadF.Init had been called, because ThreadF.InitActivations was able to be invoked on-demand independently of ThreadF.Init. This independence now seems to have been eliminated so as to eliminate a run-time check in GetActivation.</span></div></span></span></span></span></span></span></span></span></div></span></div></span> </div><br><div><div>On 20 Aug 2009, at 05:55, Jay K wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Verified on SOLgnu and AMD64_LINUX.<br>Probably related to initialization order changes that let user threads work again.<br>Probably should just use untraced?<br><br><br><br>% gdb --args ./cm3 @M3paranoidgc<br>GNU gdb 6.4.90-debian<br>Copyright (C) 2006 Free Software Foundation, Inc.<br>GDB is free software, covered by the GNU General Public License, and you are<br>welcome to change it and/or distribute copies of it under certain conditions.<br>Type "show copying" to see the conditions.<br>There is absolutely no warranty for GDB. Type "show warranty" for details.<br>This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library<br>"/lib/libthread_db.so.1".<br>(gdb) run<br>Starting program: /home/jkrell/cm3/bin/cm3 @M3paranoidgc<br>[Thread debugging using libthread_db enabled]<br>[New Thread 47899659458256 (LWP 29607)]<br>Program received signal SIGSEGV, Segmentation fault.<br>[Switching to Thread 47899659458256 (LWP 29607)]<br>0x00000000006934c5 in RTAllocator__GetTracedObj (M3_Eic7CK_def=Cannot access mem<br>ory at address 0x800028d97718<br>)<br> at ../src/runtime/common/RTAllocator.m3:221<br>221 INC(thread.inCritical);<br>(gdb) bt<br>#0 0x00000000006934c5 in RTAllocator__GetTracedObj (M3_Eic7CK_def=Cannot access<br> memory at address 0x800028d97718<br>)<br> at ../src/runtime/common/RTAllocator.m3:221<br>#1 0x0000000000692e1f in RTHooks__AllocateTracedObj (M3_AJWxb1_defn=Cannot acce<br>ss memory at address 0x800028d97788<br>)<br> at ../src/runtime/common/RTAllocator.m3:120<br>#2 0x000000000069b3ae in RTCollector__InstallSanityCheck ()<br> at ../src/runtime/common/RTCollector.m3:1637<br>#3 0x00000000006a1747 in RTHeapRep__Init ()<br> at ../src/runtime/common/RTCollector.m3:2769<br>#4 0x00000000006a2a1d in RTLinker__InitRuntime (M3_AcxOUs_p_argc=Cannot access<br>memory at address 0x800028d97858<br>)<br> at ../src/runtime/common/RTLinker.m3:58<br>#5 0x00000000004160bc in main (argc=Cannot access memory at address 0x800028d97<br>8a8<br>) at _m3main.mc:3<br>(gdb)<br><br><br><br></div></blockquote></div><br></body></html>