[Python-checkins] cpython: Issue #17206: On Windows, increase the stack size from 2 MB to 4.2 MB to fix

victor.stinner python-checkins at python.org
Sun Jul 7 02:50:07 CEST 2013


http://hg.python.org/cpython/rev/fcf079dece0d
changeset:   84472:fcf079dece0d
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sun Jul 07 02:49:07 2013 +0200
summary:
  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.

files:
  Misc/NEWS              |  4 ++++
  PCbuild/python.vcxproj |  2 +-
  2 files changed, 5 insertions(+), 1 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@
 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.
 
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj
--- a/PCbuild/python.vcxproj
+++ b/PCbuild/python.vcxproj
@@ -243,7 +243,7 @@
     <Link>
       <OutputFile>$(OutDir)python_d.exe</OutputFile>
       <SubSystem>Console</SubSystem>
-      <StackReserveSize>2100000</StackReserveSize>
+      <StackReserveSize>4194304</StackReserveSize>
       <BaseAddress>0x1d000000</BaseAddress>
     </Link>
   </ItemDefinitionGroup>

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list