Bug 1029442 - [AMQP 1.0] closing connection after receiving exception for link detach can cause hang
Summary: [AMQP 1.0] closing connection after receiving exception for link detach can c...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: 3.0
: ---
Assignee: Gordon Sim
QA Contact: Petr Matousek
URL:
Whiteboard:
Depends On:
Blocks: 1010399
TreeView+ depends on / blocked
 
Reported: 2013-11-12 12:00 UTC by Gordon Sim
Modified: 2018-12-04 16:17 UTC (History)
5 users (show)

Fixed In Version: qpid-cpp-0.22-26
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-21 12:55:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-5331 0 None None None Never

Description Gordon Sim 2013-11-12 12:00:36 UTC
Description of problem:

If an exception is thrown e.g. while sending to a queue that is full, and if in the handling of that exception the application attempts to close the connection, that close() call can hang.

Version-Release number of selected component (if applicable):

Early Access

How reproducible:

Fairly easily

Steps to Reproduce:
1. qpid-config add queue q --max-queue-count 10
2. qpid-send --connection-options {protocol:amqp1.0} --messages 5000 --address q

Actual results:

qpid-send hangs on connection.close() after logging the exception

Expected results:

qpid-send exits after logging exception
Additional info:

Comment 1 Gordon Sim 2013-11-12 12:01:21 UTC
Fixed upstream: https://svn.apache.org/r1541001

Comment 2 Petr Matousek 2014-02-14 15:31:17 UTC
This issue has been fixed. Verified on rhel6.5 (x86_64, i386).

packages under test:
qpid-cpp-*-0.22-35

-> VERIFIED


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