[Pharo-project] 12186 image quit problem

Alexander Lazarević laza at blobworks.com
Fri Oct 8 12:54:29 EDT 2010


Igor,

maybe this just passed me by, but is this supposed to work only with
some finalization support in the vm? So is PharoCore1.2 only usable
with a very recent vm? Which VMMaker version is needed or what does
your squeak -version say?
In that case I did not say a word! ;)

Alex

2010/10/8 Igor Stasenko <siguctua at gmail.com>:
> 2010/10/8 Pavel Krivanek <pavel.krivanek at gmail.com>:
>>
>> On Fri, Oct 8, 2010 at 12:43 PM, Marcus Denker <marcus.denker at inria.fr>
>> wrote:
>>>
>>> On Oct 8, 2010, at 12:39 PM, Pavel Krivanek wrote:
>>>
>>> > Hi Marcus,
>>> >
>>> > is that really all what happened between 12172 and 12186?
>>> >
>>> > update12186
>>> > Issue 3071:   fixing timestamp tests
>>> > Issue 3068:   Non portable SmalltalkImage>>platformName
>>> > deprecationWarning
>>> > Issue 3063:   removing explain
>>> > Issue 3039:   There should not be any configuration on Core
>>> >
>>> > It doesn't explain the problems with VM versions and in 12186 I cannot
>>> > build the PharoKernel (it hangs without error in unload phase)
>>> >
>>> No, we loaded:
>>>
>>> Issue 3002:     A new finalization code ready for integration in Pharo
>>> http://code.google.com/p/pharo/issues/detail?id=3002
>>
>> ok, can you reproduce this on your VM?
>> - take prebuilt 12186
>> - run the image with a file as argument that contains:
>>  SmalltalkImage current snapshot: true andQuit: true.
>> - run the image with a file as argument that contains:
>> 5 timesRepeat: [Smalltalk garbageCollect].
>> SmalltalkImage current snapshot: false andQuit: true.
>>
>
> The problem is in MCMethodDefinition>>shutdown.
>
> Saving works, if i change it to:
>
> shutDown
> "       WeakArray removeWeakDependent: Definitions."
>        Definitions := nil.
>
> Not sure what happens there..
>
> Also, it runs without fix, if i do:
>
> WeakArray restartFinalizationProcess.
> 5 timesRepeat: [Smalltalk garbageCollect].
> SmalltalkImage current snapshot: false andQuit: true.
>
>
>
>> -- Pavel
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




More information about the Pharo-dev mailing list