From activemq-dev-return-4385-apmail-geronimo-activemq-dev-archive=geronimo.apache.org@geronimo.apache.org Sun Dec 24 23:23:24 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 15618 invoked from network); 24 Dec 2006 23:23:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Dec 2006 23:23:24 -0000 Received: (qmail 52448 invoked by uid 500); 24 Dec 2006 23:23:31 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 52429 invoked by uid 500); 24 Dec 2006 23:23: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 52420 invoked by uid 99); 24 Dec 2006 23:23:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Dec 2006 15:23:31 -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, 24 Dec 2006 15:23:23 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B1FEC71429F for ; Sun, 24 Dec 2006 15:23:02 -0800 (PST) Message-ID: <13759203.1167002582726.JavaMail.root@brutus> Date: Sun, 24 Dec 2006 15:23:02 -0800 (PST) From: "Albert Strasheim (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_37765 ] Albert Strasheim commented on AMQCPP-27: ---------------------------------------- Haven't gotten round to this yet -- but I'll be putting our code that uses AMQCPP through a thorough Valgrind/Purify run in the next few days, so if I turn up anything I'll report it here. > 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 > Fix For: 1.1 > > 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