fix: don't hook SIGTRAP in crash handler

This commit is contained in:
CJ van den Berg 2025-07-01 16:57:42 +02:00
parent 22bd2c3521
commit e2332a8f56
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -93,7 +93,6 @@ static void install_crash_handler(void (*hdlr)(int, siginfo_t *, void *)) {
sigaction(SIGBUS, &action, nullptr); sigaction(SIGBUS, &action, nullptr);
sigaction(SIGSEGV, &action, nullptr); sigaction(SIGSEGV, &action, nullptr);
sigaction(SIGABRT, &action, nullptr); sigaction(SIGABRT, &action, nullptr);
sigaction(SIGTRAP, &action, nullptr);
sigaction(SIGFPE, &action, nullptr); sigaction(SIGFPE, &action, nullptr);
} }
} // namespace } // namespace