[CS] VmBugDemonstration - an apparent bug in the 3.2 VM!

Boris_Gaertner at msg.de Boris_Gaertner at msg.de
Fri Jun 14 13:42:59 UTC 2002


C Muller asked about an assumed bug in the VM (in which VM?)

Please look at this instance method: 

test: twoArgBlock

        self halt.
        twoArgBlock
                value: req
                value: res

Being a subclass of  nil, your class does not inherit  the  halt  from
Object. This causes a crash.
For the same reason (not being a subclass ob Object, an
instance of VmBugDemo does not understand so important
methods like  inspect , printString  and printOn: .
Bearing these facts in mind, I do not currently assume that
there is a bug in the VM.
To examine your code, you can only write into the Transcript
(which is what you did, but you should do it more often.)



Greetings,
Boris Gärtner

msg  systems ag
Fraunhoferstraße 9
85737 Ismaning

Tel.: (+89) 96 101 546
mailto: Boris_Gaertner at msg.de

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


More information about the Squeak-dev mailing list