Boosted the stack reservation for python.exe and python_w.exe from the

default 1MB to 2 million bytes.  The test suite passes with -uall again
(test_compiler no longer drives WinXP into an insane state).
This commit is contained in:
Tim Peters 2004-08-12 18:37:10 +00:00
parent e667e66507
commit 79b52b7261
3 changed files with 16 additions and 0 deletions

View File

@ -75,6 +75,16 @@ Tests
Windows Windows
------- -------
- Boosted the stack reservation for python.exe and pythonw.exe from
the default 1MB to 2MB. Stack frames under VC 7.1 for 2.4 are enough
bigger than under VC 6.0 for 2.3.4 that deeply recursive progams
within the default sys.getrecursionlimit() default value of 1000 were
able to suffer undetected C stack overflows. The standard test program
test_compiler was one such program. If a Python process on Windows
"just vanishes" without a trace, and without an error message of any
kind, but with an exit code of 128, undetected stack overflow may be
the problem.
Mac Mac
--- ---

View File

@ -47,6 +47,7 @@
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./python.pdb" ProgramDatabaseFile=".\./python.pdb"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000"
BaseAddress="0x1d000000" BaseAddress="0x1d000000"
TargetMachine="1"/> TargetMachine="1"/>
<Tool <Tool
@ -109,6 +110,7 @@
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./python_d.pdb" ProgramDatabaseFile=".\./python_d.pdb"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000"
BaseAddress="0x1d000000" BaseAddress="0x1d000000"
TargetMachine="1"/> TargetMachine="1"/>
<Tool <Tool
@ -179,6 +181,7 @@
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./python.pdb" ProgramDatabaseFile=".\./python.pdb"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000"
BaseAddress="0x1d000000" BaseAddress="0x1d000000"
TargetMachine="0"/> TargetMachine="0"/>
<Tool <Tool

View File

@ -42,6 +42,7 @@
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./pythonw_d.pdb" ProgramDatabaseFile=".\./pythonw_d.pdb"
SubSystem="2" SubSystem="2"
StackReserveSize="2000000"
BaseAddress="0x1d000000" BaseAddress="0x1d000000"
TargetMachine="1"/> TargetMachine="1"/>
<Tool <Tool
@ -108,6 +109,7 @@
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./pythonw.pdb" ProgramDatabaseFile=".\./pythonw.pdb"
SubSystem="2" SubSystem="2"
StackReserveSize="2000000"
BaseAddress="0x1d000000" BaseAddress="0x1d000000"
TargetMachine="1"/> TargetMachine="1"/>
<Tool <Tool
@ -179,6 +181,7 @@
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./pythonw.pdb" ProgramDatabaseFile=".\./pythonw.pdb"
SubSystem="2" SubSystem="2"
StackReserveSize="2000000"
BaseAddress="0x1d000000" BaseAddress="0x1d000000"
TargetMachine="0"/> TargetMachine="0"/>
<Tool <Tool