<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div><br>On Mar 18, 2016, at 5:46 PM, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><div dir="ltr"><div><div>More exactly this happens from:<br>...<br>processWeakSurvivor: <br> fireFinalization<br>queueMourner:<br></div>in<br>&nbsp;&nbsp;&nbsp;&nbsp; self deny: (self is: anEphemeronOrWeakArray onObjStack: mournQueue).<br></div></div></div></blockquote><div><br></div>If mournQueue is not initialized, and that's expected, then the assert needs to read&nbsp;<div><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></font></div><div><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);">&nbsp; &nbsp; self deny: (mournQueue ~= 0 and: [self is: anEphemeronOrWeakArray onObjStack:&nbsp;mournQueue]</span></font><span style="background-color: rgba(255, 255, 255, 0);">).</span><div><div><br></div><div>Check where the mournQueue is initialized. &nbsp;I may have written the code so that there is no <span style="background-color: rgba(255, 255, 255, 0);">mournQueue (mournQueue = 0) until the new finalization m</span><span style="background-color: rgba(255, 255, 255, 0);">echanism is enabled. &nbsp;If so, the assert needs updating.</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">If I write the code so that there's always a mournQueue (mournQueue is initialized in or from initializeObjectMemory:) then the asset is correct and&nbsp;mournQueue got zapped by mistake.</span></div><div><br></div><br><blockquote type="cite"><div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-19 1:36 GMT+01:00 Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi, this question is mainly for Eliot I guess...<br><br>I have regular failures with a 32 bits squeak.stack.spur<br></div>The VM crashes in garbage collect when running all tests.<br><br></div>When i simulate, I've got an assert: failure in<br><br>Spur32BitMMLESimulator&gt;&gt;is: oop onObjStack: objStack<br>&nbsp;&nbsp;&nbsp; | index nextPage |<br>&nbsp;&nbsp;&nbsp; self assert: (self numSlotsOfAny: objStack) = ObjStackPageSlots.<div><br></div><div>0 = 4092 fails...<br><br></div><div>Does it mean the image got corrupted?<br></div></div>
</blockquote></div><br></div>
</div></blockquote></div></div></body></html>