Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 41550 invoked from network); 13 Feb 2009 16:57:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2009 16:57:24 -0000 Received: (qmail 97627 invoked by uid 500); 13 Feb 2009 16:57:22 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 97610 invoked by uid 500); 13 Feb 2009 16:57:22 -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 97584 invoked by uid 99); 13 Feb 2009 16:57:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 08:57:22 -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; Fri, 13 Feb 2009 16:57:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7E5E8234C48C for ; Fri, 13 Feb 2009 08:56:59 -0800 (PST) Message-ID: <1614168859.1234544219516.JavaMail.jira@brutus> Date: Fri, 13 Feb 2009 08:56:59 -0800 (PST) From: "Hiram Chirino (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2108) activemq-flow Deadlock in FlowController In-Reply-To: <1763752873.1234478579334.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/AMQ-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hiram Chirino resolved AMQ-2108. -------------------------------- Resolution: Fixed applied. > activemq-flow Deadlock in FlowController > ---------------------------------------- > > Key: AMQ-2108 > URL: https://issues.apache.org/activemq/browse/AMQ-2108 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: incubation > Environment: n/a > Reporter: Colin MacNaughton > Fix For: incubation > > Attachments: AMQ2108patch.txt > > > The following deadlock can occur in FlowController.offer(). FlowController shouldn't hold onto the mutex when calling flowElementAccepted > Thread [pipe://Broker#2] (Suspended) > Object.wait(long, int) line: not available [native method] > ExclusivePriorityQueue(Object).wait() line: 199 [local variables unavailable] > FlowController.waitForResume() line: 372 > FlowController.blockSource(ISourceController) line: 315 > FlowController.add(E, ISourceController) line: 229 > PriorityFlowController.add(E, ISourceController) line: 60 > ExclusivePriorityQueue.add(E, ISourceController) line: 66 > Router.route(ISourceController, Message) line: 30 > RemoteConnection$1.flowElemAccepted(ISourceController, Message) line: 92 > RemoteConnection$1.flowElemAccepted(ISourceController, Object) line: 1 > FlowController.offer(E, ISourceController) line: 266 > RemoteConnection.onCommand(Object) line: 73 > PipeTransportFactory$PipeTransport.run() line: 66 > Thread.run() line: 788 > Thread [consumer1-outbound] (Suspended) > FlowController.onFlowResume(ISinkController) line: 136 > FlowController$2.run() line: 400 > IDispatcher$RunnableAdapter.dispatch() line: 90 > PriorityDispatcher$PriorityDispatchContext.dispatch() line: 183 > PriorityDispatcher.run() line: 263 > Thread.run() line: 788 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.