Bug 514036 - Core on 1.2 code line
Summary: Core on 1.2 code line
Keywords:
Status: CLOSED DUPLICATE of bug 503760
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.2
Hardware: All
OS: Linux
high
urgent
Target Milestone: 1.3
: ---
Assignee: Andrew Stitcher
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-27 18:09 UTC by Carl Trieloff
Modified: 2009-10-06 16:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-30 15:29:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Carl Trieloff 2009-07-27 18:09:18 UTC
2009-07-27 13:55:45 notice SASL disabled: No Authentication Performed
2009-07-27 13:55:45 notice Listening on TCP port 5672
2009-07-27 13:55:45 notice Broker running
lt-qpidd: qpid/sys/DispatchHandle.cpp:259: virtual void qpid::sys::DispatchHandle::processEvent(qpid::sys::Poller::EventType): Assertion `state!=CALLING' failed.
Aborted (core dumped)

from trunk revision 798241

to reproduce:
 ./qpidd --auth no --tcp-nodelay

[localhost tests]$ ./latencytest --rate 1000000 --tcp-nodelay 
Latency(ms): min=0.560546, max=523.206, avg=305.966
Latency(ms): min=508.735, max=1009.36, avg=782.974
Latency(ms): min=998.361, max=1501.98, avg=1299.21
^C
[localhost tests]$ ./latencytest --rate 100 --tcp-nodelay 
Connection refused: localhost:5672 (qpid/sys/posix/Socket.cpp:162)


Form gdb


(gdb) thread apply all bt

Thread 6 (process 18056):
#0  0x0000003fe720dc45 in __lll_unlock_wake () from /lib64/libpthread.so.0
#1  0x0000003fe720a5e9 in _L_unlock_56 () from /lib64/libpthread.so.0
#2  0x0000003fe720a226 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#3  0x00007fe807f5b2b6 in qpid::sys::Mutex::unlock (this=0x7fe800000c98) at ../include/qpid/sys/posix/Mutex.h:120
#4  0x00007fe807c124cb in ~ScopedLock () at ../include/qpid/sys/Mutex.h:34
#5  qpid::sys::DispatchHandle::processEvent (this=0x7fe800000b78, type=<value optimized out>)
    at qpid/sys/DispatchHandle.cpp:289
#6  0x00007fe807b661e8 in qpid::sys::Poller::Event::process () at ./qpid/sys/Poller.h:123
#7  qpid::sys::Poller::run (this=0xbfe8e0) at qpid/sys/epoll/EpollPoller.cpp:476
#8  0x00007fe807f946b2 in qpid::broker::Broker::run (this=0x0) at qpid/broker/Broker.cpp:319
#9  0x00000000004093ba in QpiddBroker::execute (this=<value optimized out>, options=0xc00060)
    at posix/QpiddBroker.cpp:166
#10 0x0000000000406394 in main (argc=4, argv=0x7fff39a3a178) at qpidd.cpp:77

Thread 5 (process 18075):
#0  0x0000003fe66e6888 in epoll_wait () from /lib64/libc.so.6
#1  0x00007fe807b65a66 in qpid::sys::Poller::wait (this=0xbfe8e0, timeout={nanosecs = 9223372036854775807})
    at qpid/sys/epoll/EpollPoller.cpp:512
#2  0x00007fe807b661f7 in qpid::sys::Poller::run (this=0xbfe8e0) at qpid/sys/epoll/EpollPoller.cpp:472
#3  0x00007fe807b5ce7a in runRunnable (p=0x5) at qpid/sys/posix/Thread.cpp:35
#4  0x0000003fe72073da in start_thread () from /lib64/libpthread.so.0
#5  0x0000003fe66e62bd in clone () from /lib64/libc.so.6

Thread 4 (process 18072):
#0  0x0000003fe720b58d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe80803d2af in qpid::sys::Condition::wait (this=0xffffffffffffff92, mutex=@0xc01c98, 
    absoluteTime=<value optimized out>) at ../include/qpid/sys/posix/Condition.h:69
#2  0x00007fe80803b8ed in qpid::sys::Monitor::wait () at ../include/qpid/sys/Monitor.h:45
#3  qpid::broker::Timer::run (this=0xc01c90) at qpid/broker/Timer.cpp:83
#4  0x00007fe807b5ce7a in runRunnable (p=0xc01cc4) at qpid/sys/posix/Thread.cpp:35
#5  0x0000003fe72073da in start_thread () from /lib64/libpthread.so.0
#6  0x0000003fe66e62bd in clone () from /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit--- 

Thread 3 (process 18073):
#0  0x0000003fe720b58d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe80803d2af in qpid::sys::Condition::wait (this=0xffffffffffffff92, mutex=@0xc01d60, 
    absoluteTime=<value optimized out>) at ../include/qpid/sys/posix/Condition.h:69
#2  0x00007fe80803b8ed in qpid::sys::Monitor::wait () at ../include/qpid/sys/Monitor.h:45
#3  qpid::broker::Timer::run (this=0xc01d58) at qpid/broker/Timer.cpp:83
#4  0x00007fe807b5ce7a in runRunnable (p=0xc01d8c) at qpid/sys/posix/Thread.cpp:35
#5  0x0000003fe72073da in start_thread () from /lib64/libpthread.so.0
#6  0x0000003fe66e62bd in clone () from /lib64/libc.so.6

Thread 2 (process 18074):
#0  0x0000003fe720b58d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe80803d2af in qpid::sys::Condition::wait (this=0xffffffffffffff92, mutex=@0x7fe8061b9148, 
    absoluteTime=<value optimized out>) at ../include/qpid/sys/posix/Condition.h:69
#2  0x00007fe80803b8ed in qpid::sys::Monitor::wait () at ../include/qpid/sys/Monitor.h:45
#3  qpid::broker::Timer::run (this=0x7fe8061b9140) at qpid/broker/Timer.cpp:83
#4  0x00007fe807b5ce7a in runRunnable (p=0x7fe8061b9174) at qpid/sys/posix/Thread.cpp:35
#5  0x0000003fe72073da in start_thread () from /lib64/libpthread.so.0
#6  0x0000003fe66e62bd in clone () from /lib64/libc.so.6

Thread 1 (process 18076):
#0  0x0000003fe6632f05 in raise () from /lib64/libc.so.6
#1  0x0000003fe6634a73 in abort () from /lib64/libc.so.6
#2  0x0000003fe662bef9 in __assert_fail () from /lib64/libc.so.6
#3  0x00007fe807c122c4 in qpid::sys::DispatchHandle::processEvent (this=0x7fe800000b78, 
    type=qpid::sys::Poller::DISCONNECTED) at qpid/sys/DispatchHandle.cpp:259
#4  0x00007fe807b661e8 in qpid::sys::Poller::Event::process () at ./qpid/sys/Poller.h:123
#5  qpid::sys::Poller::run (this=0xbfe8e0) at qpid/sys/epoll/EpollPoller.cpp:476
#6  0x00007fe807b5ce7a in runRunnable (p=0x4688) at qpid/sys/posix/Thread.cpp:35
#7  0x0000003fe72073da in start_thread () from /lib64/libpthread.so.0
#8  0x0000003fe66e62bd in clone () from /lib64/libc.so.6
(gdb)

Comment 1 Andrew Stitcher 2009-07-30 15:29:55 UTC

*** This bug has been marked as a duplicate of bug 503760 ***


Note You need to log in before you can comment on or make changes to this bug.