[xenial] backtrace gives python error on i386
Bug #1513922 reported by
Sebastien Bacher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdb (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
That's using i386, using "backtrace" gives those errors
"Traceback (most recent call last):
File "/usr/share/
if not isinstance(
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 post a comment you must log in.
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/python/ py-framefilter. c
+++ gdb-7.10/
@@ -1111,7 +1111,7 @@ py_print_frame (PyObject *filter, int fl
if (paddr != Py_None) AsUnsignedLongL ong (paddr);
has_addr = 1;
{
- address = PyLong_AsLong (paddr);
+ address = PyLong_
}
Py_DECREF (paddr);