Avoid crash looping on AARCH64

This commit is contained in:
Justine Tunney 2024-05-08 01:00:58 -07:00
parent 8f18b3ad65
commit 952b9009e8
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
3 changed files with 10 additions and 11 deletions

View file

@ -394,6 +394,8 @@ relegated void __oncrash(int sig, struct siginfo *si, void *arg) {
BLOCK_CANCELATION;
SpinLock(&lock);
__oncrash_impl(sig, si, arg);
if (sig != SIGQUIT && sig != SIGTRAP)
_exit(1);
SpinUnlock(&lock);
ALLOW_CANCELATION;
}