This is brilliant: Cleanly recovering from Segfaults under Windows and Linux (32-bit, x86).

I do not think I’d want to actually use this in production, for the same reason that the article itself points out: segmentation faults often indicate that something has gone horribly wrong inside the application, and attempting to recover from it even by throwing an exception instead of crashing easily has the potential to cause very weird and unexpected behaviours which will be nigh-impossible to debug. But, the idea is clever.