Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
syscall: unimplemented EpollWait fails to return an error on android/arm64 #35479
What version of Go are you using?
$ go version go version go1.13.4 linux/amd64
Does this issue reproduce with the latest release?
Yes. Also tested it with
What operating system and processor architecture are you using?
I built the binary for Android with
What did you do?
I've built this test application that does TCP pinging using the
I ran it on my android device(OnePlus 6 with Android 9) with the following results:
As you can see the
I have fixed it by switching from using
What did you expect to see?
I expected the event returned from
What did you see instead?
File descriptor being set to
I understand that the
I was also curious about why exactly the value for the file descriptor is always
Thanks for the explanation, appreciate it.
Oh, now that I look at it there is a deprecation warning:
But I must have missed it every single time I was browsing that page. Maybe making it bold or moving it to the top of the description would be a good idea.
That was just a proof-of-concept code, I have other examples that do check it. I just verified this on my simple test code by adding a check for error from
The implementation of
Check the fd returned in EpollEvent to detect potential padding issues. Also, fail the test if the number of events mismatches. Updates golang/go#35479 Change-Id: I39f856ca2c336e849876a33acffb70b82aa83c3f Reviewed-on: https://go-review.googlesource.com/c/sys/+/206858 Run-TryBot: Tobias Klauser <firstname.lastname@example.org> Reviewed-by: Brad Fitzpatrick <email@example.com> TryBot-Result: Gobot Gobot <firstname.lastname@example.org>