]> granicus.if.org Git - python/commitdiff
Issue #17206: On Windows, increase the stack size from 2 MB to 4.2 MB to fix
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 7 Jul 2013 00:49:07 +0000 (02:49 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 7 Jul 2013 00:49:07 +0000 (02:49 +0200)
a stack overflow in the marshal module (fix a crash in test_marshal).
Patch written by Jeremy Kloth.

Misc/NEWS
PCbuild/python.vcxproj

index cd890af280d5e26cc70482474fc99eeb27dbfe59..c3fbcb96576c49d50ad227646ee296918b27abe1 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ What's New in Python 3.4.0 Alpha 1?
 Core and Builtins
 -----------------
 
+- Issue #17206: On Windows, increase the stack size from 2 MB to 4.2 MB to fix
+  a stack overflow in the marshal module (fix a crash in test_marshal).
+  Patch written by Jeremy Kloth.
+
 - Issue #3329: Implement the PEP 445: Add new APIs to customize Python memory
   allocators.
 
index e1d05e5e50adeb50b1b5b4f916d8e1883e0508d4..bd12624596362bd752f38eb0ab3cb53eda104e94 100644 (file)
     <Link>
       <OutputFile>$(OutDir)python_d.exe</OutputFile>
       <SubSystem>Console</SubSystem>
-      <StackReserveSize>2100000</StackReserveSize>
+      <StackReserveSize>4194304</StackReserveSize>
       <BaseAddress>0x1d000000</BaseAddress>
     </Link>
   </ItemDefinitionGroup>