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
net/http: net/http.(*http2pipe).Write: invalid memory address or nil pointer dereference #13932
Comments
I have a theory about this one, but still investigating. Which HTTP/2 server are you running this against? Is it Go or nginx or Apache or .... ? My theory involves a specific frame order arriving. I know there's a bug in the client to cause it to crash (your stacktrace above), but I'm not sure whether there's also a bug in the Go server. |
Also, how did the compression error occur? |
Can you update to tip and reproduce again with |
CL https://golang.org/cl/18576 mentions this issue. |
…frames I can't reproduce the user's bug yet, but this might fix or at least help clarify what's happening. Also deflakes a test. Updates golang/go#13932 Change-Id: If56bdd833f183d4502701e65e56749434bd82150 Reviewed-on: https://go-review.googlesource.com/18576 Reviewed-by: Andrew Gerrand <adg@golang.org>
The above commit should at least fix the crash. I'm going to mark this closed, at least until I hear more details on how to reproduce. |
Using latest code in the master branch (771da53)
Possibly this occurred just after numerous errors returned by http.NewRequest or client.Do:
Post https://172.31.29.132:8001/hello: connection error: COMPRESSION_ERROR
The text was updated successfully, but these errors were encountered: