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

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


Thanks Eliot!

Hans

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


From: Eliot Miranda [mailto:eliot.miranda at gmail.com]
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 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 <Hans.Baveco at wur.nl<mailto:Hans.Baveco at wur.nl>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20111121/c1a4b0dd/attachment.htm


More information about the Squeak-dev mailing list