Closed colesnicov closed 3 months ago
Thanks for reporting the issue. Unfortunately SCExample UI is not tested by the CI, I am manually testing it on macOS and Windows so Linux is a little under-tested. I will try it on some ubuntu VMs.
I think the issue could be that SCExample has never been tested with SC::Async running using the io_uring backend. What version of ubuntu are you running? And do you have liburing installed? If yes what version?
I have liburing version
denis@denis-omen:~$ cat /usr/include/liburing/io_uring_version.h
/* SPDX-License-Identifier: MIT */
#ifndef LIBURING_VERSION_H
#define LIBURING_VERSION_H
#define IO_URING_VERSION_MAJOR 2
#define IO_URING_VERSION_MINOR 5
#endif
and version of Ubuntu is
denis@denis-omen:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
Thanks @colesnicov , I think that was the issue, I got a perfect repro with liburing installed on an ubuntu 22 VM.
The reason was: when using io_uring backend timers were also manually invoked, triggering the assertion you've been posting. I think this should be fixed by 3735432.
Could you please pull latest and try again?
Now it is works. Tank you.
Hi. I try the example and it fails. I didn't look at the code, I don't know what causes it. It goes wrong, it's just a matter of time. Sometimes it happens after 10 seconds, sometimes after 5 minutes, but it always crashes. I can't even try it..