◐ Shell
clean mode source ↗

Message 108156 - Python tracker

New version of the patch:
 - catch also SIGFPE
 - add segfault.o to Makefile.pre.in
 - use abort() to quit instead of _exit(1)
 - call DebugBreak() on Windows before the abort(), as done by Py_FatalError()

TODO: Patch configure to only enable segfault handler if sigaltstack() is available. The alternate stack is maybe not needed for the SIGFPE handler.