mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-12-11 20:56:57 +00:00
!4022 Fix CrashCallback Crash if Method Cannot be Found
Merge pull request !4022 from 李晨帅/master
This commit is contained in:
commit
fc8d510053
@ -192,7 +192,9 @@ void CrashCallback(char *buf __attribute__((unused)), size_t len __attribute__((
|
||||
Method *method = frame.CheckAndGetMethod();
|
||||
while (method == nullptr && !frame.Done()) {
|
||||
frame.Advance();
|
||||
method = frame.CheckAndGetMethod();
|
||||
if (!frame.Done()) {
|
||||
method = frame.CheckAndGetMethod();
|
||||
}
|
||||
}
|
||||
std::string faultInfo;
|
||||
if (method != nullptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user