ringbahn / ringbahn

safe bindings to io-uring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot run client/server example

zaharidichev opened this issue · comments

Currently when I try to run the echo server example both client and server just hang. After a bit more inspection it seems to be that the TcpListener never gets a completion for the accept event that it submits. If there is a more principled way to diagnose what exactly is happening, I will be willing to do so.

I am running an Ubuntu VM with the 5.8.0 kernel. The rest of the examples seem to work fine.

I'm running kernel 5.8.10 and it works fine for me. If I connect to port 7878 the server accepts the connection and then echos what it recieves.

Hm... what makes it event stranger is the fact that the accept unit test in iou is passing but I still cannot get the example in ringbahn to work. This is quite interesting. I will dig in a bit more.

Manjaro with 5.9.1 kernel, all tests passed, didn't work, too.
edit:
Switched to 5.8.16, it works. WTF!!!

@withoutboats any ideas why that might be happening?