Message130014
| Author |
vstinner |
| Recipients |
dmalcolm, vstinner |
| Date |
2011年03月03日.23:24:12 |
| SpamBayes Score |
1.4263563e-07 |
| Marked as misclassified |
No |
| Message-id |
<1299194653.97.0.623953980405.issue11393@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年03月03日 23:24:14 | vstinner | set | recipients:
+ vstinner, dmalcolm |
| 2011年03月03日 23:24:13 | vstinner | set | messageid: <1299194653.97.0.623953980405.issue11393@psf.upfronthosting.co.za> |
| 2011年03月03日 23:24:12 | vstinner | link | issue11393 messages |
| 2011年03月03日 23:24:12 | vstinner | create |
|