Merge "Debuggerd: Extend crash_dump timeout to 5 seconds" am: b2bf7a5330 am: 21ca4e5d4a am: 7dfcc376f7
am: 11c8647ecd

Change-Id: I904d85dd273d20288073b792c22dd6b6ebb7772d
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;