Bug#215076: xfonts-scalable: traceback from xftcache
Package: xfonts-scalable
Version: 4.2.1-12.1
Followup-For: Bug #215076
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux duron 2.4.22 #72 Thu Sep 18 01:08:58 JST 2003 i686
Locale: LANG=ja_JP.ujis, LC_CTYPE=ja_JP.ujis (ignored: LC_ALL set to ja_JP.ujis)
Versions of packages xfonts-scalable depends on:
ii xutils 4.2.1-6 X Window System utility programs
-- no debconf information
Sorry that I jumped in during an on-going investigation,
but I think the more traceback from different
crashes, the better.
Here is what I find on my crash.
There are obviously some binary data dumpbed
by gdb's "bt full", but the problem is now clear.
xftcache chokes on
> pathname = 0x80570d8 "/usr/lib/X11/fonts/Type1/p052004l.pfb",
during its processing.
One thing that bothers me.
>T1_Builder_Add_Contour (builder=0xbfffd3f0)
> at ../../extras/freetype2/src/psaux/psobjs.c:1192
>warning: Source file is more recent than executable.
cf.
ls -l /usr/X11R6/bin/xftcache
-rwxr-xr-x 1 root root 3636 2003-02-26 09:53 /usr/X11R6/bin/xftcache*
Maybe there is a clock skew somewhere?
Script started on Mon Oct 13 05:55:22 2003
duron:/tmp# gdb /usr/bin/X11/xftcache
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
...
(gdb) run /usr/lib/X11/fonts/Type1
Starting program: /usr/X11R6/bin/xftcache /usr/lib/X11/fonts/Type1
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
T1_Builder_Add_Contour (builder=0xbfffd3f0)
at ../../extras/freetype2/src/psaux/psobjs.c:1192
warning: Source file is more recent than executable.
1192
(gdb) where
#0 T1_Builder_Add_Contour (builder=0xbfffd3f0)
at ../../extras/freetype2/src/psaux/psobjs.c:1192
#1 0x4013f8bc in T1_Builder_Start_Point (builder=0xbfffd3f0, x=-75, y=206)
at ../../extras/freetype2/src/psaux/psobjs.c:1222
#2 0x401405e4 in T1_Decoder_Parse_Charstrings (decoder=0xbfffd3f0,
charstring_base=0x80a33da "$B"^(Bz(@$B"^(Bz(@$B"y(Bb\025\224\n\225\214\216\f\020\f\021\n$B"y(B\224$B"{(B\r\025\226\n\016", charstring_len=29)
at ../../extras/freetype2/src/psaux/t1decode.c:803
#3 0x4014ab5a in T1_Parse_Glyph (decoder=0xbfffd3f0, glyph_index=315)
at ../../extras/freetype2/src/type1/t1gload.c:67
#4 0x4014ac07 in T1_Compute_Max_Advance (face=0x80583a0,
max_advance=0xbfffda14) at ../../extras/freetype2/src/type1/t1gload.c:110
#5 0x4014a71e in T1_Init_Face (stream=0x8083838, face=0x80583a0,
face_index=0, num_params=0, params=0x0)
at ../../extras/freetype2/src/type1/t1objs.c:288
#6 0x4012de3d in open_face (driver=0x8056e20, stream=0x8083838, face_index=0,
num_params=0, params=0x0, aface=0xbfffdac0)
at ../../extras/freetype2/src/base/ftobjs.c:1076
#7 0x4012e069 in FT_Open_Face (library=0x8049a40, args=0xbfffdaf8,
face_index=0, aface=0xbfffdb48)
at ../../extras/freetype2/src/base/ftobjs.c:1237
#8 0x4012deca in FT_New_Face (library=0x8049a40,
pathname=0x80570d8 "/usr/lib/X11/fonts/Type1/p052004l.pfb", face_index=0,
aface=0xbfffdb48) at ../../extras/freetype2/src/base/ftobjs.c:1121
#9 0x40032dc9 in XftFreeTypeQuery () from /usr/X11R6/lib/libXft.so.1
#10 0x40032c42 in XftDirScan () from /usr/X11R6/lib/libXft.so.1
#11 0x0804871a in fwrite ()
#12 0x40171e3e in __libc_start_main () from /lib/libc.so.6
(gdb) bt full
#0 T1_Builder_Add_Contour (builder=0xbfffd3f0)
at ../../extras/freetype2/src/psaux/psobjs.c:1192
builder = (T1_Builder *) 0xbfffd3f0
outline = (FT_Outline *) 0x0
error = 206
#1 0x4013f8bc in T1_Builder_Start_Point (builder=0xbfffd3f0, x=-75, y=206)
at ../../extras/freetype2/src/psaux/psobjs.c:1222
builder = (T1_Builder *) 0xbfffd3f0
error = -1073753104
#2 0x401405e4 in T1_Decoder_Parse_Charstrings (decoder=0xbfffd3f0,
charstring_base=0x80a33da "$B"^(Bz(@$B"^(Bz(@$B"y(Bb\025\224\n\225\214\216\f\020\f\021\n$B"y(B\224$B"{(B\r\025\226\n\016", charstring_len=29)
at ../../extras/freetype2/src/psaux/t1decode.c:803
num_args = 1075054032
top = (FT_Long *) 0xbfffd488
op = 206
value = 1075054032
charstring_base = (FT_Byte *) 0xce <Address 0xce out of bounds>
charstring_len = 1075054032
zone = (T1_Decoder_Zone *) 0xbfffd87c
ip = (
FT_Byte *) 0x8086f6a "\217\201\215\201\213\203\b\213|\202\200\200\212\bV\210\005f\a\220\214\216\f\020\f\021\n$B"y(B \216\213\213\227\213\b\221\214\216\f\020\f\021\n\226\213\213\213$B"y(B'\210\b$B"2(B\as\216\005o\217}\226~$B"*(B\b$B"}(B\227$B"z"s(B\005D\006}f\201p\207\200\b}d\201q\206\200\b$B"}(BI$B"~(BJ\005zdzxu\211\bm\210\005f\a$B"'(B\214$B"$(B\213\223\214\b\222\214\216\f\020\f\021\n$B")(B\214\236\213\224\213\b\224\213\236\213$B")(B\212\b\223\214\216\f\020\f\021\n\224\212$B""(B\213$B"((B\212\b$B"2(B\aY\216\005z\214\177\231\213\234\b\213\222\215\225\216\223\b$B"7"y(B\004\005\t$B"y(B\020$B"y"L(B\025$B"u"}(B\222\005$B"}(B`\006\t\v\213$B"y(B\032\003$B"y(Bk$B"y(B\032\003\vemmg\037e$B"+(B"...
limit = (
FT_Byte *) 0x8087021 "\213$B"y(B\032\003$B"y(Bk$B"y(B\032\003\vemmg\037e$B"+(Bm$B"2(B\036$B"2"+"+"2(B\037$B"1(Bm$B",(Bg\036\t$B"}(Bk\026emmf\037f$B"+(Bm$B"2(B\036$B"2"+"+"2(B\037$B"1(Bm$B",(Bg\036\t\v$B"E(B\006$B"y(B\027$B"^(B\005\223\220\005$B".(B\236\225\231\213$B"#(B\b$B"((By\234q\036s\213y\200tq\b\t\v$B"E(B\006$B"}(B\025$B"y(B(\005t$B"'(Bx\226t\213\bpzzp\037\213u\225}$B"+(Bz\b\217\210\216\211\217\211\b\t\v$B"}(B\r$B"}(BC\005$B"D(B\006$B"y(B\005$B"o(B\005$B"y(B\004)\005$B"F(B\006$B"}(B\017$B"y(BC\005\t\v$B"{(Bn$B"Y(B\001\v\215`\217w\230q\b$B"&(B[$B"<(Bq$B"J(B\213\b$B"E(B\213$B"7"#"("7(B\b\233$B"((B\221$B"%(B\217$B"=(B\b_\006\211\a\213~\201v}|\bwsn\177e\213\bP\213i$B")(B"...
x = -75
y = 206
#3 0x4014ab5a in T1_Parse_Glyph (decoder=0xbfffd3f0, glyph_index=315)
at ../../extras/freetype2/src/type1/t1gload.c:67
decoder = (T1_Decoder *) 0xbfffd3f0
glyph_index = 315
type1 = (T1_Font *) 0xce
#4 0x4014ac07 in T1_Compute_Max_Advance (face=0x80583a0,
max_advance=0xbfffda14) at ../../extras/freetype2/src/type1/t1gload.c:110
face = 0x401405d0
error = -1073753104
decoder = {builder = {memory = 0x8049a28, face = 0x80583a0,
glyph = 0x0, loader = 0x0, base = 0x0, current = 0x0, last = {x = 25,
y = 0}, scale_x = 0, scale_y = 0, pos_x = 0, pos_y = 0, left_bearing = {
x = 10683, y = 0}, advance = {x = 611, y = 0}, bbox = {xMin = 0,
yMin = 0, xMax = 0, yMax = 0}, path_begun = 1 '\001',
load_points = 0 '\0', no_recurse = 0 '\0', shift = 0 '\0', error = 0,
metrics_only = 1 '\001', funcs = {init = 0x4013f67c <T1_Builder_Init>,
done = 0x4013f728 <T1_Builder_Done>,
check_points = 0x4013f74c <T1_Builder_Check_Points>,
add_point = 0x4013f778 <T1_Builder_Add_Point>,
add_point1 = 0x4013f7ec <T1_Builder_Add_Point1>,
add_contour = 0x4013f830 <T1_Builder_Add_Contour>,
start_point = 0x4013f890 <T1_Builder_Start_Point>,
close_contour = 0x4013f8dc <T1_Builder_Close_Contour>}}, stack = {81,
-17, -99, -75, 81, -17, -99, 45, -114, 0 <repeats 247 times>},
top = 0xbfffd490, zones = {{
cursor = 0x80a33e7 "\225\214\216\f\020\f\021\n$B"y(B\224$B"{(B\r\025\226\n\016",
base = 0x80a33da "$B"^(Bz(@$B"^(Bz(@$B"y(Bb\025\224\n\225\214\216\f\020\f\021\n$B"y(B\224$B"{(B\r\025\226\n\016", limit = 0x80a33f7 ""}, {
cursor = 0x8086f66 "$B":"}(B\006\005\217\201\215\201\213\203\b\213|\202\200\200\212\bV\210\005f\a\220\214\216\f\020\f\021\n$B"y(B \216\213\213\227\213\b\221\214\216\f\020\f\021\n\226\213\213\213$B"y(B'\210\b$B"2(B\as\216\005o\217}\226~$B"*(B\b$B"}(B\227$B"z"s(B\005D\006}---Type <return> to continue, or q <return> to quit---
f\201p\207\200\b}d\201q\206\200\b$B"}(BI$B"~(BJ\005zdzxu\211\bm\210\005f\a$B"'(B\214$B"$(B\213\223\214\b\222\214\216\f\020\f\021\n$B")(B\214\236\213\224\213\b\224\213\236\213$B")(B\212\b\223\214\216\f\020\f\021\n\224\212$B""(B\213$B"((B\212\b$B"2(B\aY\216\005z\214\177\231\213\234\b\213\222\215\225\216\223\b$B"7"y(B\004\005\t$B"y(B\020$B"y"L(B\025$B"u"}(B\222\005$B"}(B`\006\t\v\213$B"y(B\032\003$B"y(Bk$B"y(B\032\003\vemm"...,
base = 0x8086f66 "$B":"}(B\006\005\217\201\215\201\213\203\b\213|\202\200\200\212\bV\210\005f\a\220\214\216\f\020\f\021\n$B"y(B \216\213\213\227\213\b\221\214\216\f\020\f\021\n\226\213\213\213$B"y(B'\210\b$B"2(B\as\216\005o\217}\226~$B"*(B\b$B"}(B\227$B"z"s(B\005D\006}f\201p\207\200\b}d\201q\206\200\b$B"}(BI$B"~(BJ\005zdzxu\211\bm\210\005f\a$B"'(B\214$B"$(B\213\223\214\b\222\214\216\f\020\f\021\n$B")(B\214\236\213\224\213\b\224\213\236\213$B")(B\212\b\223\214\216\f\020\f\021\n\224\212$B""(B\213$B"((B\212\b$B"2(B\aY\216\005z\214\177\231\213\234\b\213\222\215\225\216\223\b$B"7"y(B\004\005\t$B"y(B\020$B"y"L(B\025$B"u"}(B\222\005$B"}(B`\006\t\v\213$B"y(B\032\003$B"y(Bk$B"y(B\032\003\vemm"...,
limit = 0x8087021 "\213$B"y(B\032\003$B"y(Bk$B"y(B\032\003\vemmg\037e$B"+(Bm$B"2(B\036$B"2"+"+"2(B\037$B"1(Bm$B",(Bg\036\t$B"}(Bk\026emmf\037f$B"+(Bm$B"2(B\036$B"2"+"+"2(B\037$B"1(Bm$B",(Bg\036\t\v$B"E(B\006$B"y(B\027$B"^(B\005\223\220\005$B".(B\236\225\231\213$B"#(B\b$B"((By\234q\036s\213y\200tq\b\t\v$B"E(B\006$B"}(B\025$B"y(B(\005t$B"'(Bx\226t\213\bpzzp\037\213u\225}$B"+(Bz\b\217\210\216\211\217\211\b\t\v$B"}(B\r$B"}(BC\005$B"D(B\006$B"y(B\005$B"o(B\005$B"y(B\004)\005$B"F(B\006$B"}(B\017$B"y(BC\005\t\v$B"{(Bn$B"Y(B\001\v\215`\217w\230q\b$B"&(B[$B"<(Bq$B"J(B\213\b$B"E(B\213$B"7"#"("7(B\b\233$B"((B\221$B"%(B\217$B"=(B\b_\006\211\a\213~\201v}|\bwsn\177e\213\bP\213i$B")(B"...}, {cursor = 0x0,
base = 0x0, limit = 0x0} <repeats 15 times>}, zone = 0xbfffd87c,
psnames = 0x4015ac24, num_glyphs = 316, glyph_names = 0x8080948, lenIV = 0,
num_subrs = 356, subrs = 0x8081a80, subrs_len = 0x8082018, font_matrix = {
xx = 65536, xy = 0, yx = 0, yy = 65536}, font_offset = {x = 0, y = 0},
flex_state = 0, num_flex_vectors = 0, flex_vectors = {{x = 0, y = 0}, {
x = 0, y = 0}, {x = 0, y = 0}, {x = 0, y = 0}, {x = 0, y = 0}, {x = 0,
y = 0}, {x = 0, y = 0}}, blend = 0x0,
parse_callback = 0x4014aad0 <T1_Parse_Glyph>, funcs = {
init = 0x40140964 <T1_Decoder_Init>, done = 0x40140a20 <T1_Decoder_Done>,
parse_charstrings = 0x4013fc14 <T1_Decoder_Parse_Charstrings>}}
glyph_index = 315
type1 = (T1_Font *) 0x8058424
psaux = (PSAux_Interface *) 0xbfffd3f0
#5 0x4014a71e in T1_Init_Face (stream=0x8083838, face=0x80583a0,
face_index=0, num_params=0, params=0x0)
at ../../extras/freetype2/src/type1/t1objs.c:288
max_advance = 0
face_index = 1075150006
error = 206
psnames = (PSNames_Interface *) 0x4015ac24
psaux = (PSAux_Interface *) 0xbfffd3f0
#6 0x4012de3d in open_face (driver=0x8056e20, stream=0x8083838, face_index=0,
num_params=0, params=0x0, aface=0xbfffdac0)
at ../../extras/freetype2/src/base/ftobjs.c:1076
memory = 0x8049a28
clazz = (FT_Driver_Class *) 0x4015b2e0
face = 0x80583a0
error = 0
internal = 0x8059858
#7 0x4012e069 in FT_Open_Face (library=0x8049a40, args=0xbfffdaf8,
face_index=0, aface=0xbfffdb48)
at ../../extras/freetype2/src/base/ftobjs.c:1237
num_params = 0
params = (FT_Parameter *) 0x401405d0
cur = (FT_Module *) 0x8049a78
limit = (FT_Module *) 0x8049a80
error = 0
driver = 0x0
memory = 0x8049a28
stream = 0x8083838
face = 0x0
node = 0x0
external_stream = 0 '\0'
#8 0x4012deca in FT_New_Face (library=0x8049a40,
pathname=0x80570d8 "/usr/lib/X11/fonts/Type1/p052004l.pfb", face_index=0,
aface=0xbfffdb48) at ../../extras/freetype2/src/base/ftobjs.c:1121
pathname = 0xbfffd3f0 "(\232\004\b$B""(B\203\005\b"
args = {flags = ft_open_pathname,
memory_base = 0x40038414 "\030c\001", memory_size = 3,
pathname = 0x80570d8 "/usr/lib/X11/fonts/Type1/p052004l.pfb",
---Type <return> to continue, or q <return> to quit---
stream = 0xbfffdb18, driver = 0x8049a28, num_params = 0, params = 0x0}
#9 0x40032dc9 in XftFreeTypeQuery () from /usr/X11R6/lib/libXft.so.1
No symbol table info available.
#10 0x40032c42 in XftDirScan () from /usr/X11R6/lib/libXft.so.1
No symbol table info available.
#11 0x0804871a in fwrite ()
No symbol table info available.
#12 0x40171e3e in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) quit
A debugging session is active.
Do you still want to close the debugger?(y or n) quit
Please answer y or n.
A debugging session is active.
Do you still want to close the debugger?(y or n) y
duron:/tmp# exit
Script done on Mon Oct 13 05:56:45 2003
Reply to: