]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Increase stack reserve size for Windows debug builds to avoid test crashes (GH-102764)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 17 Mar 2023 01:34:49 +0000 (18:34 -0700)
committerGitHub <noreply@github.com>
Fri, 17 Mar 2023 01:34:49 +0000 (18:34 -0700)
(cherry picked from commit f33b33eb31c11a32b2955eb1f002f02267bd7d61)

Co-authored-by: Steve Dower <steve.dower@python.org>
PCbuild/python.vcxproj
PCbuild/pythonw.vcxproj

index d07db3a6815058673f81a9b2ead51dd5664f864c..f4640454a73070f6940efd24184504898b3b7802 100644 (file)
@@ -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>
index e7216dec3a1af02635e41e89dff770fdeb993f3e..e23635e5ea9411bfb8bd48b2692aa17beeccddba 100644 (file)
@@ -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>