Hide Forgot
Description of problem: A client connection was closed by the broker due to a timed-out heartbeat. When the client eventually closed its receiver and session, it got stuck in a loop while attempting to close the session. Version-Release number of selected component (if applicable): qpid-cpp-client-0.7.946106-32_ptc_hotfix_7.el5 qpid-cpp-client-0.10-6.el6 How reproducible: 100% Steps to Reproduce: 1. Open a connection/session/receiver to a broker 2. Let the broker kill the connection 3. Close the receiver 4. Close the session Actual results: The Session::close() method will hang in a loop attempting to close the receiver. Expected results: The Session::close() method will return Additional info:
Created attachment 518871 [details] Reproducer
Fixed upstream: http://svn.apache.org/viewvc?view=rev&rev=1159293
This fix looks fine. This was tested on RHEL 5.9, 6.4 and i686, x86_64 with packages: python-qpid-0.22-4 python-qpid-qmf-0.22-5 qpid-cpp-client-0.22-6 qpid-cpp-client-devel-0.22-6 qpid-cpp-client-devel-docs-0.22-6 qpid-cpp-client-rdma-0.22-6 qpid-cpp-client-ssl-0.22-6 qpid-cpp-server-0.22-6 qpid-cpp-server-devel-0.22-6 qpid-cpp-server-ha-0.22-6 qpid-cpp-server-rdma-0.22-6 qpid-cpp-server-ssl-0.22-6 qpid-cpp-server-store-0.22-6 qpid-cpp-server-xml-0.22-6 qpid-proton-c-0.4-2.2 qpid-qmf-0.22-5 qpid-tools-0.22-2
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-1296.html