On Thu, Sep 05, 2002 at 04:54:29PM -0700, Jeffrey Baker wrote:
I downloaded, built, and installed the fontconfig2 package
from fontconfig.org, on an x86 box running Debian
unstable/experimental. No problems building or installing.
When I start Mozilla (also from fontconfig.org), it
segfaults. Using strace I see that it segfaults right after
opening and reading a font in
/usr/share/fonts/truetype/openoffice. I deleted the
offending font, but it segfaulted on another font in that
directory. I removed the ttf-openoffice package and that
fixed the problem.
You can test this by installing the ttf-openoffice package
which is in Debian (unstable, at least).
I'll rebuild Xft2 and fontconfig with -g, and attach with
the debugger if I can.
This is the offending stack:
#0 0x409b7b92 in ps3_hints_apply () from /usr/lib/libfreetype.so.6
#1 0x40994a64 in FT_Get_Next_Char () from /usr/lib/libfreetype.so.6
#2 0x40960fe5 in FcFreeTypeCharSet (face=0x82ce1c0, blanks=0x8240cc0) at
fccharset.c:1891
#3 0x40963880 in FcFreeTypeQuery (file=0x82c6b68
/usr/share/fonts/truetype/openoffice/chevaraor.ttf, id=0,
blanks=0x8240cc0, count=0xbfffd584) at fcfreetype.c:515
#4 0x4096292d in FcFileScan (set=0x82405b0, dirs=0x823e8f8, cache=0x8240c00,
blanks=0x8240cc0,
file=0x82c6b68 /usr/share/fonts/truetype/openoffice/chevaraor.ttf, force=0) at
fcdir.c:112
#5 0x40962c1c in FcDirScan (set=0x82405b0, dirs=0x823e8f8, cache=0x8240c00,
blanks=0x8240cc0,
dir=0x82af278 /usr/share/fonts/truetype/openoffice, force=0) at fcdir.c:208
#6 0x4095bf2c in FcConfigBuildFonts (config=0x823e890) at fccfg.c:197
#7 0x40963d9c in FcInitLoadConfigAndFonts () at fcinit.c:83
#8 0x40963df5 in FcInit () at fcinit.c:101
#9 0x4095c04b in FcConfigGetCurrent () at fccfg.c:234
#10 0x4095d973 in FcConfigSubstituteWithPat (config=0x0, p=0x823e730, p_pat=0x0,
kind=FcMatchPattern) at fccfg.c:1050
#11 0x4095e09e in FcConfigSubstitute (config=0x0, p=0x823e730, kind=FcMatchPattern) at
fccfg.c:1250
#12 0x4091f54f in NSGetModule () from /home/jwb/mozilla/components/libgfx_gtk.so
#13 0x40924f78 in NSGetModule () from /home/jwb/mozilla/components/libgfx_gtk.so
#14 0x4091bcf2 in NSGetModule () from /home/jwb/mozilla/components/libgfx_gtk.so
#15 0x400260fe in nsFontCache::GetMetricsFor () from /home/jwb/mozilla/libgkgfx.so
#16 0x400265f5 in DeviceContextImpl::GetMetricsFor () from
/home/jwb/mozilla/libgkgfx.so
Regards
Jeffrey Baker
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts