Skip to content

Commit ac4bf42

Browse files
authored
bpo-40458: Increase reserved stack space to prevent overflow crash on Windows (GH-19845)
1 parent 607b102 commit ac4bf42

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Increase reserved stack space to prevent overflow crash on Windows.

PCbuild/python_uwp.vcxproj

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
<Link>
9696
<AdditionalDependencies>windowsapp.lib;%(AdditionalDependencies)</AdditionalDependencies>
9797
<SubSystem>Console</SubSystem>
98+
<StackReserveSize>2000000</StackReserveSize>
9899
</Link>
99100
</ItemDefinitionGroup>
100101
<ItemDefinitionGroup Condition="$(Configuration) != 'Debug'">

PCbuild/pythonw_uwp.vcxproj

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
<Link>
9696
<AdditionalDependencies>windowsapp.lib;%(AdditionalDependencies)</AdditionalDependencies>
9797
<SubSystem>Windows</SubSystem>
98+
<StackReserveSize>2000000</StackReserveSize>
9899
</Link>
99100
</ItemDefinitionGroup>
100101
<ItemDefinitionGroup Condition="$(Configuration) != 'Debug'">

0 commit comments

Comments
 (0)