[ 
https://issues.apache.org/jira/browse/QPID-5544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893523#comment-13893523
 ] 

ASF subversion and git services commented on QPID-5544:
-------------------------------------------------------

Commit 1565340 from [~aconway] in branch 'qpid/trunk'
[ https://svn.apache.org/r1565340 ]

QPID-5544: HA memory leak in backup broker after shutdown.

The memory leaks were due to shared_ptr cycles between the QueueReplicator,
Bridge and Link objects. This patch breaks the cycles using weak_ptrs
in the appropriate places.

> HA memory leak in backup broker after shutdown.
> -----------------------------------------------
>
>                 Key: QPID-5544
>                 URL: https://issues.apache.org/jira/browse/QPID-5544
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Clustering
>    Affects Versions: 0.26
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: 0.27
>
>
> Valgrind shows memory leaks in backup broker after taking these steps:
> 1. Start primary broker
> 2. Create a queue
> 3. Start backup broker with valgrind
> 4. Wait to see "Joining established cluster" message from backup
> 5. Shut down backup broker
> Valgrind will reprort memory leaks. 
> For more detail see: https://bugzilla.redhat.com/show_bug.cgi?id=1004411



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to