public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/14198] New: gdb can't load module backtrace
@ 2012-06-04 14:41 jan@das-labor.org
  2012-06-12 19:43 ` [Bug gdb/14198] " tromey at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jan@das-labor.org @ 2012-06-04 14:41 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14198

             Bug #: 14198
           Summary: gdb can't load module backtrace
           Product: gdb
           Version: 7.4
            Status: NEW
          Severity: critical
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan@das-labor.org
    Classification: Unclassified


When debuging any crash gdb throws an exception stating that there is no module
named backtrace.
Ignoring the error message and running bt results in an infinite loop.

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3200.3-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
[New Thread 0x7fffe59e3700 (LWP 15897)]

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/14198] gdb can't load module backtrace
  2012-06-04 14:41 [Bug gdb/14198] New: gdb can't load module backtrace jan@das-labor.org
@ 2012-06-12 19:43 ` tromey at redhat dot com
  2012-08-06 10:44 ` dieter at plaetinck dot be
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2012-06-12 19:43 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14198

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |tromey at redhat dot com
         Resolution|                            |INVALID

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-06-12 19:43:02 UTC ---
This isn't a gdb bug per se.
Fedora gdb ships with some extra python modules that aren't upstreamed yet.
The libgobject python code there is trying to use these modules.
But, if you built the standard gdb, you don't have these.
The libgobject code could be more adaptive here.
Eventually the features appearing in those Fedora modules will make it
to the FSF gdb (we're working on it now),but in a different form.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/14198] gdb can't load module backtrace
  2012-06-04 14:41 [Bug gdb/14198] New: gdb can't load module backtrace jan@das-labor.org
  2012-06-12 19:43 ` [Bug gdb/14198] " tromey at redhat dot com
@ 2012-08-06 10:44 ` dieter at plaetinck dot be
  2012-08-06 14:03 ` tromey at redhat dot com
  2014-06-06  8:59 ` faure at kde dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dieter at plaetinck dot be @ 2012-08-06 10:44 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14198

Dieter P <dieter at plaetinck dot be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dieter at plaetinck dot be

--- Comment #2 from Dieter P <dieter at plaetinck dot be> 2012-08-06 10:43:45 UTC ---
it's still a bug because it writes error messages, which are apparently not
relevant.  for a user who doesn't know these inner workings it looks like the
program is broken.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/14198] gdb can't load module backtrace
  2012-06-04 14:41 [Bug gdb/14198] New: gdb can't load module backtrace jan@das-labor.org
  2012-06-12 19:43 ` [Bug gdb/14198] " tromey at redhat dot com
  2012-08-06 10:44 ` dieter at plaetinck dot be
@ 2012-08-06 14:03 ` tromey at redhat dot com
  2014-06-06  8:59 ` faure at kde dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2012-08-06 14:03 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14198

--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2012-08-06 14:02:50 UTC ---
If it is a bug, it is in the python code distributed with glib.

There isn't much that gdb can do about it.
We can't disable the error messages because then we get complaints
that gdb swallows error messages from python scripts.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/14198] gdb can't load module backtrace
  2012-06-04 14:41 [Bug gdb/14198] New: gdb can't load module backtrace jan@das-labor.org
                   ` (2 preceding siblings ...)
  2012-08-06 14:03 ` tromey at redhat dot com
@ 2014-06-06  8:59 ` faure at kde dot org
  3 siblings, 0 replies; 5+ messages in thread
From: faure at kde dot org @ 2014-06-06  8:59 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=14198

David Faure <faure at kde dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |faure at kde dot org

--- Comment #4 from David Faure <faure at kde dot org> ---
In case anyone ends up here: the bug report for glib is at
https://bugzilla.gnome.org/show_bug.cgi?id=623552

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-06  8:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-04 14:41 [Bug gdb/14198] New: gdb can't load module backtrace jan@das-labor.org
2012-06-12 19:43 ` [Bug gdb/14198] " tromey at redhat dot com
2012-08-06 10:44 ` dieter at plaetinck dot be
2012-08-06 14:03 ` tromey at redhat dot com
2014-06-06  8:59 ` faure at kde dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).