From 6bc0346e288996159492f37db77c986aebd11882 Mon Sep 17 00:00:00 2001 From: Hector Chu Date: Sat, 17 Sep 2011 20:39:29 +1000 Subject: [PATCH] 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 --- src/pkg/runtime/stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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