New Cog VMs available [was [squeak-dev] VM cog crash]

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

New Cog VMs available [was [squeak-dev] VM cog crash]

Eliot Miranda-2
 
Hi All,

    new VMs at http://www.mirandabanda.org/files/Cog/VM/VM.r2515/.  These fix a code generator bug and as a result produce slightly better code in rare circumstances.  Anyway, Hans' case below will no longer crash the VM :)  Enjoy.

On Thu, Nov 17, 2011 at 5:38 AM, Baveco, Hans <[hidden email]> wrote:
I managed to crash the (latest) cog VM consistently, producing the attached crash dump (containing two crashes).
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:

setCenter: aPoint

       center := center


after correcting this the crashes didn't occur anymore.
Not sure how important this is, but surprising it was, though!

Hans






--
best,
Eliot