-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: kevent on fd 0 failed with 9 fatal error: runtime: netpoll failed #48310
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
For some reason, the call to Identical code that does not use cgo does not crash. The code runs clean with |
@ericlagergren thanks for the report. Would you kindly update your example so that it is buildable/runnable? |
Error 9 is |
@thanm yeah, I've uploaded it here: https://github.com/ericlagergren/lwcrypto/tree/issue48310
|
@ianlancetaylor the C code does not call |
Can repro with Go 1.16.7. Can't test with Go 1.15.x because there isn't a darwin/arm64 binary release for Go 1.15.x. |
Oh. You know what it is? I have a C function named |
Great, thanks for following up. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, also reproduced it with Go 1.17.1.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I was benchmarking some C code to compare it against existing Go code. I haven't had a chance to try and get a working minimal repro yet, but: https://play.golang.org/p/GBK19-dOhsv
What did you expect to see?
Anything other than a crash.
What did you see instead?
A crash.
The text was updated successfully, but these errors were encountered: