Date: Wed, 20 Jul 2005 01:12:24 -0400 From: Joe Marcus Clarke <marcus@FreeBSD.org> To: Hin-Tak Leung <hintak_leung@yahoo.co.uk> Cc: FreeBSD GNOME Users <gnome@FreeBSD.org>, freetype-devel@nongnu.org Subject: Re: [ft-devel] Re: xorg crashes with freetype2-2.1.10 Message-ID: <1121836344.38031.6.camel@shumai.marcuscom.com> In-Reply-To: <42DDDE44.9010707@yahoo.co.uk> References: <1121631880.80601.11.camel@shumai.marcuscom.com> <op.st4sftf09aq2h7@mezz.mezzweb.com> <42DD6D25.3050309@yahoo.co.uk> <42DD6FAC.5040200@FreeBSD.org> <42DDDE44.9010707@yahoo.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-Ij3nlpz0Qlb4xEWMhwtK Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2005-07-20 at 06:16 +0100, Hin-Tak Leung wrote: > The ChangeLog entry does mention the specific change explicitly: Ah. Still kind of cryptic, though. _Why_ shouldn't they be used? >=20 > 2005-02-28 David Turner <david@freetype.org> > ... > * src/sfnt/sfdriver.c (sfnt_interface) > [TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: Don't use `tt_find_sbit_ima= ge' > and `tt_load_sbit_metrics'. > ... >=20 > So the change is intentional. I just upgraded to stock freetype 2.1.10 > (was using cvs-2004-dec-31), went around a few web pages with mozilla-xft= , > and I don't have crashes. I am using xorg 6.8.2 on linux. How do you > trigger the crash? Honestly, I have been able to trigger the crash myself. It appears to be triggered by a certain font (or set of fonts). The Microsoft webfonts seem to be particularly problematic. Joe >=20 > Joe Marcus Clarke wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > >=20 > > Hin-Tak Leung wrote: > > | Found the CVS entry: > > | > > | > > http://savannah.nongnu.org/cgi-bin/viewcvs/freetype/freetype2/src/sfnt/= sfdriver.c.diff?r1=3D1.71&r2=3D1.72=20 > >=20 > >=20 > > | > > | > > | > > | * include/freetype/internal/tttypes.h, src/sfnt/ttsbit.c, > > | src/sfnt/ttsbit0.c, > > | src/truetype/ttobjs.c, src/cff/cffobjs.c, src/sfnt/sfobjs.c: > > | implementing new > > | heap-optimized embedded bitmap loader. This one also fixes bug #121= 07 > > | > > | checked in by user 'freetype' (David Turner?). they were changed to N= ULL, > > | then to zero - there must be a reason? > >=20 > > Yes, there must be a reason, but that commit message doesn't list > > sfdriver.c explicitly. That's why I was wondering what the exact reaso= n > > was for the change, and what new steps should be done to get similar > > results from FT. > >=20 > > Joe > >=20 > > | > > | Jeremy Messenger wrote: > > | > > |> On Sun, 17 Jul 2005 15:24:40 -0500, Joe Marcus Clarke > > |> <marcus@FreeBSD.org> wrote: > > |> > > |>> Looks like the freetype module in xorg (and XFree86) makes referenc= e to > > |>> SFNT_Service->find_sbit_image which is now 0 in FT 2.1.10 (it used=20 > > to be > > |>> initialized to tt_find_sbit_image). This causes X to die rather > > |>> abruptly when trying to dereference this symbol: > > |>> > > |>> http://people.freebsd.org/~mezz/gdb/gdb-freetype2.txt > > |>> > > |>> I assume this was done by design in FT (though I couldn't find a co= mmit > > |>> message that said spoke about this particular change). If so, what > > |>> should X be doing to correctly obtain the glyph sbit? Thanks! > > |> > > |> > > |> > > |> I have solved the crash. I have been using it for the thirty minutes > > |> and no crash so far. If I do unpatch and it will crash within five > > |> minutes. Here's patch to put in freetype2/files. Don't know if patc= h > > |> is right, but at least it's fixed for me. > > |> > > |> http://people.freebsd.org/~mezz/patch-src::sfnt::sfdriver.c > > |> > > |> I found it by compared freetype2 2.1.9 and 2.1.10, you can check if > > |> you want to see for youself. I removed compare of Makefile, configu= re > > |> and other useless stuff. > > |> > > |> http://people.freebsd.org/~mezz/freetype2-compare.diff.bz2 > > |> > > |> It looks like 2.1.10 removed or disabled *find_sbit_image? Search fo= r > > |> 'find_sbit_image' in freetype2-compare.diff.bz2. > > |> > > |> Cheers, > > |> Mezz > > |> > > |>> Joe > > |> > > |> > > |> > > |> > > | > > | > > | ___________________________________________________________ How much > > | free photo storage do you get? Store your holiday snaps for FREE with > > | Yahoo! Photos http://uk.photos.yahoo.com > > | > >=20 > >=20 > > - -- > > Joe Marcus Clarke > > FreeBSD GNOME Team :: gnome@FreeBSD.org > > FreeNode / #freebsd-gnome > > http://www.FreeBSD.org/gnome > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.1 (Darwin) > > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >=20 > > iD8DBQFC3W+rb2iPiv4Uz4cRArfoAJ4tP/XRPRwWykuQL+DZmGldgwCBOgCfZrNl > > ts1bAb9rB9D1InM6I8QuhcA=3D > > =3DT1sX > > -----END PGP SIGNATURE----- > >=20 >=20 > =09 > =09 > =09 > ___________________________________________________________=20 > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voic= email http://uk.messenger.yahoo.com >=20 --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-Ij3nlpz0Qlb4xEWMhwtK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC3d04b2iPiv4Uz4cRAlTgAKCU0Icfo0tgZYYLab0AJEaGmqkOcQCgnXTf vXbygCDKgWtuvWLrGwPAzdE= =kho8 -----END PGP SIGNATURE----- --=-Ij3nlpz0Qlb4xEWMhwtK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1121836344.38031.6.camel>