freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] core in freetype2 code


From: Joseph Olatt
Subject: Re: [Devel] core in freetype2 code
Date: Mon, 20 Sep 2004 07:20:37 -0700
User-agent: Mutt/1.2.5.1i

Hello,

I was able to resolve this problem by doing the following in FreeBSD:

# cd /usr/ports/x11-fonts/fontconfig
# make deinstall clean
# make reinstall clean

I had suspected that the core dump in freetype2 was probably because of
a corrupt font file or some such. So I started deinstalling and
reinstalling all the font related dependent packages and was able to
solve the problem.

It would be nice if freetype2 did not core dump because of corrupt font
files (I think I saw a comment in one of the freetype2 source files
conveyed the same message. I don't remember which file.)

I would have thought that a "portupgrade -a" would have taken care of
this. That is what I ran after my cvsup and unfortunately it did not.

At least, my problem is solved.

regards,
-j



On Sun, Sep 19, 2004 at 07:44:36AM -0700, Joseph Olatt wrote:
> Hello,
> 
> Since the last time I updated my ports tree on my FreeBSD stable box,
> palm/pose has been core dumping upon startup. After enabling "-g" in
> palm/pose and the other dependent packages including freetype2, I found
> that the core happens in freetype2 ver. 2.1.7 sources in the file
> gzip/ftgzip.c: line 406, function inflate(). The function inflate() is
> coming from inflate.c but for some reason I'm not getting the debug
> details from that file even though freetype2 was compiled with the "-g"
> option. Has anybody else encountered this problem or know why this could
> be happening?
> 
> I'm attaching the backtrace if it will be helpful.
> 
> thanks,
> -joseph
> 
> 
> #0  0x0 in ?? ()
> #1  0x832ead3 in inflate ()
> #2  0x832ce96 in inflate_codes ()
> #3  0x832cfba in inflate ()
> #4  0x28d6cd6e in ft_gzip_file_fill_output (zip=0x86b4000)
>     at /home/ports/print/freetype2/work/freetype-2.1.7/src/gzip/ftgzip.c:406
> #5  0x28d6cfbc in ft_gzip_file_io (zip=0x86b4000, pos=0, buffer=0x85b1910 "", 
> count=8)
>     at /home/ports/print/freetype2/work/freetype-2.1.7/src/gzip/ftgzip.c:506
> #6  0x28d6d071 in ft_gzip_stream_io (stream=0x86b3084, pos=0, 
> buffer=0x85b1910 "", count=8)
>     at /home/ports/print/freetype2/work/freetype-2.1.7/src/gzip/ftgzip.c:552
> #7  0x28d47ee1 in FT_Stream_EnterFrame (stream=0x86b3084, count=8)
>     at /home/ports/print/freetype2/work/freetype-2.1.7/src/base/ftstream.c:217
> #8  0x28d48988 in FT_Stream_ReadFields (stream=0x86b3084, fields=0x28da4420, 
> structure=0x86b30b8)
>     at /home/ports/print/freetype2/work/freetype-2.1.7/src/base/ftstream.c:685
> #9  0x28d6d494 in pcf_read_TOC (stream=0x86b3084, face=0x86b3000)
>     at /home/ports/print/freetype2/work/freetype-2.1.7/src/pcf/pcfread.c:100
> #10 0x28d6e9fc in pcf_load_font (stream=0x86b3084, face=0x86b3000)
>     at /home/ports/print/freetype2/work/freetype-2.1.7/src/pcf/pcfread.c:874
> #11 0x28d6f4dc in PCF_Face_Init (stream=0x86b3084, face=0x86b3000, 
> face_index=0, num_params=0, 
>     params=0x0) at 
> /home/ports/print/freetype2/work/freetype-2.1.7/src/pcf/pcfdrivr.c:262
> #12 0x28d4c7c6 in open_face (driver=0x8661f80, stream=0x86b2100, 
> face_index=0, num_params=0, 
>     params=0x0, aface=0xbfbff0fc)
>     at /home/ports/print/freetype2/work/freetype-2.1.7/src/base/ftobjs.c:901
> #13 0x28d4d968 in FT_Open_Face (library=0x865ca00, args=0xbfbff140, 
> face_index=0, aface=0xbfbff218)
>     at /home/ports/print/freetype2/work/freetype-2.1.7/src/base/ftobjs.c:1661
> #14 0x28d4c8a2 in FT_New_Face (library=0x865ca00, 
>     pathname=0x86a9000 "/usr/X11R6/lib/X11/fonts/cyrillic/crox1c.pcf.gz", 
> face_index=0, 
>     aface=0xbfbff218) at 
> /home/ports/print/freetype2/work/freetype-2.1.7/src/base/ftobjs.c:960
> #15 0x28d22886 in FcFreeTypeQuery () from /usr/X11R6/lib/libfontconfig.so.1
> #16 0x28d22276 in FcFileScan () from /usr/X11R6/lib/libfontconfig.so.1
> #17 0x28d224f7 in FcDirScan () from /usr/X11R6/lib/libfontconfig.so.1
> #18 0x28d1d86f in FcConfigBuildFonts () from /usr/X11R6/lib/libfontconfig.so.1
> #19 0x28d23e7c in FcInitLoadConfigAndFonts () from 
> /usr/X11R6/lib/libfontconfig.so.1
> #20 0x28d23ebf in FcInit () from /usr/X11R6/lib/libfontconfig.so.1
> #21 0x28713185 in XftInit () from /usr/X11R6/lib/libXft.so.2
> #22 0x2870fe9f in XftFontMatch () from /usr/X11R6/lib/libXft.so.2
> #23 0x2870fffd in XftFontOpen () from /usr/X11R6/lib/libXft.so.2
> #24 0x2843b59e in fontopen () from /usr/X11R6/lib/libfltk.so.1
> #25 0x2843b5ee in Fl_FontSize::Fl_FontSize () from /usr/X11R6/lib/libfltk.so.1
> #26 0x2843b4a8 in fl_font () from /usr/X11R6/lib/libfltk.so.1
> #27 0x2843b955 in fl_normal_label () from /usr/X11R6/lib/libfltk.so.1
> #28 0x2843ba5d in Fl_Label::draw () from /usr/X11R6/lib/libfltk.so.1
> #29 0x2843bc21 in Fl_Widget::draw_label () from /usr/X11R6/lib/libfltk.so.1
> #30 0x2843bb9c in Fl_Widget::draw_label () from /usr/X11R6/lib/libfltk.so.1
> #31 0x2843bb58 in Fl_Widget::draw_label () from /usr/X11R6/lib/libfltk.so.1
> #32 0x283fa601 in Fl_Box::draw () from /usr/X11R6/lib/libfltk.so.1
> #33 0x28407c2e in Fl_Group::draw_child () from /usr/X11R6/lib/libfltk.so.1
> #34 0x806a0d0 in basic_string<char, string_char_traits<char>, 
> __default_alloc_template<false, 0> >::operator= ()
> #35 0x283f5999 in Fl_Window::flush () from /usr/X11R6/lib/libfltk.so.1
> #36 0x283f47b6 in Fl::flush () from /usr/X11R6/lib/libfltk.so.1
> #37 0x283f44f6 in Fl::wait () from /usr/X11R6/lib/libfltk.so.1
> #38 0x80523d8 in Fl_Browser::value ()
> #39 0x8051f6c in Fl_Browser::value ()
> #40 0x8051dee in Fl_Browser::value ()
> 
> 
> _______________________________________________
> Devel mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]