python / cpython

The Python programming language
https://www.python.org/
Other
60.06k stars 29.08k forks source link

test_trashcan_16602 crashes on WASI in Debug build #118445

Open gvanrossum opened 2 weeks ago

gvanrossum commented 2 weeks ago

Bug report

See test failures in gh-118339, e.g. this one.

Fow now I'm going to disable the test_trashcan_16602 test if we detect both WASI and Py_DEBUG, but maybe someone should look into what's going on here. The Py_C_RECURSION_LIMIT variable is set to 500 for all debug builds; lowering it to 300 for WASI did not make any difference (and caused problems elsewhere). WASI without pydebug mode is fine.