← Back to team overview

touch-packages team mailing list archive

[Bug 1513922] Re: [xenial] backtrace gives python error

 

can't reproduce from an amd64 kernel, though this patch might be worth a
try

--- gdb-7.10.orig/gdb/python/py-framefilter.c
+++ gdb-7.10/gdb/python/py-framefilter.c
@@ -1111,7 +1111,7 @@ py_print_frame (PyObject *filter, int fl
 
          if (paddr != Py_None)
            { 
-             address = PyLong_AsLong (paddr);
+             address = PyLong_AsUnsignedLongLong (paddr);
              has_addr = 1;
            }     
          Py_DECREF (paddr);

-- 
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/1513922

Title:
  [xenial] backtrace gives python error

Status in gdb package in Ubuntu:
  New

Bug description:
  That's using i386, using "backtrace" gives those errors

  "Traceback (most recent call last):
    File "/usr/share/gdb/python/gdb/FrameDecorator.py", line 97, in function
      if not isinstance(self._base, gdb.Frame):
  SystemError: <built-in function isinstance> returned a result with an error set

  #1  0xffffffff in OverflowError: Python int too large to convert to C
  long"

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


References