ev_timer_again() causing segmentation fault

utku genç utkugenc at gmail.com
Tue Oct 29 22:20:14 CET 2013


Probably you are right. But I will post this anyway, maybe you will catch
something else.

Execution is suspended right at the following line in function ev_timer_again
(EV_P_ ev_timer *w) (in ev.c file):

ev_at (w) = mn_now + w->repeat;

maden [1831] [cores: 0]
Thread [1] 1831 [core: 0] (Suspended : Signal : SIGSEGV:Segmentation fault)
ev_timer_again() at ev.c:3,327 0x804dacf
udplink_up() at main.c:582 0x804a5af
udp_read_cb() at main.c:318 0x804a5af
ev_invoke_pending() at ev.c:2,682 0x804b77b
ev_run() at ev.c:3,082 0x804f257
main() at main.c:302 0x804b0e9

Thank you,
Utku


On Tue, Oct 29, 2013 at 11:15 PM, Marc Lehmann <schmorp at schmorp.de> wrote:

> On Tue, Oct 29, 2013 at 10:30:20PM +0200, utku genç <utkugenc at gmail.com>
> wrote:
> > I get a segmentation fault. Am I missing something here?​
>
> You probably have some memory corruption bug elsewhere in your program. A
> tool such as valgrind may be able to help you find out whats going
> on. This is unlikely to be caused by libev (and the code that causes it
> might not even deal with libev).
>
> --
>                 The choice of a       Deliantra, the free code+content
> MORPG
>       -----==-     _GNU_              http://www.deliantra.net
>       ----==-- _       generation
>       ---==---(_)__  __ ____  __      Marc Lehmann
>       --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
>       -=====/_/_//_/\_,_/ /_/\_\
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20131029/a0f2794a/attachment.html>


More information about the libev mailing list