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
This commit is contained in:
Julian Seward 2010-07-21 09:49:27 +00:00
parent e61f0e24c4
commit 9c88f5d425

View 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