[squeak-dev] It's not yet clear how serialization should work in the presence of environments

David T. Lewis lewis at mail.msen.com
Sun Nov 29 23:52:43 UTC 2015


On Fri, Nov 27, 2015 at 10:00:44PM -0800, Colin Putney wrote:
> On Tue, Nov 24, 2015 at 1:01 PM, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> 
> 
> >  This simple case where there is only one environment is described in
> > http://bugs.squeak.org/view.php?id=7814
> >
> > And currently probably nearly 100% of the users still have only one
> > environment.
> >
> > What would it mean to fix this case?
> >
> 
> Ok, I think I've got it sorted out. I've made the following changes in
> trunk:

Colin,

Thank you for doing this!

> 
> With these four changes, it's possible to save and load projects in a
> Squeak 4.6 image. It doesn't work in a trunk image, however. The Spur VM
> crashes when saving a project. I've reported that on the VM list. It also
> fails to load an image segment - looks like the primitive for that isn't
> quite finished in Spur.
> 

Your message to vm-dev was initially blocked due to message size, but I
re-sent it to the list and put a copy of your crash-image.zip here:

  http://squeakvm.org/~lewis/tmp/crash-image.zip

It's a holiday week in the US so you may not get an immediate response on
the crash issue.

The main thing is that you have it working in 4.6 (yay!) so we now have a
working baseline for image segments with Environments, and whatever issues
are appearing in 5.0/trunk can be much more easily understood and addressed.

> Though I've tested these changes in a 4.6 image, I committed them to trunk
> only. What's the correct way to get them into the 4.6 update stream as well?
> 

I am not certain, but I expect we will want to merge them back into the
squeak46 repository, and possibly also consider doing a maintenance release
to the 4.6 image. Having an up to date image with working image segments
seems like a pretty big deal to me :-)

Dave




More information about the Squeak-dev mailing list