-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
stream: don't call _read after destroy() #29491
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
Conversation
0b2d7a0 to
c65a3a3
Compare
mcollina
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@Trott: I'm a little confused. That test does not fail for me locally? |
c65a3a3 to
4f09ffc
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
4f09ffc to
fd8f2b6
Compare
lpinca
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM, not sure about semverness
|
There seem to be some tests failures/regressions on specific environments :/. |
|
@Trott: This looks ready? |
PR-URL: #29491 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
|
Landed in ec390b6 |
PR-URL: #29491 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
PR-URL: #29491 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Partly fixes #29477.
Currently stream implementations MUST check for destroyed inside _read.
Found this while investigating a suspicious
destroyedconditional in fs streams."Full" fix in #29485 but it is way too breaking at this point and needs more updated tests.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes