-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
HTTP2 module crashes and sometimes segfaults when running tests against it #21416
Comments
@apapirovski Is this related to the hypothetical situation fixed by #21194? |
@richardlau Not sure. There's a few http2 fixes going into the next release, I think. @aaronjwood Could you test against 10.5 when it comes out? |
Absolutely. |
10.5.0 is out, and the security release in 10.4.1 also had some fixes relevant to HTTP2 – might be good to try again now? |
Still seems to be a sporadic issue with 10.5.0:
|
This seems to be fixed with 10.6.0, at least on OSX. Let me confirm it works in our Linux CI environment... |
Yup, seems to be fixed in general. Related to 5a71e7941d 3ba9a445de in the 10.6.0 release? |
I believe this particular issue is fixed, but there's still at least one bug lurking in there. I spotted a segfault running tests on 10.6.0 yesterday but haven't had a chance to chase it down yet. |
Guess I spoke too soon :(
|
I believe this is being caused by a race condition. When the stream is closed by the receiving end, it is removed from the local map. However, the sender may still be transmitting header data. I've got a potential fix coming, but this has been a bit difficult to reliably verify in a test case. |
Fixes: #21416 PR-URL: #22256 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: George Adams <[email protected]>
Awesome, thanks! |
Fixes: nodejs#21416 PR-URL: nodejs#22256 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: George Adams <[email protected]>
Fixes: nodejs#21416 PR-URL: nodejs#22256 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: George Adams <[email protected]>
Fixes: #21416 Backport-PR-URL: #22850 PR-URL: #22256 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: George Adams <[email protected]>
We're using the http2 module to implement a GRPC proxy that just passes things through. When running tests against our proxy module we hit this crash:
and occasionally we hit a bare segfault:
The test is being run inside a ubuntu 16.04 container. Some of our tests throw a lot of data at it such as these:
The text was updated successfully, but these errors were encountered: