Skip to content

[3.8] bpo-35182: fix communicate() crash after child closes its pipes (GH-18117) #18148

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

Merged
merged 1 commit into from
Jan 23, 2020
Merged

[3.8] bpo-35182: fix communicate() crash after child closes its pipes (GH-18117) #18148

merged 1 commit into from
Jan 23, 2020

Conversation

alpire
Copy link
Contributor

@alpire alpire commented Jan 23, 2020

When communicate() is called in a loop, it crashes when the child process
has already closed any piped standard stream, but still continues to be running

Co-authored-by: Andriy Maletsky [email protected].
(cherry picked from commit d3ae95e)

Co-authored-by: Alex Rebert [email protected]

https://bugs.python.org/issue35182

Automerge-Triggered-By: @gpshead

…GH-17020) (GH-18117)

When communicate() is called in a loop, it crashes when the child process
has already closed any piped standard stream, but still continues to be running

Co-authored-by: Andriy Maletsky <[email protected]>.
(cherry picked from commit d3ae95e)

Co-authored-by: Alex Rebert <[email protected]>
@gpshead gpshead added 🤖 automerge type-bug An unexpected behavior, bug, or error labels Jan 23, 2020
@miss-islington
Copy link
Contributor

Sorry, I can't merge this PR. Reason: Base branch was modified. Review and try the merge again..

@miss-islington miss-islington merged commit 5654f83 into python:3.8 Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants