[BUG] VM crash

Andrew C. Greenberg werdna at mucow.com
Sun Jun 25 02:40:35 UTC 2000


At 6:19 PM -0700 6/24/00, Michael Rueger wrote:
>Hi all,
>
>try this:
>
>1 nextObject

That "1 nextObject" would be ill-defined is unsurprising.  Smalltalk 
SmallIntegers are not part of the enumeration of all objects, for a 
host of reasons (primarily optimization -- they are not represented 
internally as objects either).

It is, however, decidedly unSqueakish for a primitive call to blow 
the system to smithereens -- it would be nicer to gracefully crash 
when an odd oop is passed to nextObject.  There are many ways and 
places for this to be done, and the choice among fixes (decidedly not 
a priority, but something that ought to be done someday) should 
probably be selected by the guys now messing most with the internals.
-- 
Andrew C. Greenberg		acg at netwolves.com
V.P. Eng., R&D, 		813.885.2779 (office)
Netwolves Corporation		813.885.2380 (facsimile)
www.netwolves.com

Please use werdna at mucow.com instead of werdna at gate.net





More information about the Squeak-dev mailing list