[Python-Dev] Trap SIGSEGV and SIGFPE
skip at pobox.com
skip at pobox.com
Thu Dec 11 13:57:03 CET 2008
Simon> Some indictation of what Python was executing when the segfault
Simon> occurred would help narrow now the possibilities rapidly.
The Python distribution comes with a Misc/gdbinit file (you can grab it from
the Subversion source tree via the web as well) that defines a pystack
command. It will work with core files as well as running processes and
should give you a very good idea where your Python code was executing when
the segfault occurred.
--
Skip Montanaro - skip at pobox.com - http://smontanaro.dyndns.org/
More information about the Python-Dev
mailing list