[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] Crash bug in 2.1.5
From: |
Lars Clausen |
Subject: |
[Devel] Crash bug in 2.1.5 |
Date: |
Tue, 28 Oct 2003 09:47:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021105 |
Hi!
I'm having a nasty little crashbug when trying to use FT2 with Pango. I
use Paps (http://imagic.weizmann.ac.il/~dov/freesw/paps/) to test, in
order to keep other cruft out. I use FreeType version 2.1.5 and Pango
version 1.2.5, installed in local directories, on a RedHat Enterprise
system (2.1, i.e. something like 7.0) kernel 2.4.9 When I run Paps in
GDB, I get the following backtrack:
Program received signal SIGSEGV, Segmentation fault.
__libc_free (mem=0x1) at malloc.c:3136
3136 malloc.c: No such file or directory.
in malloc.c
(gdb) bt
#0 __libc_free (mem=0x1) at malloc.c:3136
#1 0x40267244 in ft_free (memory=0x806ed80, block=0x1)
at /home/lc/src/freetype-2.1.5/builds/unix/ftsystem.c:157
#2 0x402675bd in FT_Free (memory=0x806ed80, P=0x80834b8)
at /home/lc/src/freetype-2.1.5/src/base/ftutil.c:134
#3 0x4029a486 in T1_Face_Done (face=0x8083310)
at /home/lc/src/freetype-2.1.5/src/type1/t1objs.c:232
#4 0x4026a578 in destroy_face (memory=0x806ed80, face=0x8083310,
driver=0x8083218) at /home/lc/src/freetype-2.1.5/src/base/ftobjs.c:695
#5 0x4026b673 in FT_Done_Face (face=0x8083310)
at /home/lc/src/freetype-2.1.5/src/base/ftobjs.c:1838
#6 0x402c8741 in FcFreeTypeQuery (
file=0x805e840 "/usr/share/fonts/default/ghostscript/hrger.pfa", id=0,
blanks=0x805e0b8, count=0xbffec968) at fcfreetype.c:910
#7 0x402c8eea in FcFileScan (set=0x80603d0, dirs=0x805a928,
cache=0x805e4b8,
blanks=0x805e0b8,
file=0x805e840 "/usr/share/fonts/default/ghostscript/hrger.pfa",
force=0)
at fcdir.c:113
#8 0x402c9143 in FcDirScan (set=0x80603d0, dirs=0x805a928,
cache=0x805e4b8,
blanks=0x805e0b8, dir=0x80636b0 "/usr/share/fonts/default/ghostscript",
force=0) at fcdir.c:221
#9 0x402cbc23 in FcConfigBuildFonts (config=0x805a8c0) at fccfg.c:206
#10 0x402c7139 in FcInitLoadConfigAndFonts () at fcinit.c:83
---Type <return> to continue, or q <return> to quit---
#11 0x402c717e in FcInit () at fcinit.c:101
#12 0x402cbd26 in FcConfigGetCurrent () at fccfg.c:243
#13 0x402cd345 in FcConfigSubstituteWithPat (config=0x0, p=0x805acd8,
p_pat=0x0, kind=FcMatchPattern) at fccfg.c:1140
#14 0x402cd7f9 in FcConfigSubstitute (config=0x0, p=0x805acd8,
kind=FcMatchPattern) at fccfg.c:1344
#15 0x400204ef in pango_fc_default_substitute (fontmap=0x8050df8,
pattern=0x805acd8) at pangoft2-fontmap.c:340
#16 0x4001f55f in pango_fc_font_map_get_patterns (fontmap=0x8050df8,
context=0x8058f70, desc=0x805a718, language=0x8059010)
at pangofc-fontmap.cI:574
#17 0x4001f7ba in pango_fc_font_map_load_fontset (fontmap=0x8050df8,
context=0x8058f70, desc=0x805a718, language=0x8059010)
at pangofc-fontmap.cI:699
#18 0x400493ed in pango_font_map_load_fontset (fontmap=0x8050df8,
context=0x8058f70, desc=0x805a718, language=0x8059010)
at pango-fontmap.c:128
#19 0x400486c3 in add_engines (context=0x8058f70, text=0x8059610 "foo",
start_index=0, length=3, attrs=0x8059620, cached_iter=0x8059630,
n_chars=3, analyses=0x805a6c8) at pango-context.c:663
#20 0x40048100 in pango_itemize (context=0x8058f70, text=0x8059610 "foo",
start_index=0, length=3, attrs=0x8059620, cached_iter=0x8059630)
at pango-context.c:424
---Type <return> to continue, or q <return> to quit---
#21 0x4004e26f in pango_layout_check_lines (layout=0x80595c0)
at pango-layout.c:2989
#22 0x4004b7b5 in pango_layout_get_line_count (layout=0x80595c0)
at pango-layout.c:905
#23 0x0804a076 in split_paragraphs_into_lines (paragraphs=0x8050ed8)
at paps.c:446
#24 0x08049d47 in main (argc=1, argv=0xbffecf04) at paps.c:335
#25 0x40139687 in __libc_start_main (main=0x80495d0 <main>, argc=1,
ubp_av=0xbffecf04, init=0x804915c <_init>, fini=0x804ac80 <_fini>,
rtld_fini=0x4000dc54 <_dl_fini>, stack_end=0xbffecefc)
at ../sysdeps/generic/libc-start.c:129
I can send you the font in question, if you want (58K).
-Lars
- [Devel] Crash bug in 2.1.5,
Lars Clausen <=