Hung Vo created THRIFT-2977:
-------------------------------

             Summary: C++ Non-blocking server core dump - signal 6
                 Key: THRIFT-2977
                 URL: https://issues.apache.org/jira/browse/THRIFT-2977
             Project: Thrift
          Issue Type: Bug
    Affects Versions: 0.9.2
         Environment: CentOS 6.6 x86_64
            Reporter: Hung Vo
             Fix For: 0.9.3


Our C++ Non-blocking server got a signal 6 core-dump.
Please help to identify the problem.
Thanks.

gdb full back-tracing as follow:

#0  0x00007f9b96edb625 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f9b96edcd8d in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007f9b96ed474e in __assert_fail_base () from /lib64/libc.so.6
No symbol table info available.
#3  0x00007f9b96ed4810 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
#4  0x0000000000535927 in 
apache::thrift::server::TNonblockingServer::TConnection::workSocket 
(this=0x7f649015a330) at thrift_src/thrift/server/TNonblockingServer.cpp:504
        framing = {buf = "\320;\230\226", size = 2526559184}
        sent = 0
        __PRETTY_FUNCTION__ = "void 
apache::thrift::server::TNonblockingServer::TConnection::workSocket()"
        got = 0
        left = 0
        fetch = 0
#5  0x000000000053a83f in 
apache::thrift::server::TNonblockingServer::TConnection::eventHandler (fd=136, 
v=0x7f649015a330) at thrift_src/thrift/server/TNonblockingServer.cpp:276
        __PRETTY_FUNCTION__ = "static void 
apache::thrift::server::TNonblockingServer::TConnection::eventHandler(int, 
short int, void*)"
#6  0x0000000000556943 in event_persist_closure (base=0x7f6490151800, 
ev=0x7f649015a360) at src/event.c:1297
        __func__ = "event_persist_closure"
#7  0x0000000000556a58 in event_process_active_single_queue 
(base=0x7f6490151800, activeq=0x7f6490151c40) at src/event.c:1341
        ev = 0x7f649015a360
        count = 1
        __func__ = "event_process_active_single_queue"
#8  0x0000000000556d2d in event_process_active (base=0x7f6490151800) at 
src/event.c:1416
        activeq = 0x7f6490151c40
        i = 0
        c = 0
#9  0x0000000000557397 in event_base_loop (base=0x7f6490151800, flags=0) at 
src/event.c:1617
        n = 1
        evsel = 0x7bcc60
        tv = {tv_sec = 140069890758272, tv_usec = 140069890757312}
        tv_p = 0x0
        res = 0
        done = 0
        retval = 0
        __func__ = "event_base_loop"
#10 0x00000000005395d2 in apache::thrift::server::TNonblockingIOThread::run 
(this=0x7f6490151680) at thrift_src/thrift/server/TNonblockingServer.cpp:1534
No locals.
#11 0x00000000005387a2 in apache::thrift::server::TNonblockingServer::serve 
(this=0x7f6490151070, host=0x13b4078 "192.168.1.30") at 
thrift_src/thrift/server/TNonblockingServer.cpp:1275
No locals.
#12 0x00000000005013c9 in ThriftServer::start (this=0x13b3050) at 
ThriftServer.cpp:35
        threadFactory = {px = 0x7f64900010c0, pn = {pi_ = 0x7f6490001120}}
#13 0x000000000050147e in ThriftServer::pthread_run_serve (This=0x13b3050) at 
ThriftServer.cpp:44
No locals.
#14 0x00007f9b972449d1 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#15 0x00007f9b96f918fd in clone () from /lib64/libc.so.6




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to