From: Julian Seward Date: Wed, 21 Jul 2010 09:49:27 +0000 (+0000) Subject: Increase Valgrind's (per-thread) stack size from 64kB to 1MB, X-Git-Tag: svn/VALGRIND_3_6_0~230 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c88f5d4255016af06f6ae1a5c6c933a6e8e4c0f;p=thirdparty%2Fvalgrind.git Increase Valgrind's (per-thread) stack size from 64kB to 1MB, so as to avoid demangler crashes on very long names. Fixes #197988 (possibly only temporary; the demangler could overflow the stack again, given extremely long names.) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11215 --- diff --git a/coregrind/pub_core_aspacemgr.h b/coregrind/pub_core_aspacemgr.h index bc6a2c79a4..2e623293db 100644 --- a/coregrind/pub_core_aspacemgr.h +++ b/coregrind/pub_core_aspacemgr.h @@ -373,10 +373,10 @@ extern Bool VG_(am_relocate_nooverlap_client)( /*OUT*/Bool* need_discard, #if defined(VGP_ppc32_linux) || defined(VGP_ppc64_linux) # define VG_STACK_GUARD_SZB 65536 // 1 or 16 pages -# define VG_STACK_ACTIVE_SZB 131072 // 2 or 32 pages +# define VG_STACK_ACTIVE_SZB (4096 * 256) // 1Mb #else # define VG_STACK_GUARD_SZB 8192 // 2 pages -# define VG_STACK_ACTIVE_SZB 65536 // 16 pages +# define VG_STACK_ACTIVE_SZB (4096 * 256) // 1Mb #endif typedef