-
Notifications
You must be signed in to change notification settings - Fork 18k
x/net/http2: id(*) < evictCount(*) panic #72940
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
Comments
BTW, this happened on both mac and linux. |
CC @neild |
Thanks for the report. Could you provide a way to reproduce the failure? Would be nice if you could have a way to reproduce directly with |
I'm sorry I can't provide the original code due to company security regulations. I create a simple web app by fiber with only CURD apis, and I run it on my MAC. And then I trigger quick access to an API through a button on CHROME (rapidly clicking the button to activate it). Sometimes it can be reproduced in about ten attempts, while other times it requires rapid consecutive clicking for half a minute, but finally could be reproduced. I also use I believe the error might be caused by the re-establishment of connections. In my test cases, under high concurrency, connections might be continuously reused without being re-established, whereas requests on Chrome might involve re-establishment (this is just my speculation). |
@cherrymui Do you have any clues yet? Is there any other information I can provide here? |
Without a reproduction case, I'm not certain how much progress we can make here. I've examined the code, and I don't see how this can happen. I believe that it is happening, so I'm probably missing something, but I haven't been able to see it. I've tried writing various tests and fuzzers, and none of them produce this error. I think we need a program we can run that reproduces the failure to make any progress. |
Go version
go1.23.3
Output of
go env
in your module/workspace:What did you do?
I've met upper panic when I use fiber web framwork , it's based on fasthttp, and I've found related issue . By some self-check, I find out that this panic point to
golang.org/x/net/http2
package. and there are some related issue 69316 43051 in current repo but neither fixed.this phenomenon could happed in different browsers(firefox, chrome), and could be solved by disable http2 when building with
-tags nethttpomithttp2
What did you see happen?
Panic.
What did you expect to see?
running correctly.
The text was updated successfully, but these errors were encountered: