You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Helen Huang (JIRA)" <ji...@apache.org> on 2010/10/21 15:29:40 UTC

[jira] Created: (AMQCPP-322) Found memory leaks in ActiveMQCPP

Found memory leaks in ActiveMQCPP
---------------------------------

                 Key: AMQCPP-322
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-322
             Project: ActiveMQ C++ Client
          Issue Type: Bug
    Affects Versions: 3.2.3
         Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
            Reporter: Helen Huang
            Assignee: Timothy Bish
             Fix For: 3.2.4


We found a large number of memory leaks in ActiveMQCPP and APR while we ran DevPartner error detection. We are wondering if  you can fix them in branch 3.2.4? Thank you very much for your help in advance!

We saved a copy of the error detection report. Attached please find the file.  Also we did restart the message broker during our test. 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQCPP-322) Found memory leaks in ActiveMQCPP

Posted by "Helen Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Helen Huang updated AMQCPP-322:
-------------------------------

    Attachment: MemoryLeaks2.JPG
                MemoryLeaks1.JPG
                Memory Leaks.xml

Attached the error report in xml, and also the screen shots I have taken

> Found memory leaks in ActiveMQCPP
> ---------------------------------
>
>                 Key: AMQCPP-322
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-322
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.2.3
>         Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
>            Reporter: Helen Huang
>            Assignee: Timothy Bish
>             Fix For: 3.2.4
>
>         Attachments: ActiveMQCPP-Memory-Leaks.zip, Memory Leaks.xml, MemoryLeaks1.JPG, MemoryLeaks2.JPG
>
>
> We found a large number of memory leaks in ActiveMQCPP and APR while we ran DevPartner error detection. We are wondering if  you can fix them in branch 3.2.4? Thank you very much for your help in advance!
> We saved a copy of the error detection report. Attached please find the file.  Also we did restart the message broker during our test. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQCPP-322) Found memory leaks in ActiveMQCPP

Posted by "Helen Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Helen Huang updated AMQCPP-322:
-------------------------------

    Attachment: ActiveMQCPP-Memory-Leaks.zip

> Found memory leaks in ActiveMQCPP
> ---------------------------------
>
>                 Key: AMQCPP-322
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-322
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.2.3
>         Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
>            Reporter: Helen Huang
>            Assignee: Timothy Bish
>             Fix For: 3.2.4
>
>         Attachments: ActiveMQCPP-Memory-Leaks.zip
>
>
> We found a large number of memory leaks in ActiveMQCPP and APR while we ran DevPartner error detection. We are wondering if  you can fix them in branch 3.2.4? Thank you very much for your help in advance!
> We saved a copy of the error detection report. Attached please find the file.  Also we did restart the message broker during our test. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-322) Found memory leaks in ActiveMQCPP

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62731#action_62731 ] 

Timothy Bish commented on AMQCPP-322:
-------------------------------------

I don't have access to this application, so I can't review the provided file.  

APR specific memory leaks should be directed towards the APR bugzilla issue tracker.

> Found memory leaks in ActiveMQCPP
> ---------------------------------
>
>                 Key: AMQCPP-322
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-322
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.2.3
>         Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
>            Reporter: Helen Huang
>            Assignee: Timothy Bish
>             Fix For: 3.2.4
>
>         Attachments: ActiveMQCPP-Memory-Leaks.zip
>
>
> We found a large number of memory leaks in ActiveMQCPP and APR while we ran DevPartner error detection. We are wondering if  you can fix them in branch 3.2.4? Thank you very much for your help in advance!
> We saved a copy of the error detection report. Attached please find the file.  Also we did restart the message broker during our test. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-322) Found memory leaks in ActiveMQCPP

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62771#action_62771 ] 

Timothy Bish commented on AMQCPP-322:
-------------------------------------

Would be good if we could get an export of the results as txt or pdf etc.

> Found memory leaks in ActiveMQCPP
> ---------------------------------
>
>                 Key: AMQCPP-322
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-322
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.2.3
>         Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
>            Reporter: Helen Huang
>            Assignee: Timothy Bish
>             Fix For: 3.2.4
>
>         Attachments: ActiveMQCPP-Memory-Leaks.zip
>
>
> We found a large number of memory leaks in ActiveMQCPP and APR while we ran DevPartner error detection. We are wondering if  you can fix them in branch 3.2.4? Thank you very much for your help in advance!
> We saved a copy of the error detection report. Attached please find the file.  Also we did restart the message broker during our test. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-322) Found memory leaks in ActiveMQCPP

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62777#action_62777 ] 

