Message395172
The newly added test ``test_recursion_direct`` seems to trigger a stack overflow on windows in debug mode instead of a RecursionError. Release mode isn't affected and the test passes there.
One of the buildbots reflects this too: https://buildbot.python.org/all/#/builders/146/builds/337/steps/4/logs/stdio
I can avoid the crash by lowering the recursion limit in Python from 1000 to 500. The stack size for a window build is currently set to 2MB, which is usually lesser than *nix 8MB. So I think an easy solution is to increase the stack size for windows builds.
I'm guessing release builds aren't affected because some of the Py_EnterRecursiveCall helper functions are probably inlined and thus use less of the stack.
Opinions are greatly appreciated. |
|
Date |
User |
Action |
Args |
2021-06-05 17:36:40 | kj | set | recipients:
+ kj, terry.reedy, gregory.p.smith, belopolsky, benjamin.peterson, meador.inge, eric.snow, ppperry, pablogsal, miss-islington, BTaskaya |
2021-06-05 17:36:39 | kj | set | messageid: <1622914599.99.0.453927762083.issue11105@roundup.psfhosted.org> |
2021-06-05 17:36:39 | kj | link | issue11105 messages |
2021-06-05 17:36:39 | kj | create | |
|