[BUG]-adjustAllOopsBy adjusts if offset is zero?

Andreas Raab andreas.raab at gmx.de
Thu Jul 10 16:39:11 UTC 2003


Hi,

> adjustAllOopsBy: bytesToShift
> 
> actually has a comment
> "Note: Don't bypass this method even if bytesToShift is zero
> 		until the RootBit problem has been fixed in the 
> appropriate places."
> 	"bytesToShift = 0 ifTrue: [ ^ nil ]."
> 
> 
> Does anyone know if it's been fixed?

Don't think so. IIRC, then the problem was that image save assumes that no
object is root but somewhere before we get to actually writing the bits the
active context is marked root. If that isn't cleared when we load the image
it can easily crash.

Cheers,
  - Andreas



More information about the Squeak-dev mailing list