Bug 1380702 - memory leak when rerouting and deleting a queue in parallel
Summary: memory leak when rerouting and deleting a queue in parallel
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 3.2
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: messaging-bugs
QA Contact: Messaging QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-30 11:33 UTC by Tomas
Modified: 2020-11-04 22:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)
reproducer from bzID=1333437 (5.00 KB, text/x-csrc)
2016-09-30 11:33 UTC, Tomas
no flags Details

Description Tomas 2016-09-30 11:33:06 UTC
Created attachment 1206225 [details]
reproducer from bzID=1333437

Description of problem: 
When broker is deleting a queue while performing a QMF queue method (i.e. reroute, but I guess any can be used), there is a memory leak on broker site


Version-Release number of selected component (if applicable):
qpid-cpp-server-0.34-17
rhel7_x64, rhel6_x64


How reproducible:
100% in 1hour

Setup:
Compile attached reproducer (taken over by aconway from bz1333437)
g++ -std=c++0x -g  -L/usr/local/lib64 -lqpidmessaging -lqpidtypes -lpthread stress.cpp -o stress

Steps to Reproduce:
1.run broker
2.start reproducer
3.Monitor memory usage of primary broker.

Actual results:
- memory usage grows over the time 

Expected results:
- no memory usage growth



Additional info:
reproducible only with version 0.34-17 and bigger 
earlier versions contains bug when broker die on segmentation fault with this reproducer
related to https://bugzilla.redhat.com/show_bug.cgi?id=1333437


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