From: Hector Chu Date: Sat, 17 Sep 2011 10:39:29 +0000 (+1000) Subject: runtime: increase stack system space on windows/amd64 X-Git-Tag: weekly.2011-09-21~51 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6bc0346e288996159492f37db77c986aebd11882;p=gostls13.git runtime: increase stack system space on windows/amd64 gotest src/pkg/exp/template/html was crashing because the exception handler overflowed the goroutine stack. R=alex.brainman, golang-dev CC=golang-dev https://golang.org/cl/5031049 --- diff --git a/src/pkg/runtime/stack.h b/src/pkg/runtime/stack.h index 44d5533f45..483233876a 100644 --- a/src/pkg/runtime/stack.h +++ b/src/pkg/runtime/stack.h @@ -58,7 +58,7 @@ enum { // purposes like signal handling. Used on Windows because // it does not use a separate stack. #ifdef __WINDOWS__ - StackSystem = 2048, + StackSystem = 512 * sizeof(uintptr), #else StackSystem = 0, #endif