Hi All,<div><br></div><div>    new VMs at <a href="http://www.mirandabanda.org/files/Cog/VM/VM.r2515/">http://www.mirandabanda.org/files/Cog/VM/VM.r2515/</a>.  These fix a code generator bug and as a result produce slightly better code in rare circumstances.  Anyway, Hans&#39; case below will no longer crash the VM :)  Enjoy.<br>
<br><div class="gmail_quote">On Thu, Nov 17, 2011 at 5:38 AM, Baveco, Hans <span dir="ltr">&lt;<a href="mailto:Hans.Baveco@wur.nl">Hans.Baveco@wur.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I managed to crash the (latest) cog VM consistently, producing the attached crash dump (containing two crashes).<br>
Debugging the code carefully I found that somewhere in the process of setting an instance variable of an object at the top of a tree-like structure, by traversing the tree downwards and back (lazy initializing instance variables), a clearly wrong method was executed:<br>

<br>
setCenter: aPoint<br>
<br>
        center := center<br>
<br>
<br>
after correcting this the crashes didn&#39;t occur anymore.<br>
Not sure how important this is, but surprising it was, though!<br>
<font color="#888888"><br>
Hans<br>
</font><br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>
</div>