Re: [Gnome-print] Seriuos bug in 0.32



Hello!

Sorry, I was away for a week, and meanwhile telco mamaged to break my
line :(((

On Fri, 2001-11-16 at 22:07, Christian Marillat wrote:
> First I think "gnome-config --libs print" should return "-L/usr/lib
> -lgnomeprint -lfreetype" instead of "-L/usr/lib -lgnomeprint".

Thank you for pointing this out.

As of crash, it seems to me to be freetype bug. I would be happy to get 
my hands on given font (Stalingrad...), but until then I can do little
help :(
Actually, freetype had bad bug that excluded some iso-8859-2 (polish,
czech, slovak...) glyphs from pfb encodings - i.e. gnome-print was
also not able to display these. This got fixed in 2.0.5, so maybe it
would be good idea to update dependencies to that version.
I have no idea, whether 2.0.5 does load Stalingrad font, still...
I do not want to do that just in configure yet, at least until there
is Ximian packages out.

Best wishes,
Lauris Kaplinski

> 
> 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
> 
> _______________________________________________
> Gnome-print maillist  -  Gnome-print@ximian.com
> http://lists.ximian.com/mailman/listinfo/gnome-print






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