]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Increase Valgrind's (per-thread) stack size from 64kB to 1MB,
authorJulian Seward <jseward@acm.org>
Wed, 21 Jul 2010 09:49:27 +0000 (09:49 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 21 Jul 2010 09:49:27 +0000 (09:49 +0000)
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

coregrind/pub_core_aspacemgr.h

index bc6a2c79a4b991c728199a5c564e349fcafc6c88..2e623293db33c9845407b1647e1127181cc02fd5 100644 (file)
@@ -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