Hi Eliot. I am having some asserts failing while running my tests. Most of them during the sweep phase of the GC. <br><br>The two places where it fails is in <br><br>- NewCoObjectMemory &gt;&gt; lastPointerWhileForwarding: oop   <br>
<br>if fails the assert:       self assert: (coInterpreter cCoerceSimple: methodHeader to: #&#39;CogMethod *&#39;) cmType = CMMethod.<br>In different runs, the cmType answer me 1 (CMFree)<br><br>- NewCoObjectMemory &gt;&gt; lastPointerOf: oop recordWeakRoot: recordWeakRoot &quot;&lt;Boolean&gt;&quot;<br>
<br>and it fails in the same assert:        self assert: (coInterpreter cCoerceSimple: methodHeader to: #&#39;CogMethod *&#39;) cmType = CMMethod.<br>    <br>In different runs, I got values 0 or 6. BTW....seing:<br><br>initializeCogMethodConstants<br>
    CMOpenPIC := 1 + (CMClosedPIC := 1 + (CMBlock := 1 +(CMMethod := 1 + (CMFree := 1))))<br><br>I cannot understand how can I get 0 or 6....<br><br><br>Anyway, my question is if you have a clue of what can be happening so that those asserts are failing. I am using Objects as methods, but normal objects (subclasses of ProtoObject).<br>
<br>Thanks in advance,<br><br>mariano<br>