This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gregory.p.smith, vstinner
Date 2017-05-09.22:07:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494367660.34.0.903369452309.issue30165@psf.upfronthosting.co.za>
In-reply-to
Content
> Note that even with POSIX TLS in use, it isn't entirely safe.

I wrote faulthandler to collect debug data just before dying, when something already gone very bad, like a deadlock or a memory corruption. I didn't design faulthandler for correctness.

If you call faulthandler.dump_traceback() from regular Python code, you are safe. For example, if you register your own Python signal handler using signal.signal(), it's ok.

The grey area is when you use C signal handlers using the C API of faulthandler, like faulthandler.register().
History
Date User Action Args
2017-05-09 22:07:40vstinnersetrecipients: + vstinner, gregory.p.smith
2017-05-09 22:07:40vstinnersetmessageid: <1494367660.34.0.903369452309.issue30165@psf.upfronthosting.co.za>
2017-05-09 22:07:40vstinnerlinkissue30165 messages
2017-05-09 22:07:40vstinnercreate