-
Hello, I've done my best to figure this out but don't understand what's going on. I have an operation that's getting cancelled. All my small test cases seem to work, but running a larger app fails. So, maybe it's not just cancellation. Anyway, I have an Here is the sequence of events, from the logs:
Do you have any idea why this is happening? Is it possible that polling on the same file descriptor is causing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Okay, I think this again is an application level issue. It looks like maybe the completion token was reused too early in the process causing some kind of invalid argument. I'm going to investigate it further tomorrow. Oddly enough, this was the fix, but I'm not completely sure why yet: socketry/io-event@6925550#diff-3e7a68b220a9360ead1d2e7a5ec23e7d36de591eab138721efdc61b565fc5194L941-R987 |
Beta Was this translation helpful? Give feedback.
Okay, I found the issue. I was invoking
sqe = io_uring_get_sqe(&selector->ring);
and sometimes didn't use it. This created, I can only assume,sqe
s with random whatever in them.