Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Catch doesn't handle sigsegv caused by stack overflow properly #752
Currently, Catch attempts to handle signals by writing out failed test case and attempting orderly shutdown of the binary. However, if it tries to handle
This can be fixed using
Note that I think the current signal handling in Catch is incorrect in general, as it access shared state in unknown state without any attempt to minimize such accesses and then proceeds to attempt orderly shutdown of binary in completely unknown state (I am currently trying to add Windows SEH handling and this is causing me quite a lot of pain), but that would take longer to rework properly.