Skip to content

Commit

Permalink
dont catch sigabrt, lest we get caught in a loop
Browse files Browse the repository at this point in the history
  • Loading branch information
YSaxon committed Jun 14, 2024
1 parent 2407683 commit a26a220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exception_handling.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,14 +354,14 @@ void install_segfault_handler() {
sigaction(SIGBUS, &sa, NULL);
sigaction(SIGILL, &sa, NULL);
sigaction(SIGFPE, &sa, NULL);
sigaction(SIGABRT, &sa, NULL);
// signal(SIGABRT, segfault_handler);

#else
signal(SIGSEGV, segfault_handler);
signal(SIGBUS, segfault_handler);
signal(SIGILL, segfault_handler);
signal(SIGFPE, segfault_handler);
signal(SIGABRT, segfault_handler);
// signal(SIGABRT, segfault_handler);
#endif


Expand Down

0 comments on commit a26a220

Please sign in to comment.