Hi Mariano,<br><br><div class="gmail_quote">On Mon, Jan 30, 2012 at 9:57 AM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 <br><br><br><div class="gmail_quote">On Mon, Jan 30, 2012 at 6:47 PM, Stefan Marr <span dir="ltr">&lt;<a href="mailto:smalltalk@stefan-marr.de" target="_blank">smalltalk@stefan-marr.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Hi:<br>
<div><br>
On 30 Jan 2012, at 18:30, Mariano Martinez Peck wrote:<br>
<br>
&gt; If with this piece of data, together with what I mentioned in the first email, you have a hint, please tell me :)<br>
<br>
</div>Wild guess: did you invalidate all the caches that a GC usually invalidates? Thinks like primitive caches etc? Not sure what is there in Cog that could be problematic.<br></blockquote><div><br>Thanks Stefan. I tried to do a Object flush after each graph I swap out, but still, same problem :(<br>

Thanks for the hint anyway.<br></div></div></blockquote><div><br></div><div>While it may be difficult for Cog to get this right, since there are two copies of a jitted method, the original and the machine-code version, it would be great if Cog could have it right.  So give than you have a reproducible case could you do me a huge favour and create an image that reproduces the bug?  Please create the image as a doit that saves the image and then continues to runt to the crash.  e.g. if the code that provokes the crash is &quot;MyTest crash&quot; evaluate this in a workspace, and then verify when you start-up the resulting snapshot that the image crashes:</div>
<div><br></div><div>    SmalltalkImage current snapshot: true andQuit: true.</div><div>    MyTest crash</div><div><br></div><div>or</div><div><br></div><div><div>    SmalltalkImage current</div><div>        garbageCollect;</div>
<div>        snapshot: true andQuit: true.</div></div>    MyTest crash</div><div class="gmail_quote"><br></div><div class="gmail_quote">etc<br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Best regards<br>
<span><font color="#888888">Stefan<br>
<br>
<br>
--<br>
Stefan Marr<br>
Software Languages Lab<br>
Vrije Universiteit Brussel<br>
Pleinlaan 2 / B-1050 Brussels / Belgium<br>
<a href="http://soft.vub.ac.be/%7Esmarr" target="_blank">http://soft.vub.ac.be/~smarr</a><br>
Phone: <a href="tel:%2B32%202%20629%202974" value="+3226292974" target="_blank">+32 2 629 2974</a><br>
Fax:   <a href="tel:%2B32%202%20629%203525" value="+3226293525" target="_blank">+32 2 629 3525</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>