Merge "Debuggerd: Extend crash_dump timeout to 5 seconds" am: b2bf7a5330
am: 21ca4e5d4a
Change-Id: I2b178cfb2d44bafa0759c1aa2fd510e93b39959a
diff --git a/debuggerd/crash_dump.cpp b/debuggerd/crash_dump.cpp
index df7201d..4b1e51d 100644
--- a/debuggerd/crash_dump.cpp
+++ b/debuggerd/crash_dump.cpp
@@ -282,7 +282,10 @@
ATRACE_NAME("after reparent");
// Die if we take too long.
- alarm(2);
+ //
+ // Note: processes with many threads and minidebug-info can take a bit to
+ // unwind, do not make this too small. b/62828735
+ alarm(5);
std::string attach_error;