Skip to content

Commit

Permalink
bpo-40458: Increase reserved stack space to prevent overflow crash on…
Browse files Browse the repository at this point in the history
… Windows (pythonGH-19845)

(cherry picked from commit ac4bf42)

Co-authored-by: Steve Dower <steve.dower@python.org>
  • Loading branch information
zooba authored and miss-islington committed May 5, 2020
1 parent efc782d commit 86cf514
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Increase reserved stack space to prevent overflow crash on Windows.
1 change: 1 addition & 0 deletions PCbuild/python_uwp.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
<Link>
<AdditionalDependencies>windowsapp.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Console</SubSystem>
<StackReserveSize>2000000</StackReserveSize>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="$(Configuration) != 'Debug'">
Expand Down
1 change: 1 addition & 0 deletions PCbuild/pythonw_uwp.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
<Link>
<AdditionalDependencies>windowsapp.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Windows</SubSystem>
<StackReserveSize>2000000</StackReserveSize>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="$(Configuration) != 'Debug'">
Expand Down

0 comments on commit 86cf514

Please sign in to comment.