Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Refs #10841. A fix for SEGFAULT handling.
We may want to handle this differently later, but this works. We don't return from signalHandler if the signal is SEGV, ILL, BUS, or FPE. This ensures the signal isn't immediately re-raised on return. Also, after waiting 1 second for any cleanup actions which will only happen if this signal didn't occur in the UI thread, we call the default handler which will generate a core if necessary and then exit the program.
- Loading branch information
1 parent
27ee9fb
commit 546fdac
Showing
2 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters