Trunk updates all the way from 3.10.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Trunk updates all the way from 3.10.2

Stephane Schitter
Hi,

I am trying to convert a standard 3.10.2 image all the way through to the latest trunk version. The process works but the resulting image does hang when  trying to load Monticello-ar.323(321) - I saw 2 lists message referring to that bug and the answer was to rather use the latest trunk version from http://ftp.squeak.org/trunk/

Is that it - will I not be able to built an up-to-date trunk from a 3.10.2 release ?

Also, the image I saved just before the point it hung on Monticello-ar.323(321) was very large (40Mb) compared to those recent trunk versions available from the squeak ftp server (23Mb)

How do you shrink the images to get such results ?


Regards,
Stephane
Reply | Threaded
Open this post in threaded view
|

Re: Trunk updates all the way from 3.10.2

Andreas.Raab
Stephane Schitter wrote:
> I am trying to convert a standard 3.10.2 image all the way through to the latest trunk version. The process works but the resulting image does hang when  trying to load Monticello-ar.323(321) - I saw 2 lists message referring to that bug and the answer was to rather use the latest trunk version from http://ftp.squeak.org/trunk/

I don't recall the issue in question. Can you remind what it was? The
only thing I remember is that of having to change an iVar in
MethodContext and the answer to this is to execute the following before
you start updating:

        MethodContext instVarNames at: 2 put: 'closureOrNil'.

> Is that it - will I not be able to built an up-to-date trunk from a 3.10.2 release ?

No, the goal is that people should always be able to build their own
images from 3.10 or 3.10.2 or any derived variants.

> Also, the image I saved just before the point it hung on Monticello-ar.323(321) was very large (40Mb) compared to those recent trunk versions available from the squeak ftp server (23Mb)
>
> How do you shrink the images to get such results ?

Clear the Monticello caches, i.e., open the Monticello browser and
choose "flush cached versions". This should help.

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: Re: Trunk updates all the way from 3.10.2

Stephane Schitter

Le 22 nov. 2009 à 00:49, Andreas Raab a écrit :

Stephane Schitter wrote:
I am trying to convert a standard 3.10.2 image all the way through to the latest trunk version. The process works but the resulting image does hang when  trying to load Monticello-ar.323(321) - I saw 2 lists message referring to that bug and the answer was to rather use the latest trunk version from http://ftp.squeak.org/trunk/

I don't recall the issue in question. Can you remind what it was? 

The problem I am experiencing is that the update process gets stuck when processing update-ar.19 (specifically on Monticello-ar.323(321)).
I am doing this on OSX with the Squeak 4.2.2beta1U VM, and starting from the 3.10.2-7179-basic image. I am going through the following steps: loading the latest monticelloconfigurations from source.squeak.org/trunk, applying the iVar change you referred to, starting the update process, on the way there is a conflict on PreferenceExample which I resolve by "Rest Remote" and "Merge".

The 2 only messages I found, referring to that same problem are:



How do you shrink the images to get such results ?

Clear the Monticello caches, i.e., open the Monticello browser and choose "flush cached versions". This should help.

Thanks, it does indeed help to recover some space.

Regards,
Stephane



Reply | Threaded
Open this post in threaded view
|

Re: Trunk updates all the way from 3.10.2

Levente Uzonyi-2
In reply to this post by Stephane Schitter
On Sat, 21 Nov 2009, Stephane Schitter wrote:

> Hi,
>
> I am trying to convert a standard 3.10.2 image all the way through to the latest trunk version. The process works but the resulting image does hang when  trying to load Monticello-ar.323(321) - I saw 2 lists message referring to that bug and the answer was to rather use the latest trunk version from http://ftp.squeak.org/trunk/
>
> Is that it - will I not be able to built an up-to-date trunk from a 3.10.2 release ?
>
> Also, the image I saved just before the point it hung on Monticello-ar.323(321) was very large (40Mb) compared to those recent trunk versions available from the squeak ftp server (23Mb)

It seems to be hanging, but it's not. MCConfiguration >> #logUpdate:with:
tries to create a log message, therefore it sends #allAncestorsOnPathTo:
to an MCVersionInfo which creates an MCFilteredVersionSorter.
MCFilteredVersionSorter >> #sortedVersionInfos seems to take forever,
because #processVersionInfo: recurses all the way down the ancestor tree
with some non-optimal method. So when you see it hanging just press alt+.,
press debug, find the context for MCConfiguration >> #logUpdate:with:,
open the menu with a right click (blue button?), select 'return
entered value' press accept and press proceed. With this method I just
created a trunk image from 3.10.2-7179-basic. After evaluating
MCFileBasedRepository flushAllCaches. Smalltalk garbageCollect. i got a
17 MB image.

Levente

>
> How do you shrink the images to get such results ?
>
>
> Regards,
> Stephane
>