Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 77877 invoked from network); 17 Nov 2008 07:38:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2008 07:38:00 -0000 Received: (qmail 86362 invoked by uid 500); 17 Nov 2008 07:38:08 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 86325 invoked by uid 500); 17 Nov 2008 07:38:08 -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 86314 invoked by uid 99); 17 Nov 2008 07:38:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 23:38:08 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 07:36:54 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7452D234C25F for ; Sun, 16 Nov 2008 23:37:09 -0800 (PST) Message-ID: <1590620067.1226907429456.JavaMail.jira@brutus> Date: Sun, 16 Nov 2008 23:37:09 -0800 (PST) From: "Alexander Martens (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQCPP-205) CmsTemplate testBasics test can hang In-Reply-To: <1900302790.1226504645406.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47435#action_47435 ] Alexander Martens commented on AMQCPP-205: ------------------------------------------ Failed to compile with 1.2.7 again (apr_pool_create_unmanaged_ex): build.log:decaf/internal/AprPool.cpp:40: error: 'apr_pool_create_unmanaged_ex' was not declared in this scope src/main/decaf/internal/AprPool.cpp: apr_pool_create_unmanaged_ex( &aprPool, NULL, NULL ); Sorry I couldn't test this before. > CmsTemplate testBasics test can hang > ------------------------------------ > > Key: AMQCPP-205 > URL: https://issues.apache.org/activemq/browse/AMQCPP-205 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: Integration Tests > Affects Versions: 2.2.1, 2.2.2 > Environment: CentOS / REHL > Reporter: Timothy Bish > Assignee: Timothy Bish > Fix For: 2.3 > > Attachments: cmstemplate.segfault-1.log.gz, receiving.187.log.gz > > > Running the CmsTemplate integration tests in a loop can result in a hang. The code appears to be deadlocked when two threads that share the same instance of an ActiveMQSessionExecutor are run. > This snippet from a backtrace shows the case: > {noformat} > Thread 3 (Thread 1094732688 (LWP 15620)): > #0 0x40000402 in __kernel_vsyscall () > #1 0x005ac266 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 > #2 0x4056c327 in apr_thread_cond_wait (cond=0x86813a0, mutex=0x40912ae8) at locks/unix/thread_cond.c:68 > #3 0x4031e458 in decaf::util::concurrent::Mutex::wait (this=0x409030c0, millisecs=4294967295) at decaf/util/concurrent/Mutex.cpp:116 > #4 0x4031e13e in decaf::util::concurrent::Mutex::wait (this=0x409030c0) at decaf/util/concurrent/Mutex.cpp:82 > #5 0x40238268 in activemq::core::ActiveMQSessionExecutor::run (this=0x409030a8) at activemq/core/ActiveMQSessionExecutor.cpp:222 > #6 0x4030589f in decaf::lang::Thread::runCallback (self=0x858f488, param=0x40902f08) at decaf/lang/Thread.cpp:121 > #7 0x4057aa1c in dummy_worker (opaque=0x858f488) at threadproc/unix/thread.c:142 > #8 0x005a846b in start_thread () from /lib/libpthread.so.0 > #9 0x004ffdbe in clone () from /lib/libc.so.6 > Thread 2 (Thread 1098935184 (LWP 15621)): > #0 0x40000402 in __kernel_vsyscall () > #1 0x005ac266 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 > #2 0x4056c327 in apr_thread_cond_wait (cond=0x86813d8, mutex=0x40912ae8) at locks/unix/thread_cond.c:68 > #3 0x4031e458 in decaf::util::concurrent::Mutex::wait (this=0x409030c0, millisecs=4294967295) at decaf/util/concurrent/Mutex.cpp:116 > #4 0x4031e13e in decaf::util::concurrent::Mutex::wait (this=0x409030c0) at decaf/util/concurrent/Mutex.cpp:82 > #5 0x40238268 in activemq::core::ActiveMQSessionExecutor::run (this=0x409030a8) at activemq/core/ActiveMQSessionExecutor.cpp:222 > #6 0x4030589f in decaf::lang::Thread::runCallback (self=0x858f488, param=0x40902f08) at decaf/lang/Thread.cpp:121 > #7 0x4057aa1c in dummy_worker (opaque=0x858f488) at threadproc/unix/thread.c:142 > #8 0x005a846b in start_thread () from /lib/libpthread.so.0 > #9 0x004ffdbe in clone () from /lib/libc.so.6 > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.