Skip to content

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

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.7] bpo-35182: fix communicate() crash after child closes its pipes (GH-18117) #18151

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]>
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