Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8366610925 for ; Wed, 16 Oct 2013 08:41:50 +0000 (UTC) Received: (qmail 73366 invoked by uid 500); 16 Oct 2013 08:41:47 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 73298 invoked by uid 500); 16 Oct 2013 08:41:45 -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 73208 invoked by uid 99); 16 Oct 2013 08:41:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 08:41:43 +0000 Date: Wed, 16 Oct 2013 08:41:43 +0000 (UTC) From: =?utf-8?Q?Daniel_La=C3=BCgt_=28JIRA=29?= To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQCPP-513) On closing a connection, ActiveMQ crashes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQCPP-513?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1379= 6565#comment-13796565 ]=20 Daniel La=C3=BCgt commented on AMQCPP-513: ------------------------------------- In AMQCPP-491, source tab shows the revisions: https://issues.apache.org/jira/browse/AMQCPP-491 In this one (AMQCPP-513), source tab doesn't show anything. > On closing a connection, ActiveMQ crashes > ----------------------------------------- > > Key: AMQCPP-513 > URL: https://issues.apache.org/jira/browse/AMQCPP-513 > Project: ActiveMQ C++ Client > Issue Type: Bug > Affects Versions: 3.7.0 > Environment: Windows 7 (32 bits) with Visual C++ 2010 > Reporter: Daniel La=C3=BCgt > Assignee: Timothy Bish > Priority: Minor > Fix For: 3.9.0 > > Attachments: changes.patch, test.cc > > Original Estimate: 24h > Remaining Estimate: 24h > > By closing the connection, ActiveMQConnection::close() and AdvisoryConsum= er::processDestinationInfo() access/modify in the same time on config.activ= eTempDestinations. This gives a crash. > Test case: > - compile test.cc > - run the two command lines in parallel > + test.exe client1 > + test.exe client2 > Proposed fix: > Dispose the advisory consumer on closing the connection. -- This message was sent by Atlassian JIRA (v6.1#6144)