Bug#421191: python-gtk2: debug version of gtk library causes
Segmentation Fault
Achim Gaedke
Achim.Gaedke at physik.tu-darmstadt.de
Fri Apr 27 00:13:51 UTC 2007
Package: python-gtk2
Version: 2.8.6-8
Severity: normal
install the package libgtk2-2.0-0-dbg
add the symbolic links in /usr/lib/debug/usr/lib
lrwxrwxrwx 1 root root 26 2007-04-26 21:57 libgdk-x11-2.0.so -> libgdk-x11-2.0.so.0.800.20
lrwxrwxrwx 1 root root 26 2007-04-26 21:57 libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.800.20
lrwxrwxrwx 1 root root 26 2007-04-26 21:57 libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.800.20
lrwxrwxrwx 1 root root 26 2007-04-26 21:57 libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.800.20
and try out:
achim at dogbert:~$ LD_LIBRARY_PATH=/usr/lib/debug/usr/lib python -c "import gtk"
Segmentation fault
setting ulimit results in a core file with following backtrace:
#0 0xb7f3107f in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#1 0xb7f385b0 in _dl_make_stack_executable () from /lib/ld-linux.so.2
#2 0xb7f34432 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#3 0xb7f37ece in _dl_make_stack_executable () from /lib/ld-linux.so.2
#4 0xb7ef1e1d in dlopen () from /lib/i686/cmov/libdl.so.2
#5 0xb7f34432 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#6 0xb7ef249c in dlerror () from /lib/i686/cmov/libdl.so.2
#7 0xb7ef1d51 in dlopen () from /lib/i686/cmov/libdl.so.2
#8 0x080e1312 in _PyImport_GetDynLoadFunc ()
#9 0x080d6302 in _PyImport_LoadDynamicModule ()
#10 0x080d4325 in PyImport_ExecCodeModule ()
#11 0x080d4a49 in PyImport_ReloadModule ()
#12 0x080d4ef1 in PyImport_ReloadModule ()
#13 0x080d50fe in PyImport_ImportModuleEx ()
#14 0x080afe91 in _PyBuiltin_Init ()
#15 0x080589d7 in PyObject_Call ()
#16 0x080b3d2d in PyEval_CallObjectWithKeywords ()
#17 0x080b7a90 in PyEval_EvalFrame ()
#18 0x080ba765 in PyEval_EvalCodeEx ()
#19 0x080ba7c9 in PyEval_EvalCode ()
#20 0x080d38fc in PyImport_ExecCodeModuleEx ()
#21 0x080d3f76 in PyImport_ExecCodeModule ()
#22 0x080d5886 in PyImport_ImportModule ()
#23 0x080d4a49 in PyImport_ReloadModule ()
#24 0x080d4ef1 in PyImport_ReloadModule ()
#25 0x080d50fe in PyImport_ImportModuleEx ()
#26 0x080afe91 in _PyBuiltin_Init ()
#27 0x080589d7 in PyObject_Call ()
#28 0x080b3d2d in PyEval_CallObjectWithKeywords ()
#29 0x080b7a90 in PyEval_EvalFrame ()
#30 0x080ba765 in PyEval_EvalCodeEx ()
#31 0x080ba7c9 in PyEval_EvalCode ()
#32 0x080dcfcb in PyRun_SimpleStringFlags ()
#33 0x080557a2 in Py_Main ()
#34 0x08055032 in main ()
the same happens with gtk-2.10 and pygtk-2.10 (unstable)
I am trying to trace down a x11 error. Could you also tell me how to use the --sync flag without dbg version of gtk?
The last lines of strace are:
LD_LIBRARY_PATH=/usr/lib/debug/usr/lib strace /usr/bin/python2.4 -c "import gtk"
open("/usr/lib/libpng12.so.0", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2406\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0644, st_size=137760, ...}) = 0
mmap2(NULL, 140716, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb7204000
mmap2(0xb7226000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x21) = 0xb7226000
close(5) = 0
so it might be an issue for libpng12, too.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-gtk2 depends on:
ii libatk1.0-0 1.18.0-2 The ATK accessibility toolkit
ii libc6 2.5-1 GNU C Library: Shared libraries
ii libcairo2 1.4.4-1 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libglib2.0-0 2.12.11-3 The GLib library of C routines
ii libgtk2.0-0 2.8.20-7 The GTK+ graphical user interface
ii libpango1.0-0 1.16.2-2 Layout and rendering of internatio
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.0.1-4 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra
ii python 2.4.4-2 An interactive high-level object-o
ii python-cairo 1.4.0-2 Python bindings for the Cairo vect
ii python-numeric 24.2-7 Numerical (matrix-oriented) Mathem
ii python-support 0.6.3 automated rebuilding support for p
python-gtk2 recommends no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list