Skip to content

Conversation

@mscdex
Copy link
Contributor

@mscdex mscdex commented Feb 9, 2016

It is possible that the internal hnadleMessage() might try to send to a channel that has been closed. The result can be an AssertionError. Guard against this.

This is a backport of 57a51a0 to v0.12 with a tweaked version of the test in order to trigger the same assertion on v0.12.

It is possible that the internal hnadleMessage() might try to send to
a channel that has been closed. The result can be an AssertionError.
Guard against this.

Fixes: nodejs#4205
PR-URL: nodejs#4418
Reviewed-By: Brian White <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
@mscdex mscdex added child_process Issues and PRs related to the child_process subsystem. v0.12 labels Feb 9, 2016
@jasnell
Copy link
Member

jasnell commented Feb 10, 2016

LGTM
@nodejs/lts

@bnoordhuis
Copy link
Member

LGTM

mscdex pushed a commit that referenced this pull request Feb 11, 2016
It is possible that the internal handleMessage() might try to send to
a channel that has been closed. The result can be an AssertionError.
Guard against this.

Fixes: #4205
PR-URL: #5153
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@mscdex
Copy link
Contributor Author

mscdex commented Feb 11, 2016

Landed in c7a7253.

@mscdex mscdex closed this Feb 11, 2016
@mscdex mscdex deleted the v0.12-backport-4418 branch February 11, 2016 18:08
MylesBorins pushed a commit that referenced this pull request Feb 11, 2016
It is possible that the internal handleMessage() might try to send to
a channel that has been closed. The result can be an AssertionError.
Guard against this.

Fixes: #4205
PR-URL: #5153
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
jBarz pushed a commit to ibmruntimes/node that referenced this pull request Nov 4, 2016
It is possible that the internal handleMessage() might try to send to
a channel that has been closed. The result can be an AssertionError.
Guard against this.

Fixes: nodejs/node#4205
PR-URL: nodejs/node#5153
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

child_process Issues and PRs related to the child_process subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants