[Gnome-print] Seriuos bug in 0.32
- From: Christian Marillat <marillat christian wanadoo fr>
- To: gnome-print ximian com
- Cc: "KORN Andras" <korn chardonnay math bme hu>
- Subject: [Gnome-print] Seriuos bug in 0.32
- Date: 16 Nov 2001 21:07:29 +0100
Hi,
I'm the gnome-print Debian maintainer.
First I think "gnome-config --libs print" should return "-L/usr/lib
-lgnomeprint -lfreetype" instead of "-L/usr/lib -lgnomeprint".
You can read a bug report from an user below.
Christian
From: "KORN Andras" <korn@chardonnay.math.bme.hu>
Subject: Bug#119848: libgnomeprint-data: postinst segfaults
To: Debian Bug Tracking System <submit@bugs.debian.org>
Date: Fri, 16 Nov 2001 13:25:59 +0100
Reply-To: "KORN Andras" <korn@chardonnay.math.bme.hu>, 119848@bugs.debian.org
Resent-From: "KORN Andras" <korn@chardonnay.math.bme.hu>
X-Mailer: reportbug 1.35
Package: libgnomeprint-data
Version: 0.32-2
Severity: important
Justification: makes the package unusable to some people (but possibly not all)
Hi,
Setting up libgnomeprint-data (0.32-2) ...
/var/lib/dpkg/info/libgnomeprint-data.postinst: line 35: 15550 Segmentation fault gnome-font-install --clean --recursive --static --target=/usr/share/gnome/fonts/gnome-print-x11.fontmap /usr/share/fonts/pfbs /usr/share/fonts/afms /usr/X11R6/lib/X11/fonts 2>/dev/null
This _could_ be caused by the large number of fonts I have installed. The
segfault occurs after the 5731st open() call.
The last few lines of the strace:
munmap(0x40023000, 256) = 0
stat64("/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", {st_mode=S_IFREG|0644, st_size=15048, ...}) = 0
stat64("/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", {st_mode=S_IFREG|0644, st_size=15048, ...}) = 0
open("/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", O_RDONLY) = 5
old_mmap(NULL, 15048, PROT_READ, MAP_SHARED, 5, 0) = 0x406d8000
close(5) = 0
open("/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=15048, ...}) = 0
old_mmap(NULL, 15048, PROT_READ, MAP_PRIVATE, 5, 0) = 0x406dc000
close(5) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
ltrace:
SYS_stat64(0x08077d88, 0xbffff5fc, 0x406b0900, 0x0805d690, 0x08077d88) = 0
<... __xstat resumed> ) = 0
__xstat(3, "/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", 0xbffff644 <unfinished ...>
SYS_stat64(0x08077d88, 0xbffff57c, 0xbffff6d4, 0x0805d690, 0x08077d88) = 0
<... __xstat resumed> ) = 0
g_path_is_absolute(0x08077d88, 0x08077d88, 0xbffff644, 4096, 0x08077d88) = 1
g_strdup(0x08077d88, 0x08077d88, 0xbffff644, 4096, 0x08077d88) = 0x08079d28
g_hash_table_lookup(0x08052a30, 0x08079d28, 0xbffff644, 4096, 0x08077d88 <unfinished ...>
g_str_hash(0x08079d28, 0x08077d88, 8453, 0x40122c0a, 0x08077d88) = 0xe79f142c
g_str_equal(0x08060b30, 0x08079d28, 8453, 0x40122c0a, 0x08077d88) = 0
g_str_equal(0x0806cda0, 0x08079d28, 8453, 0x40122c0a, 0x08077d88) = 0
<... g_hash_table_lookup resumed> ) = 0
g_hash_table_lookup(0x08052a80, 0x08079d28, 0xbffff644, 4096, 0x08077d88 <unfinished ...>
g_str_hash(0x08079d28, 0x08079d28, 8453, 0x40122c0a, 0x08077d88) = 0xe79f142c
g_str_equal(0x0807ad80, 0x08079d28, 8453, 0x40122c0a, 0x08077d88) = 0
<... g_hash_table_lookup resumed> ) = 0
g_hash_table_lookup(0x08052ad0, 0x08079d28, 0xbffff644, 4096, 0x08077d88 <unfinished ...>
g_str_hash(0x08079d28, 0x08079d28, 8453, 0x40122c0a, 0x08077d88) = 0xe79f142c
<... g_hash_table_lookup resumed> ) = 0
__xstat(3, "/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", 0xbffff5c4 <unfinished ...>
SYS_stat64(0x08079d28, 0xbffff4ec, 0, 0x08079d28, 0x08079d28) = 0
<... __xstat resumed> ) = 0
__xstat(3, "/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", 0xbffff534 <unfinished ...>
SYS_stat64(0x08079d28, 0xbffff46c, 0xbffff5c4, 0x08079d28, 0x08079d28) = 0
<... __xstat resumed> ) = 0
open("/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", 0, 027777772464 <unfinished ...>
SYS_open("/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", 0, 027777772464) = 5
<... open resumed> ) = 5
mmap(0, 256, 1, 1, 5 <unfinished ...>
SYS_mmap(0xbffff504, 0, 5, 0x08079d28, 0x08079d28) = 0x40023000
<... mmap resumed> ) = 0x40023000
close(5 <unfinished ...>
SYS_close(5) = 0
<... close resumed> ) = 0
strncmp("\200\001\357\002", "StartFontMetrics", 16) = 45
munmap(0x40023000, 256, 16, 4096, 0x08077d88 <unfinished ...>
SYS_munmap(0x40023000, 256) = 0
<... munmap resumed> ) = 0
__xstat(3, "/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", 0xbffff5c4 <unfinished ...>
SYS_stat64(0x08079d28, 0xbffff4ec, 0, 0x08079d28, 0x08079d28) = 0
<... __xstat resumed> ) = 0
__xstat(3, "/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", 0xbffff534 <unfinished ...>
SYS_stat64(0x08079d28, 0xbffff44c, 0xbffff5c4, 0x08079d28, 0x08079d28) = 0
<... __xstat resumed> ) = 0
open("/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", 0, 027777772464 <unfinished ...>
SYS_open("/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", 0, 027777772464) = 5
<... open resumed> ) = 5
mmap(0, 15048, 1, 1, 5 <unfinished ...>
SYS_mmap(0xbffff4e4, 15048, 5, 0x08079d28, 0x08079d28) = 0x406d8000
<... mmap resumed> ) = 0x406d8000
close(5 <unfinished ...>
SYS_close(5) = 0
<... close resumed> ) = 0
strncmp("%!PS-AdobeFont-1.0: Stalingrad-Normal 001.003\r%CreationDate: Mon Aug 03 15:36:26 1992\r%%Creator: Cor"..., "%!PS-AdobeFont-1.", 17) = 0
FT_New_Face(0x08052e28, 0x08079d28, 0, 0xbffff52c, 0 <unfinished ...>
SYS_open("/usr/X11R6/lib/X11/fonts/fontcd/sadn.pfb", 0, 027777772110) = 5
SYS_fstat64(5, 0xbffff2dc, 0xbffff448, 0x0807c960, 5) = 0
SYS_mmap(0xbffff374, 0, 0x4059519c, 0x0807c960, 5) = 0x406dc000
SYS_close(5) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
gdb:
(gdb) where
#0 0x4058a838 in TT_RunIns () from /usr/lib/libfreetype.so.6
#1 0x40565219 in FT_Load_Char () from /usr/lib/libfreetype.so.6
#2 0x40565431 in FT_Open_Face () from /usr/lib/libfreetype.so.6
#3 0x405652a6 in FT_New_Face () from /usr/lib/libfreetype.so.6
#4 0x0804c215 in gf_pfb_open ()
#5 0x0804a753 in main ()
#6 0x0804ad7b in main ()
#7 0x0804abcf in main ()
#8 0x0804abef in main ()
#9 0x08049faf in main ()
#10 0x405b365f in __libc_start_main () from /lib/libc.so.6
I hope this helps.
Best regards,
Andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]