[issue40590] test_subprocess stuck on Windows, x64

Terry J. Reedy report at bugs.python.org
Fri May 15 22:27:53 EDT 2020


Terry J. Reedy <tjreedy at udel.edu> added the comment:

python -m test.testsubprocessing on my Win 10-64 with repository 3.9.0a6+, without your patch, produces

minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
.minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)

followed by

Ran 313 tests in 43.808s
OK (skipped=180)

Since, I presume, you are not working on Windows, I made a PR branch, recompiled, and reran test_subprocess.  Same result.  So I triggered a rerun in case the error was an oddball or in case cpython has changed.

Did not work.  Try close and re-open instead.  Appears to be working better.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40590>
_______________________________________


More information about the Python-bugs-list mailing list