Timothy Bish commented on AMQCPP-322:
-------------------------------------

It appears that your leak detection software gets confused by smart pointers.  Testing with valgrind using the CMSTemplate examples and restarting the broker doesn't show any leaks.

> Found memory leaks in ActiveMQCPP
> ---------------------------------
>
>                 Key: AMQCPP-322
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-322
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.2.3
>         Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
>            Reporter: Helen Huang
>            Assignee: Timothy Bish
>             Fix For: 3.2.4
>
>         Attachments: ActiveMQCPP-Memory-Leaks.zip, Memory Leaks.xml, MemoryLeaks1.JPG, MemoryLeaks2.JPG, MemoryLeaks3.JPG
>
>
> We found a large number of memory leaks in ActiveMQCPP and APR while we ran DevPartner error detection. We are wondering if  you can fix them in branch 3.2.4? Thank you very much for your help in advance!
> We saved a copy of the error detection report. Attached please find the file.  Also we did restart the message broker during our test. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-322) Found memory leaks in ActiveMQCPP

Posted by "Helen Huang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62732#action_62732 ] 

Helen Huang commented on AMQCPP-322:
------------------------------------

I will take screen shots of the error report today and add them as attachments. Thanks!

> Found memory leaks in ActiveMQCPP
> ---------------------------------
>
>                 Key: AMQCPP-322
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-322
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.2.3
>         Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
>            Reporter: Helen Huang
>            Assignee: Timothy Bish
>             Fix For: 3.2.4
>
>         Attachments: ActiveMQCPP-Memory-Leaks.zip
>
>
> We found a large number of memory leaks in ActiveMQCPP and APR while we ran DevPartner error detection. We are wondering if  you can fix them in branch 3.2.4? Thank you very much for your help in advance!
> We saved a copy of the error detection report. Attached please find the file.  Also we did restart the message broker during our test. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQCPP-322) Found memory leaks in ActiveMQCPP

Posted by "Helen Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Helen Huang updated AMQCPP-322:
-------------------------------

    Attachment: MemoryLeaks3.JPG

Attached one more screenshot. Thanks!

> Found memory leaks in ActiveMQCPP
> ---------------------------------
>
>                 Key: AMQCPP-322
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-322
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.2.3
>         Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
>            Reporter: Helen Huang
>            Assignee: Timothy Bish
>             Fix For: 3.2.4
>
>         Attachments: ActiveMQCPP-Memory-Leaks.zip, Memory Leaks.xml, MemoryLeaks1.JPG, MemoryLeaks2.JPG, MemoryLeaks3.JPG
>
>
> We found a large number of memory leaks in ActiveMQCPP and APR while we ran DevPartner error detection. We are wondering if  you can fix them in branch 3.2.4? Thank you very much for your help in advance!
> We saved a copy of the error detection report. Attached please find the file.  Also we did restart the message broker during our test. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (AMQCPP-322) Found memory leaks in ActiveMQCPP

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQCPP-322.
-------------------------------

    Resolution: Cannot Reproduce

Working through some of the locations that are shown here I've not been able to find any that actually leak, the memory is released as expected.  I think the leak tracker being used is confused by the smart pointers and loses track of the memory allocation / deallocation points.  Older versions of valgrind had similar issues.

> Found memory leaks in ActiveMQCPP
> ---------------------------------
>
>                 Key: AMQCPP-322
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-322
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.2.3
>         Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
>            Reporter: Helen Huang
>            Assignee: Timothy Bish
>             Fix For: 3.2.4
>
>         Attachments: ActiveMQCPP-Memory-Leaks.zip, Memory Leaks.xml, MemoryLeaks1.JPG, MemoryLeaks2.JPG, MemoryLeaks3.JPG
>
>
> We found a large number of memory leaks in ActiveMQCPP and APR while we ran DevPartner error detection. We are wondering if  you can fix them in branch 3.2.4? Thank you very much for your help in advance!
> We saved a copy of the error detection report. Attached please find the file.  Also we did restart the message broker during our test. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.