diff options
Diffstat (limited to 'main')
| -rw-r--r-- | main/bsod.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/bsod.cpp b/main/bsod.cpp index 938ddd2b..b646394e 100644 --- a/main/bsod.cpp +++ b/main/bsod.cpp @@ -172,7 +172,7 @@ void handleFatalSignal(int signum, siginfo_t *si, void *ctx) ucontext_t *uc = (ucontext_t*)ctx; eDebug("KILLED BY signal %d", signum); #ifndef NO_OOPS_SUPPORT - oops(uc->uc_mcontext, signum == SIGSEGV); + oops(uc->uc_mcontext, signum == SIGSEGV || signum == SIGABRT); #endif eDebug("-------"); bsodFatal(); @@ -191,6 +191,7 @@ void bsodCatchSignals() sigaction(SIGSEGV, &act, 0); sigaction(SIGILL, &act, 0); sigaction(SIGBUS, &act, 0); + sigaction(SIGABRT, &act, 0); } void bsodLogInit() |
