[issue11393] Integrate faulthandler module into Python 3.3
STINNER Victor
report at bugs.python.org
Fri Mar 4 00:24:13 CET 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
I tested faulthandler on Linux, FreeBSD and Windows XP: it works well. I suppose that it works on any operating systems.
You can also try it on know crashers: Lib/test/crashers/ (you have to modify the files to add: import faulthandler; faulthandler.enable()). Example:
----
$ ./python Lib/test/crashers/bogus_code_obj.py
Fatal Python error: Segmentation fault
Traceback (most recent call first):
File "", line 1 in
File "Lib/test/crashers/bogus_code_obj.py", line 20 in <module>
Erreur de segmentation
----
The backtrace is not revelant here because the file is very short, but faulthandler is more useful on an huge application.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11393>
_______________________________________
More information about the Python-bugs-list
mailing list