Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 996078

Summary: [AMQP 1.0] broker crashes when subscribe fails on subscription queue
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matousek <pematous>
Severity: unspecified Docs Contact:
Priority: high    
Version: DevelopmentCC: esammons, iboverma, jross, pematous
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:54:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1010399    

Description Gordon Sim 2013-08-12 11:22:10 UTC
Description of problem:

If the subscribe fails for a subscription queue (i.e. in attaching a receiver link from an exchange), the broker crashes.

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

qpid-0.24rc1

How reproducible:

100%

Steps to Reproduce:
1. qpid-receive --connection-options {protocol:amqp1.0,connection_id:abc} --address 'amq.fanout; {link:{name:def}}'
2. start another receiver with exact same options as above

Actual results:

broker crashes

Expected results:

broker doesn't crash; second attempt fails with error message

Additional info:

Comment 1 Gordon Sim 2013-08-12 11:22:55 UTC
Fixed upstream: https://svn.apache.org/r1512218

Comment 3 Petr Matousek 2014-02-13 16:08:36 UTC
This issue has been fixed. Verified on rhel6.5 (x86_64, i386).

note: The link name must be unique within the container but the same link name may be used when using different containers. 

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

-> VERIFIED