Re: 2 Segmentation faults and 1 endless loop caused by malformed Font files.

Hin-Tak Leung <[email protected]> Sat, 7 Feb 2026 19:28:37 +0000 (UTC)
Newsgroups gmane.comp.fonts.freetype.devel
Message-ID <[email protected]>
------=_Part_238583_1985656863.1770492517116
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

 Shameless plug - while I don't actively do anything with font validator at=
 the moment / in the near future, it probably is useful for some "mildly br=
oken" fonts to see why they are broken, and still have some advantages over=
 a few other font checking tools.
The next major FontVal update (hopefully) is a FontVal-RX release, to make =
freetype optional with "alternative rasterizer(s)".
    On Saturday 7 February 2026 at 19:18:15 GMT, Alexei Podtelezhnikov <apo=
[email protected]> wrote: =20
=20
=20
Hi Hiromi

Of all your files only 21_broken.ttf is obviously broken. You information i=
s interesting but impossible to reproduce without detailed instructions and=
 backytaces.

Please file separate contained reports, one issue at a time. You need to wr=
ite a small program to reproduce the crashes. Or, alternatively, try to cra=
sh our demo programs ftview, ftmulti, ftgrid, ftstring, ftdump, ftlint.

So far I was able to examine all you fonts without errors, except one. Plea=
se understand that Firefox crashes belong to Firefox until you can demonstr=
ate them separately.

Alexei

> On Feb 7, 2026, at 12:11, Werner LEMBERG <[email protected]> wrote:
>=20
> =EF=BB=BF
>> I made a few font files the will cause 2 segmentation faults and 1
>> endless loop.=C2=A0 [...]
>=20
> Thanks, will have a look soon.=C2=A0 Does this crash with the current
> FreeType development version?
>=20
>> There is zip file with 18 mb and the password is 12345
>=20
> The next time, please do not send such large attachments to our
> mailing lists!=C2=A0 Instead, you should open an issue in our tracker at
>=20
>=C2=A0 https://gitlab.freedesktop.org/freetype/freetype/-/issues
>=20
> where you can also set the confidentiality flag if necessary.
>=20
>=20
>=C2=A0 =C2=A0 Werner
>=20

 =20
------=_Part_238583_1985656863.1770492517116
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"ydpe10fee62yahoo-style-wrap" style=
=3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px=
;"><div></div>
        <div>Shameless plug - while I don't actively do anything with font =
validator at the moment / in the near future, it probably is useful for som=
e "mildly broken" fonts to see why they are broken, and still have some adv=
antages over a few other font checking tools.</div><div><br></div><div>The =
next major FontVal update (hopefully) is a FontVal-RX release, to make free=
type optional with "alternative rasterizer(s)".</div><div><br></div>
       =20
        <div id=3D"ydpe10fee62yahoo_quoted_0631119904" class=3D"ydpe10fee62=
yahoo_quoted">
            <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s=
ans-serif;font-size:13px;color:#26282a;">
               =20
                <div>
                        On Saturday 7 February 2026 at 19:18:15 GMT, Alexei=
 Podtelezhnikov &lt;[email protected]&gt; wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
               =20
               =20
                <div><div dir=3D"ltr"><br clear=3D"none">Hi Hiromi<br clear=
=3D"none"><br clear=3D"none">Of all your files only 21_broken.ttf is obviou=
sly broken. You information is interesting but impossible to reproduce with=
out detailed instructions and backytaces.<br clear=3D"none"><br clear=3D"no=
ne">Please file separate contained reports, one issue at a time. You need t=
o write a small program to reproduce the crashes. Or, alternatively, try to=
 crash our demo programs ftview, ftmulti, ftgrid, ftstring, ftdump, ftlint.=
<br clear=3D"none"><br clear=3D"none">So far I was able to examine all you =
fonts without errors, except one. Please understand that Firefox crashes be=
long to Firefox until you can demonstrate them separately.<br clear=3D"none=
"><br clear=3D"none">Alexei<br clear=3D"none"><div class=3D"ydpe10fee62yqt4=
814691523" id=3D"ydpe10fee62yqtfd05032"><br clear=3D"none">&gt; On Feb 7, 2=
026, at 12:11, Werner LEMBERG &lt;<a shape=3D"rect" href=3D"mailto:[email protected]=
rg" rel=3D"nofollow" target=3D"_blank">[email protected]</a>&gt; wrote:<br clear=
=3D"none">&gt; <br clear=3D"none">&gt; =EF=BB=BF<br clear=3D"none">&gt;&gt;=
 I made a few font files the will cause 2 segmentation faults and 1<br clea=
r=3D"none">&gt;&gt; endless loop.&nbsp; [...]<br clear=3D"none">&gt; <br cl=
ear=3D"none">&gt; Thanks, will have a look soon.&nbsp; Does this crash with=
 the current<br clear=3D"none">&gt; FreeType development version?<br clear=
=3D"none">&gt; <br clear=3D"none">&gt;&gt; There is zip file with 18 mb and=
 the password is 12345<br clear=3D"none">&gt; <br clear=3D"none">&gt; The n=
ext time, please do not send such large attachments to our<br clear=3D"none=
">&gt; mailing lists!&nbsp; Instead, you should open an issue in our tracke=
r at<br clear=3D"none">&gt; <br clear=3D"none">&gt;&nbsp; <a shape=3D"rect"=
 href=3D"https://gitlab.freedesktop.org/freetype/freetype/-/issues" rel=3D"=
nofollow" target=3D"_blank">https://gitlab.freedesktop.org/freetype/freetyp=
e/-/issues</a><br clear=3D"none">&gt; <br clear=3D"none">&gt; where you can=
 also set the confidentiality flag if necessary.<br clear=3D"none">&gt; <br=
 clear=3D"none">&gt; <br clear=3D"none">&gt;&nbsp; &nbsp; Werner<br clear=
=3D"none">&gt; <br clear=3D"none"><br clear=3D"none"></div></div></div>
            </div>
        </div></div></body></html>
------=_Part_238583_1985656863.1770492517116--