Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3930)

Unified Diff: base/process_util_posix.cc

Issue 11340054: Band-aid fix for test hangs: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bug reference Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_posix.cc
diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc
index 6d41fe6cd66c034a26ce80848af7bdc76051eabd..8b29b149194a4643898446b910ca45d6cb7fe618 100644
--- a/base/process_util_posix.cc
+++ b/base/process_util_posix.cc
@@ -141,8 +141,11 @@ void StackDumpSignalHandler(int signal, siginfo_t* info, ucontext_t* context) {
if (debug::BeingDebugged())
debug::BreakDebugger();
+#if defined(OS_MACOSX)
+ // TODO(phajdan.jr): Fix async-signal non-safety (http://crbug.com/101155).
DLOG(ERROR) << "Received signal " << signal;
debug::StackTrace().PrintBacktrace();
+#endif
// TODO(shess): Port to Linux.
#if defined(OS_MACOSX)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698