Bug#362965: libxft2: make xconfig crash in XftFontOpenXlfd () from /usr/lib/libXft.so.2
Package: libxft2
Version: 2.1.8.2-6
Severity: normal
Note that I have the same problem on two machines and that I do not know
what cause the program to still look at font in
/usr/X11R6/lib/X11/fonts/Type1/c0648bt_.pfb when they are in now in usr/share
make xconfig
scripts/kconfig/qconf arch/i386/Kconfig
#
# using defaults found in .config
#
make[1]: *** [xconfig] Segmentation fault
make: *** [xconfig] Error 2
gdb scripts/kconfig/qconf
GNU gdb 6.4-debian
Copyright 2005 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 "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run arch/i386/Kconfig
Starting program: /usr/src/linux-2.6.15.6/scripts/kconfig/qconf arch/i386/Kconfig
[Thread debugging using libthread_db enabled]
[New Thread -1222027584 (LWP 4970)]
Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
#
# using defaults found in .config
#
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1222027584 (LWP 4970)]
0xb72cf6bc in XftFontOpenXlfd () from /usr/lib/libXft.so.2
(gdb) bt
#0 0xb72cf6bc in XftFontOpenXlfd () from /usr/lib/libXft.so.2
#1 0xb72cfd28 in XftLockFace () from /usr/lib/libXft.so.2
#2 0xb7a1ee20 in QFontEngineLatinXLFD::setScale () from /usr/lib/libqt-mt.so.3
#3 0xb7a1f069 in QFontEngineXft::QFontEngineXft () from /usr/lib/libqt-mt.so.3
#4 0xb7a7530b in QFontDatabase::families () from /usr/lib/libqt-mt.so.3
#5 0xb7a75aba in QFontDatabase::findFont () from /usr/lib/libqt-mt.so.3
#6 0xb79f16c6 in QFontPrivate::load () from /usr/lib/libqt-mt.so.3
#7 0xb79f2a6c in QFontPrivate::engineForScript () from /usr/lib/libqt-mt.so.3
#8 0xb7a6674a in QFontMetrics::height () from /usr/lib/libqt-mt.so.3
#9 0xb7bbbf16 in QListView::init () from /usr/lib/libqt-mt.so.3
#10 0xb7bbc61a in QListView::QListView () from /usr/lib/libqt-mt.so.3
#11 0x08060eda in ConfigList::ConfigList ()
#12 0x080612f2 in ConfigView::ConfigView ()
#13 0x08064018 in ConfigMainWindow::ConfigMainWindow ()
#14 0x08066389 in main ()
(gdb) quit
The last line of therunning the program under strace :
strace -f scripts/kconfig/qconf arch/i386/Kconfig
stat64("/usr/share/fonts/type1/gsfonts/fonts.cache-1", {st_mode=S_IFREG|0644, st_size=25896, ...}) = 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=25896, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb70c7000
read(7, "\"a010013l.pfb\" 0 \"URW Gothic L:s"..., 4096) = 4096
read(7, " !!#6I;sB^c !!!!X !!#AL "..., 4096) = 4096
read(7, "mk|mt|nb|nds|nl|nn|no|ny|oc|om|o"..., 4096) = 4096
read(7, "k|mt|nb|nds|nl|nn|no|ny|oc|om|os"..., 4096) = 4096
read(7, "100:foundry=urw:index=0:outline="..., 4096) = 4096
read(7, "!!5 !!!W5 !!#3H!)pSj!!!!& "..., 4096) = 4096
read(7, "v|mg|mh|mk|mt|nb|nds|nl|nn|no|ny"..., 4096) = 1320
read(7, "", 4096) = 0
close(7) = 0
munmap(0xb70c7000, 4096) = 0
open("/usr/share/fonts/X11/encodings/large/fonts.cache-1", O_RDONLY) = 7
stat64("/usr/share/fonts/X11/encodings/large", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/usr/share/fonts/X11/encodings/large/fonts.cache-1", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb70c7000
read(7, "", 4096) = 0
close(7) = 0
munmap(0xb70c7000, 4096) = 0
brk(0x848e000) = 0x848e000
open("/etc/mtab", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=549, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb70c7000
read(7, "/dev/hde1 / ext2 rw 0 0\nproc /pr"..., 4096) = 549
close(7) = 0
munmap(0xb70c7000, 4096) = 0
open("/proc/meminfo", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb70c7000
read(7, "MemTotal: 514956 kB\nMemFre"..., 1024) = 598
close(7) = 0
munmap(0xb70c7000, 4096) = 0
open("/usr/X11R6/lib/X11/fonts/Type1/c0648bt_.pfb", O_RDONLY) = 7
fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=34869, ...}) = 0
mmap2(NULL, 34869, PROT_READ, MAP_PRIVATE, 7, 0) = 0xb70bf000
close(7) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
-- System Information:
Debian Release: testing/unstable
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.4
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro (charmap=ISO-8859-15) (ignored: LC_ALL set to en_IE@euro)
Versions of packages libxft2 depends on:
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libfontconfig1 2.3.2-5.1 generic font configuration library
ii libfreetype6 2.1.10-3 FreeType 2 font engine, shared lib
ii libx11-6 2:1.0.0-6 X11 client-side library
ii libxrender1 1:0.9.0.2-3 X Rendering Extension client libra
ii x11-common 1:7.0.12 X Window System (X.Org) infrastruc
ii zlib1g 1:1.2.3-11 compression library - runtime
libxft2 recommends no packages.
-- no debconf information
Reply to: