Crash when Object := nil

Project:GNU Smalltalk
Component:VM
Category:bug
Priority:normal
Assigned:Unassigned
Status:fixed
Description

If you set Object class as nil, you get it:

GNU Smalltalk ready

st> Object := nil.
"Global garbage collection... done"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... Falha de segmentação

Updates

#1 submitted by Gwenael Casaccio on Thu, 06/30/2011 - 07:56
Attachment:changed.patch (1.09 KB)

Here is a fix

#2 submitted by Paolo Bonzini on Thu, 06/30/2011 - 11:37
Status:active» fixed

I've committed a similar change using Object.Dependencies.

User login