py-bt fails
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://
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://
Reading symbols from /usr/bin/
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=
1067 ../Python/ceval.c: No such file or directory.
in ../Python/ceval.c
(gdb) py-bt
Traceback (most recent call last):
File "/usr/lib/
frame.
File "/usr/lib/
pyop = self.get_pyop()
File "/usr/lib/
return PyFrameObjectPt
File "/usr/lib/
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
Status changed to 'Confirmed' because the bug affects multiple users.