diff options
Diffstat (limited to 'runtime/fault_handler.cc')
-rw-r--r-- | runtime/fault_handler.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/fault_handler.cc b/runtime/fault_handler.cc index cae7debc03..51ac2c3013 100644 --- a/runtime/fault_handler.cc +++ b/runtime/fault_handler.cc @@ -329,6 +329,11 @@ bool FaultManager::IsInGeneratedCode(siginfo_t* siginfo, void* context, bool che const OatQuickMethodHeader* method_header = method_obj->GetOatQuickMethodHeader(return_pc); + if (method_header == nullptr) { + VLOG(signals) << "no compiled code"; + return false; + } + // We can be certain that this is a method now. Check if we have a GC map // at the return PC address. if (true || kIsDebugBuild) { |