[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-546) org.jboss.test.messaging.jms.DurableSubscriberTest times out
Ovidiu Feodorov (JIRA)
jira-events at jboss.com
Wed Sep 20 16:13:58 EDT 2006
[ http://jira.jboss.com/jira/browse/JBMESSAGING-546?page=comments#action_12343688 ]
Ovidiu Feodorov commented on JBMESSAGING-546:
---------------------------------------------
The main thread grabs ServerConsumerEndpoint's main lock in ServerConsumerEndpoint.close() and tries to remove itself from the channel's router. Cannot do that because Thread-3 holds the router's lock.
Thread-3 delivers a new reference to ServerConsumerEndpoint while holding the router's lock (unnecessarily), and tries to grab ServerConsumerEndpoint's main lock, which is unavailable.
The deadlock was fixed by reducing the time Thread-3 holds the router's lock.
> org.jboss.test.messaging.jms.DurableSubscriberTest times out
> ------------------------------------------------------------
>
> Key: JBMESSAGING-546
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-546
> Project: JBoss Messaging
> Issue Type: Bug
> Affects Versions: 1.0.1.CR4
> Reporter: Ovidiu Feodorov
> Assigned To: Ovidiu Feodorov
> Fix For: 1.0.1.CR5
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list