Uploaded image for project: 'JBoss Messaging'
  1. JBoss Messaging
  2. JBMESSAGING-491

Deadlock among ServerConsumerEndpoint.lock and RoundRobinPointToPointRouter.receiver's locks

    Details

      Description

      @Thread 3 has 'RoundRobinPointToPointRouter.receivers' and it's waiting for 'ServerConsumerEndpoint.lock'
      @main has 'ServerConsumerEndpoint.lock' but is waiting for 'RoundRobinPointToPointRouter.receivers'

      2006-08-04 10:05:24,065 23390 TRACE [org.jboss.jms.client.delegate.DelegateSupport] (main invoking close on server
      2006-08-04 10:05:24,065 23390 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] (main invoking ConsumerAdvised->ConsumerEndpoint[-2147483430].close()
      2006-08-04 10:05:24,065 23390 TRACE [org.jboss.jms.server.endpoint.ServerConsumerEndpoint] (Thread-3 ConsumerEndpoint[-2147483430] receives reference 3585 for delivery

      A successful run:

      2006-08-04 19:49:29,315 3828 TRACE [org.jboss.jms.server.endpoint.ServerConsumerEndpoint] @Thread-3 ConsumerEndpoint[-2147483632] receives reference Reference[1]:RELIABLE for delivery
      2006-08-04 19:49:29,315 3828 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] @main ConsumerDelegate[-2147483632].closing() OK
      2006-08-04 19:49:29,315 3828 DEBUG [org.jboss.jms.server.endpoint.ServerConsumerEndpoint] @Thread-3 ConsumerEndpoint[-2147483632] NOT started yet!
      2006-08-04 19:49:29,315 3828 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] @main invoking ConsumerDelegate[-2147483632].close()
      2006-08-04 19:49:29,315 3828 TRACE [org.jboss.messaging.core.local.RoundRobinPointToPointRouter] @Thread-3 receiver ConsumerEndpoint[-2147483632] handled Reference[1]:RELIABLE and returned null
      2006-08-04 19:49:29,315 3828 TRACE [org.jboss.jms.client.delegate.DelegateSupport] @main invoking close on server
      2006-08-04 19:49:29,315 3828 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] @main invoking ConsumerAdvised->ConsumerEndpoint[-2147483632].close()
      2006-08-04 19:49:29,315 3828 TRACE [org.jboss.messaging.core.ChannelSupport] @Thread-3 CoreQueue[1]: no delivery returned for messageReference[1]:RELIABLE so no receiver got the message
      2006-08-04 19:49:29,315 3828 TRACE [org.jboss.messaging.core.ChannelSupport] @main CoreQueue[1] removed ConsumerEndpoint[-2147483632]
      2006-08-04 19:49:29,315 3828 TRACE [org.jboss.messaging.core.ChannelSupport] @Thread-3 Delivery is now complete

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ovidiu.feodorov Ovidiu Feodorov
                  Reporter:
                  ovidiu.feodorov Ovidiu Feodorov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: