mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
call crash if the signal handler is unable to handle the signal
Otherwise, the OS will just keep asking us to handle the signal in an infinite loop.
This commit is contained in:
parent
70b5ea6838
commit
7cfbdc8fdb
@ -140,6 +140,8 @@ void handleSignal(int signal, siginfo_t*, void* context)
|
||||
pthread_sigmask(SIG_UNBLOCK, &set, 0);
|
||||
|
||||
vmJump(ip, frame, stack, thread, 0, 0);
|
||||
} else {
|
||||
crash();
|
||||
}
|
||||
} break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user