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 DC5D311DB0 for ; Wed, 9 Jul 2014 12:20:06 +0000 (UTC) Received: (qmail 97976 invoked by uid 500); 9 Jul 2014 12:20:05 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 97894 invoked by uid 500); 9 Jul 2014 12:20:05 -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 97650 invoked by uid 99); 9 Jul 2014 12:20:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 12:20:05 +0000 Date: Wed, 9 Jul 2014 12:20:05 +0000 (UTC) From: "Lyubov Romachuk (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMQCPP-547) activemq::core::ConnectionAudit::isDuplicate is not thread safe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Lyubov Romachuk created AMQCPP-547: -------------------------------------- Summary: activemq::core::ConnectionAudit::isDuplicate is not thread safe Key: AMQCPP-547 URL: https://issues.apache.org/jira/browse/AMQCPP-547 Project: ActiveMQ C++ Client Issue Type: Bug Environment: Linux Reporter: Lyubov Romachuk Assignee: Timothy Bish Priority: Critical We use ActiveMQ C++ 3.8.2 client in a multi-threaded application. The application crashed because activemq::core::ConnectionAudit::isDuplicate doesn't synchronize access to the activemq::core::ConnectionAuditImpl::destinations and activemq::core::ConnectionAuditImpl::dispatchers which are shared and destinations,dispatchers itself are not thread-safe. -- This message was sent by Atlassian JIRA (v6.2#6252)