[squeak-dev] VM cog crash

Eliot Miranda eliot.miranda at gmail.com
Thu Nov 17 17:56:27 UTC 2011


Hi Hans,

    can you send me the byetcode for teh broken method?  i.e. send me the
result of

        (MyClass >> #setCenter:) symbolic

for the method that crashes?

Thanks.

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/squeak-dev/attachments/20111117/668e0f87/attachment.htm


More information about the Squeak-dev mailing list