2009/3/26  <valery+libev...@grid.net.ru>:
>
> Do you get SIGSEGV or SIGBUS? Because it might be an alignment issue.

A few month ago I got SIGSEGV when a program was running (it was
libevent 1.4.7 or 1.4.8 I don't remember).
Now I get SIGBUS during start and can't reproduce SIGSEGV anymore.

I had a basic example that could reproduce SIGSEGV. I'll try to find
and send it tomorrow.

>
> I either case, what is your stack trace?

Program received signal SIGBUS, Bus error.
event_active (ev=0x1, res=2, ncalls=1) at ../libevent-1.4.9-stable/event.c:835
835             if (ev->ev_flags & EVLIST_ACTIVE) {
(gdb) bt
#0  event_active (ev=0x1, res=2, ncalls=1)
    at ../libevent-1.4.9-stable/event.c:835
#1  0x00052508 in epoll_dispatch (base=0x0, arg=0x1, tv=0x1)
    at ../libevent-1.4.9-stable/epoll.c:247
#2  0x0004d238 in event_base_loop (base=0xe2470, flags=0)
    at ../libevent-1.4.9-stable/event.c:530
#3  0x0003356c in run_http (arg=0xe2470)
    at /home/aozeritsky/projects/sandbox/ip355/http_send.cpp:660
#4  0x00033868 in run_http ()
    at /home/aozeritsky/projects/sandbox/ip355/http_send.cpp:737
#5  0x0003caa8 in main (argc=2, argv=0xbefffe74)
    at /home/aozeritsky/projects/sandbox/ip355/main.c:486
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to