[issue8863] Segfault handler: display Python backtrace on segfault
STINNER Victor
report at bugs.python.org
Sat Jun 19 02:25:28 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
New version of the patch:
- catch also SIGFPE
- add segfault.o to Makefile.pre.in
- use abort() to quit instead of _exit(1)
- call DebugBreak() on Windows before the abort(), as done by Py_FatalError()
TODO: Patch configure to only enable segfault handler if sigaltstack() is available. The alternate stack is maybe not needed for the SIGFPE handler.
----------
Added file: http://bugs.python.org/file17717/segfault_handler-2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8863>
_______________________________________
More information about the Python-bugs-list
mailing list