Skip to content
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

Go HTTP client stuck on epoll_pwait #82

Open
fwsGonzo opened this issue Nov 21, 2022 · 1 comment
Open

Go HTTP client stuck on epoll_pwait #82

fwsGonzo opened this issue Nov 21, 2022 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@fwsGonzo
Copy link
Owner

It panics in a strange place:

https://gist.github.com/fwsGonzo/01399b308fda7d9afc1e4d5bec1891ac

I have no current theory on what the problem could be. I looked over the fine print in the atomics section of the unprivileged spec and I couldn't see anything that I did obviously wrong. I also implemented page-crossing slowpath memory reads/writes and saw no difference.

@fwsGonzo fwsGonzo added the bug Something isn't working label Nov 21, 2022
@fwsGonzo
Copy link
Owner Author

It no longer panics but seems to get stuck calling epoll_pwait repeatedly. I can see the Go code, and I have inspected the inputs and outputs of the epoll wait. Nothing looks wrong. Could it be a bug in atomic operations? Go uses a lot of them in that path.

@fwsGonzo fwsGonzo changed the title Go HTTP client panics Go HTTP client stuck on epoll_pwait Nov 4, 2023
@fwsGonzo fwsGonzo added the help wanted Extra attention is needed label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant