From 84511467d19f63c582315e7733cc08bb9e1416ec Mon Sep 17 00:00:00 2001 From: "mattm@chromium.org" Date: Thu, 9 Jan 2014 00:01:47 +0000 Subject: [PATCH] Increase kShutdownDetectorThreadStackSize to avoid tcmalloc stack overflow. BUG=332297 Review URL: https://codereview.chromium.org/127743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243702 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chrome_browser_main_posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/browser/chrome_browser_main_posix.cc b/chrome/browser/chrome_browser_main_posix.cc index e73e492346b2..4e5bcfdf4b42 100644 --- a/chrome/browser/chrome_browser_main_posix.cc +++ b/chrome/browser/chrome_browser_main_posix.cc @@ -314,7 +314,7 @@ void ChromeBrowserMainPartsPosix::PostMainMessageLoopStart() { g_shutdown_pipe_read_fd = pipefd[0]; g_shutdown_pipe_write_fd = pipefd[1]; #if !defined(ADDRESS_SANITIZER) && !defined(KEEP_SHADOW_STACKS) - const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN; + const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN * 2; #else // ASan instrumentation and -finstrument-functions (used for keeping the // shadow stacks) bloat the stack frames, so we need to increase the stack -- 2.11.4.GIT