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@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
Thanks for the new VM... Now what is BochsIA32Plugin.dll ?
Best,
Stef
2011/11/20 Stéphane Rollandin lecteur@zogotounga.net
Thanks for the new VM... Now what is BochsIA32Plugin.dll ?
To simulate the JIT. You don't need it unless you want to run the VM simulator for Cog
Best,
Stef
Thanks Eliot!
Hans
(gladly contributing to a fool-proof VM :-) )
From: Eliot Miranda [mailto:eliot.miranda@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@wur.nlmailto:Hans.Baveco@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
squeak-dev@lists.squeakfoundation.org