diff options
Diffstat (limited to 'src/runtime_linux.cc')
| -rw-r--r-- | src/runtime_linux.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime_linux.cc b/src/runtime_linux.cc index 01c08d3110..430c70f4d9 100644 --- a/src/runtime_linux.cc +++ b/src/runtime_linux.cc @@ -228,6 +228,7 @@ struct UContext { }; static void HandleUnexpectedSignal(int signal_number, siginfo_t* info, void* raw_context) { + gAborting = true; // set before taking any locks MutexLock mu(Thread::Current(), *Locks::unexpected_signal_lock_); bool has_address = (signal_number == SIGILL || signal_number == SIGBUS || |