Mailinglist Archive: opensuse-bugs (2150 mails)

< Previous Next >
[Bug 873336] New: gdb gobject backtrace.py missing
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 13 Apr 2014 12:27:01 +0000
  • Message-id: <bug-873336-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=873336

https://bugzilla.novell.com/show_bug.cgi?id=873336#c0


Summary: gdb gobject backtrace.py missing
Classification: openSUSE
Product: openSUSE 13.1
Version: Final
Platform: All
OS/Version: openSUSE 13.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: cshorler@xxxxxxxxxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---


Created an attachment (id=586144)
--> (http://bugzilla.novell.com/attachment.cgi?id=586144)
code to trigger bug

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101
Firefox/28.0

Running a small test program under GDB throws the following Python import
exception, it seems coupled to a minor incompatibility between the version of
GDB and glib-devel.

(gdb) run
Starting program: /home/chorler/projects/src/hal-flash/src/test
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3800.2-gdb.py",
line 9, in <module>
from gobject import register
File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
import gdb.backtrace
ImportError: No module named backtrace


Upstream has a patch that cleanly applies and seems self contained:
https://git.gnome.org/browse/glib/commit/gobject/gobject.py?id=91d4659bbf8cf88d8be905c7e0abbedce931b688


Reproducible: Always

Steps to Reproduce:
Compile attached gdbus-test.c and execute under gdb
$ gcc -o test -g $(pkg-config --cflags --libs gio-2.0) gdbus-test.c
$ gdb ./test
(gdb) run
<error in bug report>
(and another error... I'm investigating that!)



Expected Results:
no Python import error

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >