ev_run() brakes - epoll_wait_nocancel

Nick Zavaritsky mejedi at gmail.com
Sat Jan 9 20:23:16 CET 2016


Basically you are asking to debug the program for you. That rarely works.

Sounds like a memory corruption to me. Did you try running it under valgrind/using ASAN?

Also the source code is massive. Please provide a minimal code reproducing the issue.

> On 09 Jan 2016, at 21:17, Gar|k <garik.djan at gmail.com> wrote:
> 
> Hello, I do not know the English, but do not know where to turn.
> 
> There is a simple program https://github.com/Garik-/crawler/tree/libev <https://github.com/Garik-/crawler/tree/libev>
> it works, but in the processing of big data is break.
> 
> __epoll_wait_nocancel ()
> __epoll_wait_nocancel + 10: cmp $ 0xfffffffffffff001,% rax
> __epoll_wait_nocancel + 16: jae 0x7ffff74d2b2f <epoll_wait + 79>
> 
> All events and sockets are closed correctly. ev_pending_count() returns 0
> I tried to call ev_invoke_pending() not help.
> 
> What could be the reason for such behavior?
> _______________________________________________
> libev mailing list
> libev at lists.schmorp.de
> http://lists.schmorp.de/mailman/listinfo/libev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20160109/d2709a45/attachment.html>


More information about the libev mailing list