Open
Description
Bug report
Bug description:
During a PGO build on Windows on main (471aa75), a test in test_functools
fails with a stack overflow.
PCbuild\build.bat --pgo
0:02:50 load avg: 0.35 [19/44] test_functools
Windows fatal exception: stack overflow
Thread 0x00002b38 (most recent call first):
File "C:\actions-runner\_work\benchmarking\benchmarking\cpython\Lib\test\libregrtest\win_utils.py", line 43 in _update_load
Current thread 0x00000e3c (most recent call first):
File "C:\actions-runner\_work\benchmarking\benchmarking\cpython\Lib\test\test_functools.py", line 1[875](https://github.com/faster-cpython/benchmarking/actions/runs/7367240496/job/20050307979#step:10:876) in fib
File "C:\actions-runner\_work\benchmarking\benchmarking\cpython\Lib\test\test_functools.py", line 1875 in fib
...
C:\actions-runner\_work\benchmarking\benchmarking\cpython>"C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\msbuild.exe" "C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\\pythoncore.vcxproj" /t:KillPython /nologo /v:m /clp:summary /p:Configuration=PGInstrument /p:Platform=x64 /p:KillPython=true
Killing any running python.exe instances...
C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\pyproject.props(184,5): error : PGO run did not succeed (no python313!*.pgc files) and there is no data to merge [C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\pythoncore.vcxproj]
Build FAILED.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs
- gh-113655: Reduce recursion limit to a safe number for Windows #113668
- GH-113655: Use PyOS_CheckStack on those platforms that support it #113701
- GH-113655: Lower the C recursion limit on various platforms #113944
- gh-113655: Skip test_lru_recursion during PGO runs to avoid C stack exhaustion #114148
- gh-113655: Revert extra stack reserve in PGO builds unless UseExtraStackReserve=true #114263
- GH-113655 Lower C recursion limit from 4000 to 3000 on Windows. #114896
- [3.12] gh-113655: Increase stack reserve size on Windows for when running PGO #115770
- GH-113655: Lower the C recursion limit for some platforms #124264
Metadata
Metadata
Assignees
Labels
Projects
Status
In Progress