|
From: <sv...@va...> - 2010-07-21 09:49:41
|
Author: sewardj Date: 2010-07-21 10:49:27 +0100 (Wed, 21 Jul 2010) New Revision: 11215 Log: 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.) Modified: trunk/coregrind/pub_core_aspacemgr.h Modified: trunk/coregrind/pub_core_aspacemgr.h =================================================================== --- trunk/coregrind/pub_core_aspacemgr.h 2010-07-15 15:09:38 UTC (rev 11214) +++ trunk/coregrind/pub_core_aspacemgr.h 2010-07-21 09:49:27 UTC (rev 11215) @@ -373,10 +373,10 @@ #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 |