Hi, sometimes due to unchecked code I get segmentation faults once in a
while and would like to be able to catch them and do some cleanup on
things. This segmentation fault could be anywhere in the code.
Could it be caught like a signal and perform cleanup then? Or would I
have to put every piece of function code in try and catch blocks?
Thanks
Ankur