Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 20703 invoked from network); 16 Nov 2010 04:33:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 04:33:18 -0000 Received: (qmail 44698 invoked by uid 500); 16 Nov 2010 04:33:49 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 44478 invoked by uid 500); 16 Nov 2010 04:33:49 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 44470 invoked by uid 99); 16 Nov 2010 04:33:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 04:33:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 04:33:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAG4XO6W022191 for ; Tue, 16 Nov 2010 04:33:24 GMT Message-ID: <21618342.5781289882004613.JavaMail.jira@thor> Date: Mon, 15 Nov 2010 23:33:24 -0500 (EST) From: "Helen Huang (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQCPP-328) crash found in activemqcpp when turning broker offline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org crash found in activemqcpp when turning broker offline ------------------------------------------------------ Key: AMQCPP-328 URL: https://issues.apache.org/activemq/browse/AMQCPP-328 Project: ActiveMQ C++ Client Issue Type: Bug Components: CMS Impl 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 crash in activemqcpp when we are shutting down the message broker. In the meanwhile, our application is still trying to send messages to the broker, and to receive messages from it. Could you please take a look at this problem? Much thanks for your help! The place of the crash appears to be in TransportFilter::Fire(Exception&) on line 49. The content of the address that the listener pointer is pointing to seems to be corrupted/garbage. Please see the call stack in the attached screen shot for details. Attached please also find a test program to reproduce the problem. Step to run the test program: (1) download and unzip test program (2) register GTOUD.dll (3) register CmsMessageHandlerCOMUD.dll (4) run CmsMessageHandlerCOMTest.exe (5) repeatedly restart activemqcpp broker. (6) observe the crash -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.