[squeak-dev] Bug Report: Squeak 6.0 loading Squeak 4.3 RectangleMorph .morph

tim Rowledge tim at rowledge.org
Mon Apr 3 05:21:32 UTC 2023

> On 2023-04-02, at 10:19 PM, tim Rowledge <tim at rowledge.org> wrote:
> 1. It loads perfectly well in a 5.3 image
> 2. It fails to load in a 6 image because the Dictionary scan as part of the SmartRefStream>>#verifyStructure returns 9 instead of the correct 3 and thus returns nil instead of the Color. If I rehash the 'structures' Dictionary everything is ok.
> 3. The problem seems to start in SmartRefStream>#next, where the 'ss' loaded has at 4 a Dictionary of superclasses that also seems to need rehashing.
> So, just a WAG late at night, but it looks like something changed wrt hashing.

Yeah - if I simply stick a rehash of 'ss' and 'structures' in that method it loads ok. I kinda doubt that is a truly principled solution though.

tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: DPC: Double Precision Crash

More information about the Squeak-dev mailing list