Gdb error: cannot execute epoll_wait: (4) Aborted system call

I cannot run my code in debugging using gdb due to the following error:

Unable to execute epoll_wait: (4) Interrupted system call

Any ideas on how to solve this?

thanks

+3
source share
1 answer

You should check the return value of epoll_wait , and then -1 compare errno with EINTR and, if so, repeat the system call. This is usually done using continue in a loop.

+7
source

All Articles