Merge "debuggerd_handler: demote abort on exec failure to log."
am: 965d0c38c8
Change-Id: I5a40c65caf1194a736cbbe4abdcb010a2456c9aa
This commit is contained in:
commit
80ffda8ff0
1 changed files with 3 additions and 1 deletions
|
|
@ -383,7 +383,9 @@ static int debuggerd_dispatch_pseudothread(void* arg) {
|
||||||
|
|
||||||
execle(CRASH_DUMP_PATH, CRASH_DUMP_NAME, main_tid, pseudothread_tid, debuggerd_dump_type,
|
execle(CRASH_DUMP_PATH, CRASH_DUMP_NAME, main_tid, pseudothread_tid, debuggerd_dump_type,
|
||||||
nullptr, nullptr);
|
nullptr, nullptr);
|
||||||
fatal_errno("exec failed");
|
async_safe_format_log(ANDROID_LOG_FATAL, "libc", "failed to exec crash_dump helper: %s",
|
||||||
|
strerror(errno));
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
input_write.reset();
|
input_write.reset();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue