Bug#814558: libglib2.0-0-dbg: GDB backtrace decoration broken
anon
productivememberofsociety666 at sol.fr.am
Fri Feb 12 23:23:13 UTC 2016
Package: libglib2.0-0-dbg
Version: 2.47.5-1
Severity: normal
Dear Maintainer,
whenever I have GDB output a backtrace containing GLib functions, I get
something like this instead of informative lines about said functions:
Python Exception <class 'SystemError'> <built-in function isinstance>
returned a result with an error set:
After setting GDB's ``python print-stack`` option to ``full``, I get this
additional detail:
#0 0xffffffff in OverflowError: Python int too large to convert to C long
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/gdb/python/gdb/FrameDecorator.py", line 97, in function
if not isinstance(self._base, gdb.Frame):
SystemError: <built-in function isinstance> returned a result with an error
set
I can provide a minimal example if you want, but really on my system this
happens with any program containing GLib or related functions (including GTK+).
Just set a breakpoint on one of them and tell GDB to print a backtrace. It
doesn't happen with any other library's functions that I know of.
I figured I'd file this bug for libglib2.0-0-dbg because it probably has
something to do with those GDB auto-load Python scripts, e.g.
libglib-2.0.so.0.4705.0-gdb.py. Not 100% sure though, what do you think? Might
well be my fault.
Tested this with the "testing" (2.46.2-3) as well as "experimental" (2.47.5-1)
package versions.
Cheers
-- System Information:
Debian Release: stretch/sid
APT prefers oldoldstable
APT policy: (500, 'oldoldstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libglib2.0-0-dbg depends on:
ii libglib2.0-0 2.47.5-1
libglib2.0-0-dbg recommends no packages.
libglib2.0-0-dbg suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list