Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 58028 invoked from network); 17 Dec 2006 12:05:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2006 12:05:23 -0000 Received: (qmail 82430 invoked by uid 500); 17 Dec 2006 12:05:31 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 82405 invoked by uid 500); 17 Dec 2006 12:05:31 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 82396 invoked by uid 99); 17 Dec 2006 12:05:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Dec 2006 04:05:30 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Dec 2006 04:05:22 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B5B95714167 for ; Sun, 17 Dec 2006 04:05:02 -0800 (PST) Message-ID: <24363944.1166357102741.JavaMail.root@brutus> Date: Sun, 17 Dec 2006 04:05:02 -0800 (PST) From: "Nathan Mittler (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Commented: (AMQCPP-27) Issues reported by Valgrind when running unit tests In-Reply-To: <6378765.1166231762501.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-27?page=comments#action_37706 ] Nathan Mittler commented on AMQCPP-27: -------------------------------------- Ok, I think I got it. Grab the latest activemq/concurrent/Thread.cpp and give that a try. > 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