py-bt fails

Bug #1019811 reported by Jean-Paul Calderone
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gdb (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

exarkun@top:~$ gdb python
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/python...Reading symbols from /usr/lib/debug/usr/bin/python2.7...done.
done.
(gdb) run
Starting program: /usr/bin/python
[Thread debugging using libthread_db enabled]
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> def foo():
... while 1:
... pass
...
>>> foo()
^C
Program received signal SIGINT, Interrupt.
PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:1067
1067 ../Python/ceval.c: No such file or directory.
        in ../Python/ceval.c
(gdb) py-bt
Traceback (most recent call last):
  File "/usr/lib/debug/usr/bin/python2.7-gdb.py", line 1381, in invoke
    frame.print_summary()
  File "/usr/lib/debug/usr/bin/python2.7-gdb.py", line 1235, in print_summary
    pyop = self.get_pyop()
  File "/usr/lib/debug/usr/bin/python2.7-gdb.py", line 1208, in get_pyop
    return PyFrameObjectPtr.from_pyobject_ptr(f)
  File "/usr/lib/debug/usr/bin/python2.7-gdb.py", line 350, in from_pyobject_ptr
    return cls(gdbval)
TypeError: __init__() takes exactly 3 arguments (2 given)
Error occurred in Python command: __init__() takes exactly 3 arguments (2 given)
(gdb) quit
A debugging session is active.

        Inferior 1 [process 10102] will be killed.

Quit anyway? (y or n) y

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gdb (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

fixed in 14.04 LTS

Changed in gdb (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.