Re: fontconfig-2.1.92 considered harmful

From: Joe Marcus Clarke <marcus_at_marcuscom.com>
Date: 18 Apr 2003 12:16:03 -0400
On Fri, 2003-04-18 at 09:09, NAKAJI Hiroyuki wrote:
> >>>>> In <3E9FCB75.9080600_at_algroup.co.uk> 
> >>>>>	Ben Laurie <ben_at_algroup.co.uk> wrote:
> 
> > > Thanks for the quick reply, here you go:
> > > 
> > > #0  0x00000000 in ?? ()
> > > #1  0x280a155a in FT_Get_BDF_Property () from
> > > /usr/local/lib/libfreetype.so.9
> 
> > And mine dies with an undefined reference to this symbol - missing
> > dependency, perhaps?
> 
> On my box, xclock also dumps core. Is freetype2 harmful?

It appears so.  I have a patch (attached), but I'm not sure it's really
the correct way to go.  I have an email out to the freetype and
fontconfig people.

Joe

> 
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1  0x280b161d in FT_Get_BDF_Property () from /usr/local/lib/libfreetype.so.9
> #2  0x2808ef74 in FcFreeTypeQuery () from /usr/X11R6/lib/libfontconfig.so.1
> #3  0x2808df3a in FcFileScan () from /usr/X11R6/lib/libfontconfig.so.1
> #4  0x2808e1ba in FcDirScan () from /usr/X11R6/lib/libfontconfig.so.1
> #5  0x28089989 in FcConfigBuildFonts () from /usr/X11R6/lib/libfontconfig.so.1
> #6  0x2808fb1a in FcInitLoadConfigAndFonts ()
>    from /usr/X11R6/lib/libfontconfig.so.1
> #7  0x2808fb63 in FcInit () from /usr/X11R6/lib/libfontconfig.so.1
> #8  0x2807ae93 in XftInit () from /usr/X11R6/lib/libXft.so.2
> #9  0x28077e2c in XftFontMatch () from /usr/X11R6/lib/libXft.so.2
> #10 0x280780dc in XftFontOpenName () from /usr/X11R6/lib/libXft.so.2
> #11 0x08049da0 in XmuCvtStringToXftFont (dpy=0x805b000, args=0x8061a40, 
>     num_args=0x8061a40, fromVal=0xbfbfda78, toVal=0xbfbfda68, 
>     converter_data=0xbfbfd934) at Clock.c:381
> #12 0x281a6485 in CallConverter () from /usr/X11R6/lib/libXt.so.6
> #13 0x281a6746 in _XtConvert () from /usr/X11R6/lib/libXt.so.6
> #14 0x281be212 in GetResources () from /usr/X11R6/lib/libXt.so.6
> #15 0x281be692 in _XtGetResources () from /usr/X11R6/lib/libXt.so.6
> #16 0x281aaed1 in xtCreate () from /usr/X11R6/lib/libXt.so.6
> #17 0x281ab486 in _XtCreateWidget () from /usr/X11R6/lib/libXt.so.6
> #18 0x281ab59c in XtCreateManagedWidget () from /usr/X11R6/lib/libXt.so.6
> #19 0x08049a6e in main (argc=1, argv=0xbfbff2f8) at xclock.c:182
> ---Type <return> to continue, or q <return> to quit---
> #20 0x0804974d in _start ()
> 
> $ uname -v
> FreeBSD 5.0-CURRENT #82: Tue Apr 15 15:54:25 JST 2003 ....
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



Received on Fri Apr 18 2003 - 07:16:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:04 UTC