[BUG] Crash while working on a Future.

Tom Phoenix rootbeer at redcat.com
Wed Jun 21 22:18:20 UTC 2006


On 6/21/06, Michael van der Gulik <squeakml at gulik.co.nz> wrote:

> I've got this really difficult bug.

I'll say; when you subclass ProtoObject, it's easy to forget about
some vital message that's usually handled in Object.

> When I execute the following, Squeak crashes:

> Future doing: [ByteStream].

What's a ByteStream? Do you mean ByteString?

You can debug the debugger to find where it crashes. Inspect the
debugger's model, then debug what happens when you send it #send.
That's how I found that the debugger chokes for the first time when a
MessageCapture is sent #class. If I fix that, it chokes for the second
time when it gets #instVarAt:. I'm sure there are more after that, but
I'll let you find them.

Cheers!

--Tom Phoenix



More information about the Squeak-dev mailing list