activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Mittler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQCPP-27) Issues reported by Valgrind when running unit tests
Date Sat, 16 Dec 2006 21:01:02 GMT
    [ https://issues.apache.org/activemq/browse/AMQCPP-27?page=comments#action_37697 ] 
            
Nathan Mittler commented on AMQCPP-27:
--------------------------------------

I think I may have located the last leak listed in the file ... but it will only occur on
win32 - I'm assuming this is your platform?

I don't have access to a windows box - could you give the latest trunk a try?  I haven't built
it on win32 but it was just a 1-line change ... so cross your fingers :)

Thanks again for your help - it is much appreciated!

> Issues reported by Valgrind when running unit tests
> ---------------------------------------------------
>
>                 Key: AMQCPP-27
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-27
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Albert Strasheim
>         Assigned To: Nathan Mittler
>         Attachments: activemq-cpp-deletes.diff, activemq-cpp-valgrind.log
>
>
> Valgrind 3.2.1 reported a few issues when running the ActiveMQ C++ unit tests.
> Some of them were simple cases of mismatched new[] and delete[] (patch attached).
> Valgrind also reports a few memory leaks, some probably the same as found by Rational
Purify.
> Complete Valgrind log attached (after I fixed the deletes). I ran Valgrind as follows:
> valgrind \
>         --tool=memcheck \
>         --leak-check=yes \
>         --error-limit=no \
>         --num-callers=20 \
>         --freelist-vol=536870912 \
>         -v \
>         ./activemq-test

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message