Catching a segfault in a Python library

Donn Ingle donn.ingle at
Sun Nov 25 07:37:46 CET 2007

MrJean1 wrote:
> Try catching SIGSEGV using the Python signal module
> <>
> An example (for SIGALRM) is on the next page
> <>
> However, it may not work since a SIGSEGV fault is pretty much the end
> of everything
Thanks for the lead -- I'll go have a look. 

If I can just write a "BLOODYHELL" flag to a text file and then let it all
crash, the next time the app is run, it can go into "Dude, we have
issues..." mode.


More information about the Python-list mailing list