ev_timer_again() causing segmentation fault

Marc Lehmann schmorp at schmorp.de
Tue Oct 29 22:31:49 CET 2013


On Tue, Oct 29, 2013 at 10:30:20PM +0200, utku genç <utkugenc at gmail.com> wrote:
> But if I move the ev_timer_again() one call deeper, as in:

I see now, you are probably passing in an illegal loop pointer.

> void do_something() {
> ev_timer_again(EV_A_ &communication_timeout_watcher);

Where do you declare the loop, and what value does it have? You are
probably passing in an unrelated or uninitialised loop variable here.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list