[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
- To: libevent-users@xxxxxxxx
- Subject: [Libevent-users] random crashed by [err] event_queue_remove:not on queue 8
- From: Tony Qin <anqin.qin@xxxxxxxxx>
- Date: Mon, 18 Feb 2013 11:09:25 +0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Sun, 17 Feb 2013 22:09:29 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=LA1ZKNQbyoV7W8Jtktsqc3hDL6KI8AOWESfU5CS0frI=; b=fxNXCKjJSk/mjhtIts64Acw26QW2F7O4JtWLfZMxxz1Iq16NPLwcbe576Gpjs0513d ShuwpwRH9VZiJHc/1X8UJaZai98NsuNac0jLWIkRNORijY+gdfpd0gcAywO/Ah4uetKL pDA42rjljFh+n+jd5/xTNePRKUPL6bAOiEcXuOQgE9uVankMILb4samcd0McdZF86VOe YOrlB1O6KZBXP93zjH+2fUczHsjbz2AJg64TQtCAmDsQdvqy1lFWSqjcUSxFpFQibRQs aAWGPGeLkqTSQK+MarnpE3VnzzXjA4/lK/zE5UiDWIgivAbMis9g0h92mns9u4IOYUBa b1TA==
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
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
thirdparty/libevent-2.0.19-stable/event.c:1416
#7 0x00000000004fe5a1 in event_base_loop (base=0x7e4ba0, flags=0) at
thirdparty/libevent-2.0.19-stable/event.c:1617
#8 0x00000000004e8da4 in bobby::EventLoop::Loop (this=0x7e1aa8) at
bobby/eventloop.cc:24
#9 0x00000000004ed1fc in bobby::BobbyServer::Entry (this=0x7e1a80) at
bobby/bobby_server.cc:25
#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?
Thanks~~
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.