[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] random crashed by [err] event_queue_remove:not on queue 8

Hi all,

I uses the libevent-2.0.19-stable in my rpc server to send data from
client-end to server-end. However, my server is always "exist" by
libevent (by event_errx()).

Checked log and fond the follow message:

event_queue_remove: 0x7ea588(fd 17) not on queue 8

So, after add abort() in event_exit() and dump the core, the core
stack is as following:

==========  core dump ===========
#0  0x000000302af2e2ed in raise () from /lib64/tls/libc.so.6
(gdb) bt
#0  0x000000302af2e2ed in raise () from /lib64/tls/libc.so.6
#1  0x000000302af2fa3e in abort () from /lib64/tls/libc.so.6
#2  0x000000000050fbb5 in event_exit (errcode=Could not find the frame
base for "event_exit".
) at thirdparty/libevent-2.0.19-stable/log.c:82
#3  0x0000000000510057 in event_errx (eval=Could not find the frame
base for "event_errx".
) at thirdparty/libevent-2.0.19-stable/log.c:138
#4  0x00000000005013f8 in event_queue_remove (base=0x7e4ba0,
ev=0x7eb9b8, queue=8)
    at thirdparty/libevent-2.0.19-stable/event.c:2498
#5  0x00000000004fd8e1 in event_process_active_single_queue
(base=0x7e4ba0, activeq=0x7dc930)
    at thirdparty/libevent-2.0.19-stable/event.c:1318
#6  0x00000000004fdfad in event_process_active (base=0x7e4ba0) at
#7  0x00000000004fe5a1 in event_base_loop (base=0x7e4ba0, flags=0) at
#8  0x00000000004e8da4 in bobby::EventLoop::Loop (this=0x7e1aa8) at
#9  0x00000000004ed1fc in bobby::BobbyServer::Entry (this=0x7e1a80) at
#10 0x00000000005ce639 in BaseThread::StaticEntry
(inBaseThread=0x7e1a80) at common/thread/base_thread.cpp:160
#11 0x000000302b80610a in start_thread () from /lib64/tls/libpthread.so.0
#12 0x000000302afc6003 in clone () from /lib64/tls/libc.so.6
#13 0x0000000000000000 in ?? ()

any help?

To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.