Package: python-gobject-dbg Version: 2.14.2-1 Hi! I've been trying to debug a segfault caused by python-gobject, but I've been unable to do it.
If I run "gdb python" and then run the program from there, I get the following backtrace when reaching the segfault: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7f786b0 (LWP 22950)] 0xb7c038c9 in ?? () from /var/lib/python-support/python2.5/gtk-2.0/gobject/_gobject.so (gdb) bt #0 0xb7c038c9 in ?? () from /var/lib/python-support/python2.5/gtk-2.0/gobject/_gobject.so #1 0x09814180 in ?? () #2 0x0000003c in ?? () #3 0xbf88dd38 in ?? () #4 0x4de25e34 in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.so.0 #5 0xb7c0399d in ?? () from /var/lib/python-support/python2.5/gtk-2.0/gobject/_gobject.so #6 0x09814180 in ?? () #7 0x00000001 in ?? () #8 0x00000000 in ?? () i.e. For some reason it's not using the debug information. I tried both with the original Lenny package and with a package slightly modified according to what we talked about in #gnome-debian. This is the diff for the rules file with which I tried: --- pygobject-2.14.2/debian/rules 2009-03-03 15:01:10.000000000 -0200 +++ pygobject-marga/debian/rules 2009-03-03 14:37:56.000000000 -0200 @@ -38,13 +38,13 @@ build-%/build-stamp: build-%/configure-stamp dh_testdir - $(MAKE) -C build-$* + PYTHON=/usr/bin/python$* $(MAKE) -C build-$* -$(MAKE) -C build-$* check touch $@ dbg-build-%/build-stamp: dbg-build-%/configure-stamp dh_testdir - $(MAKE) -C dbg-build-$* + PYTHON=/usr/bin/python$*-dbg $(MAKE) -C dbg-build-$* touch $@ build: $(PYVERS:%=build-%/build-stamp) $(PYVERS:%=dbg-build-%/build-stamp) @@ -57,12 +57,12 @@ install-%: build-%/build-stamp dh_testdir dh_testroot - $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/python-gobject-dev + PYTHON=/usr/bin/python$* $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/python-gobject-dev dbg-install-%: dbg-build-%/build-stamp dh_testdir dh_testroot - $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-gobject-dbg + PYTHON=/usr/bin/python$*-dbg $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-gobject-dbg find debian/python-gobject-dbg ! -type d ! -name '*.so' | xargs rm -f find debian/python-gobject-dbg -depth -empty -exec rmdir {} \; @@ -112,13 +112,13 @@ dh_installdocs -a dh_installexamples -a dh_installchangelogs ChangeLog -a + dh_pysupport -a dh_strip -ppython-gobject --dbg-package=python-gobject-dbg rm -rf debian/python-gobject-dbg/usr/share/doc/python-gobject-dbg ln -sf python-gobject debian/python-gobject-dbg/usr/share/doc/python-gobject-dbg dh_link -a dh_compress -a -X.py dh_fixperms -a - dh_pysupport -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a I'm sorry if I'm doing anything wrong. Just in case it matters: ma...@calipso:$ ls -l /usr/bin/python* lrwxrwxrwx 1 root root 9 feb 16 14:59 /usr/bin/python -> python2.5 -rwxr-xr-x 1 root root 1058968 dic 20 13:03 /usr/bin/python2.4 -rwxr-xr-x 1 root root 1276 dic 20 13:03 /usr/bin/python2.4-config -rwxr-xr-x 1 root root 2508163 dic 20 13:03 /usr/bin/python2.4-dbg -rwxr-xr-x 1 root root 1279 dic 20 13:03 /usr/bin/python2.4-dbg-config -rwxr-xr-x 1 root root 1181496 ene 4 17:07 /usr/bin/python2.5 -rwxr-xr-x 1 root root 1419 ene 4 17:06 /usr/bin/python2.5-config -rwxr-xr-x 1 root root 2904644 ene 4 15:39 /usr/bin/python2.5-dbg -rwxr-xr-x 1 root root 1423 ene 4 17:07 /usr/bin/python2.5-dbg-config lrwxrwxrwx 1 root root 16 feb 16 15:01 /usr/bin/python-config -> python2.5-config lrwxrwxrwx 1 root root 13 mar 3 11:07 /usr/bin/python-dbg -> python2.5-dbg lrwxrwxrwx 1 root root 20 mar 3 11:07 /usr/bin/python-dbg-config -> python2.5-dbg-config -- System Information: Debian Release: 5.0 APT prefers proposed-updates APT policy: (500, 'proposed-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-gobject-dbg depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libffi5 3.0.7-1 Foreign Function Interface library ii libglib2.0-0 2.16.6-1 The GLib library of C routines ii python-dbg 2.5.2-3 Debug Build of the Python Interpre ii python-gobject 2.14.2-1 Python bindings for the GObject li -- Besos, Marga -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org