]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Increase stack reserve size for Windows debug builds to avoid test crashes (GH-102764)
authorSteve Dower <steve.dower@python.org>
Fri, 17 Mar 2023 01:07:07 +0000 (01:07 +0000)
committerGitHub <noreply@github.com>
Fri, 17 Mar 2023 01:07:07 +0000 (01:07 +0000)
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>