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 08350FD1F for ; Fri, 5 Apr 2013 08:32:17 +0000 (UTC) Received: (qmail 80845 invoked by uid 500); 5 Apr 2013 08:32:16 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 80806 invoked by uid 500); 5 Apr 2013 08:32:16 -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 80757 invoked by uid 99); 5 Apr 2013 08:32:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Apr 2013 08:32:15 +0000 Date: Fri, 5 Apr 2013 08:32:15 +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] [Updated] (AMQCPP-474) On closing a connection, ActiveMQ raises the exception: StlMap modified outside this iterator 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-474?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel La=C3=BCgt updated AMQCPP-474: -------------------------------- Attachment: ActiveMQConnection.cpp.patch Here is the proposed fix. =20 > On closing a connection, ActiveMQ raises the exception: StlMap modified o= utside this iterator > -------------------------------------------------------------------------= -------------------- > > Key: AMQCPP-474 > URL: https://issues.apache.org/jira/browse/AMQCPP-474 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: CMS Impl > Affects Versions: 3.6.0 > Environment: Windows 7 32 bits > Reporter: Daniel La=C3=BCgt > Assignee: Timothy Bish > Attachments: ActiveMQConnection.cpp.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > By closing the connection, activeMQ iterates on config.activeTempDestinat= ions to close the active temporary destinations. The method ActiveMQTempDes= tination.close() removes the destination from config.activeTempDestinations= . So the iterators are invalid for the next iterations. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira