← Back to team overview

touch-packages team mailing list archive

[Bug 1019811] Re: py-bt fails

 

fixed in 14.04 LTS

** Changed in: gdb (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/1019811

Title:
  py-bt fails

Status in “gdb” package in Ubuntu:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1019811/+subscriptions