C++ Broker crashes on persistence-based stress tests.
-----------------------------------------------------
Key: QPID-3197
URL: https://issues.apache.org/jira/browse/QPID-3197
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Affects Versions: 0.10
Reporter: Ken Giusti
Assignee: Ken Giusti
Fix For: 0.10
While running under our persistence stress test suite, the C++ broker will
occasionally crash with:
Thread 1 (process 29629):
#0 qpid::broker::SessionHandler::getConnection (this=0x0) at
qpid/broker/SessionHandler.cpp:62
#1 0x0000002a958037e4 in
qpid::broker::SessionState::AsyncCommandCompleter::scheduleMsgCompletion
(this=Variable "this" is not available.
) at ./qpid/RefCounted.h:42
#2 0x0000002a95803b79 in
qpid::broker::SessionState::IncompleteIngressMsgXfer::completed
(this=0x2a9d8fc490, sync=Variable "sync" is not available.
)
<persistence code completes message enqueue>
It appears that there is a window where the session is detached when the
completion occurs, which results in a null pointer reference.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]