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 30EFDE632 for ; Wed, 6 Feb 2013 19:17:15 +0000 (UTC) Received: (qmail 43250 invoked by uid 500); 6 Feb 2013 19:17:14 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 43206 invoked by uid 500); 6 Feb 2013 19:17:14 -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 43006 invoked by uid 99); 6 Feb 2013 19:17:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2013 19:17:14 +0000 Date: Wed, 6 Feb 2013 19:17:14 +0000 (UTC) From: "Helen Huang (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQCPP-455) Access violation in CMS when creating a new connection 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-455?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1357= 2696#comment-13572696 ]=20 Helen Huang commented on AMQCPP-455: ------------------------------------ The problem is can be re-created using cmsTemplate-stress.zip that I have a= ttached to jira AMQCPP-454 https://issues.apache.org/jira/browse/AMQCPP-454 =20 > Access violation in CMS when creating a new connection > ------------------------------------------------------ > > Key: AMQCPP-455 > URL: https://issues.apache.org/jira/browse/AMQCPP-455 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: CMS Impl > Affects Versions: 3.5.0 > Environment: windows xp, activemq 5.3 > Reporter: Helen Huang > Assignee: Timothy Bish > Priority: Critical > Fix For: 3.5.0 > > > Caught an access violation in CMS. The iterator seems to be out of bound.= The following is the call stack: > activemq-cppud.dll!std::_Tree,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > >,std::allocator,std::allocator > const ,std::= basic_string,std::allocator > > >,0> >::c= onst_iterator::operator++() Line 264 > activemq-cppud.dll!std::_Tree,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > >,std::allocator,std::allocator > const ,std::= basic_string,std::allocator > > >,0> >::i= nsert,std::allocator >,std::basic_string,= std::allocator >,std::less,std::allocator > >,std::allocator,std::allocator > const ,std::basic_string,std::allocator > > >,0> >::const_iterator>(= std::_Tree,= std::allocator >,std::basic_string,std::a= llocator >,std::less,st= d::allocator > >,std::allocator,std::allocator > const ,std::basic_string,std::allocator > > >,0> >::const_iterator _First= =3D(,), std::_Tree,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > >,std::allocator,std::allocator > const ,= std::basic_string,std::allocator > > >,0>= >::const_iterator _Last=3D(,)) Line 742 + 0xa bytes > activemq-cppud.dll!decaf::util::StlMap,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > > >::copy(const decaf::util::StlMap,std::allocator >,std::basic_s= tring,std::allocator >,std::less,std::allocator > > > & source= =3D{...}) Line 701 > activemq-cppud.dll!decaf::util::Properties::clone() Line 280 > activemq-cppud.dll!activemq::core::ActiveMQConnectionFactory::doCreateCon= nection(const decaf::net::URI & uri=3D{...}, const std::basic_string,std::allocator > & username=3D"", const std::ba= sic_string,std::allocator > & password=3D= "", const std::basic_string,std::allocator > & clientId=3D"") Line 289 + 0x1f bytes > activemq-cppud.dll!activemq::core::ActiveMQConnectionFactory::createConne= ction() Line 245 > activemq-cppud.dll!activemq::cmsutil::CmsAccessor::createConnection() Li= ne 58 + 0x32 bytes > activemq-cppud.dll!activemq::cmsutil::CmsTemplate::getConnection() Line = 258 + 0xd bytes > activemq-cppud.dll!activemq::cmsutil::CmsTemplate::takeSession() Line 28= 3 > activemq-cppud.dll!activemq::cmsutil::CmsTemplate::execute(activemq::cmsu= til::SessionCallback * action=3D0x02abfac4) Line 433 + 0x8 bytes > activemq-cppud.dll!activemq::cmsutil::CmsTemplate::execute(activemq::cmsu= til::ProducerCallback * action=3D0x02abfb3c) Line 458 > activemq-cppud.dll!activemq::cmsutil::CmsTemplate::send(activemq::cmsutil= ::MessageCreator * messageCreator=3D0x02abfc48) Line 539 > CMSMessageHandler-MultiTest.exe!cmstemplate::Sender::SendMessage(std::bas= ic_string,std::allocator > & message=3D"2= 5040;CTBZMRWGBGIUAHHKNRRBBDZUQYMTZFTPYUOCLPLUTHNSBVFZFDTIMKBUIYAQBYBINKJLHQ= WUNEOUBILUSFBOVSHAPJICGMQYXALGF", cmstemplate::ErrorCode & errorCode=3DCMS_= SUCCESS) Line 65 + 0x2d bytes > CMSMessageHandler-MultiTest.exe!cmstemplate::TestSenderAndReceiver::run()= Line 91 > activemq-cppud.dll!decaf::lang::Thread::run() Line 143 > activemq-cppud.dll!`anonymous namespace'::runCallback(void * arg=3D0x00be= eb68) Line 262 + 0x11 bytes > activemq-cppud.dll!`anonymous namespace'::threadEntryMethod(void * arg=3D= 0x00beeb68) Line 250 + 0x15 bytes > msvcr80d.dll!_callthreadstartex() Line 348 + 0xf bytes > msvcr80d.dll!_threadstartex(void * ptd=3D0x00bf0ee8) Line 331 -- 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