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

Eliot Miranda eliot.miranda at gmail.com
Fri Nov 18 19:31:55 UTC 2011


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> 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/vm-dev/attachments/20111118/42a4f16d/attachment.htm


More information about the Vm-dev mailing list