On Jan 12, 2010, at 1:54 PM, Mariano Martinez Peck wrote:
> Another ugly hack maye replace this:
>
> FT2Handle shutDown:
>
>
> shutDown: quitting
> � � "we must not save handles (which are pointers) in the image"
> � � self clearRegistry.
> � � FreeTypeFace allInstances do:[:i |
> � � � � "destroy any faces that are still being referenced"
> � � � � i isValid
> � � � � � � ifTrue:[i destroyHandle ]].
> � � FT2Handle allSubInstances do: [:h | h beNull]. � �"if some handle was not registered"
>
> For this:
>
> shutDown: quitting
> � � "we must not save handles (which are pointers) in the image"
> � � self clearRegistry.
> � � FreeTypeFace allInstances do:[:i |
> � � � � "destroy any faces that are still being referenced"
> � � � � i isValid
> � � � � � � ifTrue:[[i destroyHandle] on: Error do: ["Log somewhere this error, but don't throw an error as it wont save the image"] ]].
> � � FT2Handle allSubInstances do: [:h | h beNull]. � �"if some handle was not registered"
>
>
>
> I mean, if you are executing the shutDown: �and the primitive gives an error, there is not too much you can do about it. So, at least, let me save the image.
>
> Of course, this is a really ugly huck, not near a fix. But, if there is no one that can help us...
>
> cheers
>
> mariano
>
> 2010/1/12 Gary Chambers <
gazzaguru2@btinternet.com>
> Actually, the VM was the string as from SmalltalkImage current vmVersion.
>
> Pharo.exe reports its version (file properties) as 3.11.4.0
>
> Regards, Gary
> ----- Original Message -----
> From: Mariano Martinez Peck
> To:
Pharo-project@lists.gforge.inria.fr
> Sent: Tuesday, January 12, 2010 11:27 AM
> Subject: Re: [Pharo-project] Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
>
>
>
> 2010/1/12 Gary Chambers <
gazzaguru2@btinternet.com>
> I am seeing the same behaviour also, on occasion.
>
>
> Which OS do you use ? Mac OS? VM ? maybe there is a problem in the plugin ?
>
>
> Regards, Gary
> ----- Original Message -----
> From: Mariano Martinez Peck
> To:
Pharo-project@lists.gforge.inria.fr
> Sent: Tuesday, January 12, 2010 11:02 AM
> Subject: Re: [Pharo-project] Error when i try save a image [WAS] Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
>
> The problem is that when you save the image, in the shutDown list, there is freetype and it tries to finish all the handlers. The problem in this case is that one of those handlers that seems to be trying to finish has something in nil or some bad parameter which of course, gives a primitive mail. That's all my idea, maybe I am wrong as it is the first time I look in this code.
>
> As a work arround, you can install the StrikeFOnts instead of TrueTypes. It is not
> the real solution, but works. Just take the dev image with trutype and evaluate:
>
> FreeTypeCache clearCurrent.
> StrikeFont installDejaVu.
>
>
> Cheers
>
> On Mon, Jan 11, 2010 at 5:30 PM, Mariano Martinez Peck <
marianopeck@gmail.com> wrote:
> I could reproduce the problem. epicfan which OS are you using ? VM version ?
>
>
> On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <
marianopeck@gmail.com> wrote:
> yes, actually that's was the mail about.
>
>
>
> On Mon, Jan 11, 2010 at 5:11 PM, St�phane Ducasse <
stephane.ducasse@inria.fr> wrote:
> Do Yyou still have the problem with the latest rc version?
>
> Stef
> On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:
>
> > Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
> >
> > I was going to cc nullPointer, but I discover it is you!!! hahahahah
> >
> >
> > ---------- Forwarded message ----------
> > From: <
epicfan@gmail.com>
> > Date: Mon, Jan 11, 2010 at 4:46 PM
> > Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> > To:
marianopeck@gmail.com
> >
> >
> > The next error:
> >
> >
http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
> >
> > In the last version of developer image that error was fix it. But in that 10505 image returns :|
> >
> > Regards.
> >
> >
> >
> >
> > PD. Could I do something in my code for delete that problem?
> >
> > Regards again.
> >
> > _______________________________________________
> > Pharo-project mailing list
> >
Pharo-project@lists.gforge.inria.fr
> >
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
>
Pharo-project@lists.gforge.inria.fr
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
>
Pharo-project@lists.gforge.inria.fr
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
>
Pharo-project@lists.gforge.inria.fr
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
> _______________________________________________
> Pharo-project mailing list
>
Pharo-project@lists.gforge.inria.fr
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
>
Pharo-project@lists.gforge.inria.fr
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
>
Pharo-project@lists.gforge.inria.fr
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project