[issue8863] Segfault handler: display Python backtrace on segfault
STINNER Victor
report at bugs.python.org
Wed Oct 13 01:44:20 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Updated example:
----------------------------------------------
$ ./python Lib/test/crashers/recursive_call.py
Fatal Python error: segmentation fault
Traceback (most recent call first):
File "Lib/test/crashers/recursive_call.py", line 12 in <lambda>
File "Lib/test/crashers/recursive_call.py", line 12 in <lambda>
File "Lib/test/crashers/recursive_call.py", line 12 in <lambda>
...
File "Lib/test/crashers/recursive_call.py", line 12 in <lambda>
File "Lib/test/crashers/recursive_call.py", line 12 in <lambda>
File "Lib/test/crashers/recursive_call.py", line 15 in <module>
Segmentation fault
----------------------------------------------
SIGSEGV catched in gdb:
----------------------------------------------
$ gdb -args ./python Lib/test/crashers/recursive_call.py
...
(gdb) run
Starting program: /home/SHARE/SVN/py3k/python Lib/test/crashers/recursive_call.py
Program received signal SIGSEGV, Segmentation fault.
0x080614e1 in _PyObject_DebugMalloc (nbytes=24) at Objects/obmalloc.c:1398
1398 return _PyObject_DebugMallocApi(_PYMALLOC_OBJ_ID, nbytes);
(gdb)
----------------------------------------------
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8863>
_______________________________________
More information about the Python-bugs-list
mailing list