aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-05-24 21:11:42 -0700
committerChristopher Ferris <cferris@google.com>2014-05-24 21:11:42 -0700
commit1acb3f0c936b75afede6795288a745ce7343fa8d (patch)
tree4d584d639af149c25ddfdb7af40ff139aa2cef47
parenteb25b732362a0a0da8ee7d15f7c31f10a1313e4f (diff)
downloadlibunwind-1acb3f0c936b75afede6795288a745ce7343fa8d.tar.gz
Do not save/restore signals around locks.
The unwind code defaults to saving and restoring signals around locks. Unfortunately, this causes problems with art and dumping the stack traces of running threads. With this enabled, sometimes the SIGQUIT signal winds up being unhandled and killing the process instead of just dumping the thread stack. Bug: 14229281 Change-Id: I96092f234e84db754ca63032327b0ceb2d2107f0
-rw-r--r--include/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 1447c580..e305fd2c 100644
--- a/include/config.h
+++ b/include/config.h
@@ -2,7 +2,7 @@
/* include/config.h.in. Generated from configure.ac by autoheader. */
/* Block signals before mutex operations */
-#define CONFIG_BLOCK_SIGNALS /**/
+/* #undef CONFIG_BLOCK_SIGNALS */
/* Enable Debug Frame */
#if defined(__arm__)