summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-03-17 01:34:49 (GMT)
committerGitHub <noreply@github.com>2023-03-17 01:34:49 (GMT)
commitd025b1d2785ced8d436246aaf7627aa2c33493d4 (patch)
tree7af6edf35dcfb3921c31842416452932d33c4498 /PCbuild
parentdf399a35d5ef4647ed29ba40ecb4cb609116683d (diff)
downloadcpython-d025b1d2785ced8d436246aaf7627aa2c33493d4.zip
cpython-d025b1d2785ced8d436246aaf7627aa2c33493d4.tar.gz
cpython-d025b1d2785ced8d436246aaf7627aa2c33493d4.tar.bz2
Increase stack reserve size for Windows debug builds to avoid test crashes (GH-102764)
(cherry picked from commit f33b33eb31c11a32b2955eb1f002f02267bd7d61) Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/python.vcxproj2
-rw-r--r--PCbuild/pythonw.vcxproj3
2 files changed, 3 insertions, 2 deletions
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj
index d07db3a..f464045 100644
--- a/PCbuild/python.vcxproj
+++ b/PCbuild/python.vcxproj
@@ -95,7 +95,7 @@
<Link>
<SubSystem>Console</SubSystem>
<StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
- <StackReserveSize Condition="$(Configuration) == 'Debug'">4000000</StackReserveSize>
+ <StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
diff --git a/PCbuild/pythonw.vcxproj b/PCbuild/pythonw.vcxproj
index e7216de..e23635e 100644
--- a/PCbuild/pythonw.vcxproj
+++ b/PCbuild/pythonw.vcxproj
@@ -89,7 +89,8 @@
</PropertyGroup>
<ItemDefinitionGroup>
<Link>
- <StackReserveSize>2000000</StackReserveSize>
+ <StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
+ <StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize>
</Link>
</ItemDefinitionGroup>
<ItemGroup>