<br><br><div class="gmail_quote">On Mon, Jan 30, 2012 at 11:19 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><div class="gmail_quote"><div class="im">On Mon, Jan 30, 2012 at 7:05 PM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@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">


Hi Mariano,<br><br><div class="gmail_quote"><div>On Mon, Jan 30, 2012 at 9:57 AM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com" target="_blank">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><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> <br></div></div></blockquote><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div></div><div>    SmalltalkImage current snapshot: true andQuit: true.</div>



<div>    MyTest crash</div><div><br></div></div></blockquote></div><div><br><br>
Hi Eliot. While trying to make the image for you, I found that if the test is run from the image start, as suggested above, the crash doesn&#39;t happen. If I do the same but from a &quot;DoIt&quot; in a workspace, then it happens. So I think that maybe I am becoming some contexts/compiledMethods from the executor (the DoIt) of the test...kind of shooting my own feets. But it is difficult for me to know whether a context or a method or whatever comes from the executor of the test or not....<br>

<br>If you think that even if you have to do a do-it from a workspace it helps, then I am happy to upload an image. Otherwise I will continue investigate what is wrong...<br></div></div></blockquote><div><br></div><div>Just keep fiddling adding other things to run (e.g. open a browser programmatically etc).  There&#39;s very little chance of debugging this from an expression in a workspace.  Even if you give me the expression I will have to spend my time making it reproducible from start-up to have a chance of making sense of the crash.  So please, can you keep trying?</div>
<div><br></div><div>Basically the debugging process involves analysing, working back from the crash in subsequent runs.  Without a case that reproduces from start-up it is IME very difficult to make sense of.</div><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> <br>THanks!<br></div><div class="im"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div class="gmail_quote"><div></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<div><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></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>
</font></span></blockquote></div></div><font color="#888888"><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>