-
-
Notifications
You must be signed in to change notification settings - Fork 32k
asyncio hang in subprocess wait_closed() on Windows, BrokenPipeError #89237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have a reproducible case where stdin.wait_closed() is hanging on Please see the attached code for the demo. I believe the hang is related to this debug message from the logs: DEBUG <_ProactorWritePipeTransport closing fd=632>: Fatal write error on pipe transport
Traceback (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.9.6\x64\lib\asyncio\proactor_events.py", line 379, in _loop_writing
f.result()
File "C:\hostedtoolcache\windows\Python\3.9.6\x64\lib\asyncio\windows_events.py", line 812, in _poll
value = callback(transferred, key, ov)
File "C:\hostedtoolcache\windows\Python\3.9.6\x64\lib\asyncio\windows_events.py", line 538, in finish_send
return ov.getresult()
BrokenPipeError: [WinError 109] The pipe has been ended It appears that the function that logs "Fatal write error on pipe transport" also Please see issue bpo-44428 for another instance of a similar hang in wait_closed(). |
This bug is another instance of With fix output:
|
…onGH-98572) (cherry picked from commit ad1dc3e) Co-authored-by: Kumar Aditya <[email protected]>
…onGH-98572) (cherry picked from commit ad1dc3e) Co-authored-by: Kumar Aditya <[email protected]>
(cherry picked from commit ad1dc3e) Co-authored-by: Kumar Aditya <[email protected]>
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: