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 35E11E6A7 for ; Fri, 8 Feb 2013 22:13:13 +0000 (UTC) Received: (qmail 16272 invoked by uid 500); 8 Feb 2013 22:13:13 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 16153 invoked by uid 500); 8 Feb 2013 22:13:12 -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 16142 invoked by uid 99); 8 Feb 2013 22:13:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2013 22:13:12 +0000 Date: Fri, 8 Feb 2013 22:13:12 +0000 (UTC) From: "Helen Huang (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQCPP-459) Found an access violation in NodePool::ReturNode(Node* node) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQCPP-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574873#comment-13574873 ] Helen Huang commented on AMQCPP-459: ------------------------------------ Right, normally we call the followings before exitting the program. threadPool->shutdown(); threadPool->awaitTermination(-1, TimeUnit::SECONDS); delete threadPool; Not sure what I did last time when the crash happened, but I will see if the problem is reproduciable in the next a few days (we are still planning to do some more tests on CMS). If not, I will close this jira. Thanks! > Found an access violation in NodePool::ReturNode(Node* node) > ------------------------------------------------------------ > > Key: AMQCPP-459 > URL: https://issues.apache.org/jira/browse/AMQCPP-459 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: CMS Impl > Affects Versions: 3.5.0 > 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 > Priority: Critical > Fix For: 3.5.1, 3.6.0 > > > Caught an access violation in NodePool::ReturNode(Node* node) > The following is the call stack: > activemq-cppud.dll!`anonymous namespace'::NodePool::returnNode(`anonymous-namespace'::Node * node=0x05237488) Line 311 + 0x6 bytes > activemq-cppud.dll!decaf::util::concurrent::locks::DefaultConditionObject::unlinkCancelledWaiters() Line 1450 > activemq-cppud.dll!decaf::util::concurrent::locks::DefaultConditionObject::await() Line 1145 > CmsMessageHandlerCOMUD.dll!decaf::util::concurrent::LinkedBlockingQueue::take() Line 435 + 0x32 bytes > activemq-cppud.dll!decaf::util::concurrent::ExecutorKernel::getTask() Line 1288 + 0x24 bytes > activemq-cppud.dll!decaf::util::concurrent::ExecutorKernel::runWorker(decaf::util::concurrent::ExecutorKernel::Worker * w=0x052359b8) Line 720 + 0xe bytes > activemq-cppud.dll!decaf::util::concurrent::ExecutorKernel::Worker::run() Line 184 > activemq-cppud.dll!decaf::lang::Thread::run() Line 143 > activemq-cppud.dll!`anonymous namespace'::runCallback(void * arg=0x0523a690) Line 262 + 0x11 bytes > activemq-cppud.dll!`anonymous namespace'::threadEntryMethod(void * arg=0x0523a690) Line 250 + 0x15 bytes > msvcr80d.dll!_callthreadstartex() Line 348 + 0xf bytes > msvcr80d.dll!_threadstartex(void * ptd=0x0523ab30) Line 331 > kernel32.dll!7c80b729() > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira