Catching a segfault in a Python library
donn.ingle at gmail.com
Sat Nov 24 05:20:43 CET 2007
An app of mine relies on PIL. When PIL hits a certain problem font (for
unknown reasons as of now) it tends to segfault and no amount of try/except
will keep my wxPython app alive.
My first thought is to start the app from a bash script that will check the
return value of my wxPython app and could then launch a new app to help the
user grok what happened and fix it.
Do you think that's a good idea, or is there another way to handle stuff
like this? (perhaps a Python app launching another Python app?)
More information about the Python-list