mirror of
https://github.com/corda/corda.git
synced 2025-06-11 20:01:46 +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:
@ -140,6 +140,8 @@ void handleSignal(int signal, siginfo_t*, void* context)
|
|||||||
pthread_sigmask(SIG_UNBLOCK, &set, 0);
|
pthread_sigmask(SIG_UNBLOCK, &set, 0);
|
||||||
|
|
||||||
vmJump(ip, frame, stack, thread, 0, 0);
|
vmJump(ip, frame, stack, thread, 0, 0);
|
||||||
|
} else {
|
||||||
|
crash();
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user