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

Baveco, Hans Hans.Baveco at
Mon Nov 21 09:35:04 UTC 2011

Thanks Eliot!


(gladly contributing to a fool-proof VM :-) )

From: Eliot Miranda [mailto:eliot.miranda at]
Sent: vrijdag 18 november 2011 20:32
To: The general-purpose Squeak developers list; Pharo Development
Cc: Baveco, Hans; Squeak Virtual Machine Development Discussion
Subject: New Cog VMs available [was [squeak-dev] VM cog crash]

Hi All,

    new VMs at  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 <Hans.Baveco at<mailto:Hans.Baveco at>> 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!



-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Squeak-dev mailing list