[issue8863] Display Python backtrace on SIGSEGV, SIGFPE and fatal error
STINNER Victor
report at bugs.python.org
Wed Oct 13 23:43:53 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Version 6:
- don't use fputc(), fputs(), fprintf() or fflush() on stderr: use write() on file descriptor 2 (should be stderr)
- write tests: add sigsegv(), sigfpe() and fatal_error() functions to the _testcapi module
I was too lazy to reimplement functions to convert an integer to a string in bases 10 and 16, so I used snprintf() on a small buffer allocated on the stack.
----------
Added file: http://bugs.python.org/file19227/segfault_handler-6.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8863>
_______________________________________
More information about the Python-bugs-list
mailing list