diff --git a/src/runtime/stack_overflow.cpp b/src/runtime/stack_overflow.cpp index f1a81f0a00bd..262ebab73982 100644 --- a/src/runtime/stack_overflow.cpp +++ b/src/runtime/stack_overflow.cpp @@ -107,6 +107,7 @@ void initialize_stack_overflow() { action.sa_flags = SA_SIGINFO | SA_ONSTACK; action.sa_sigaction = segv_handler; sigaction(SIGSEGV, &action, nullptr); + sigaction(SIGBUS, &action, nullptr); #endif }