Uploaded image for project: 'JBoss Remoting (3+)'
  1. JBoss Remoting (3+)
  2. REM3-201

Deadlock on org.xnio.AbstractIoFuture lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • EAP 6.2 CP02

      Deadlock happened when closing InitialContexts on server shutdonw.

      "pool-86-thread-193":
      	at org.xnio.AbstractIoFuture.cancel(AbstractIoFuture.java:299)
      	- waiting to lock <0x00007f3bd4c8b690> (a java.lang.Object)
      	at org.jboss.remoting3.remote.RemoteConnectionProvider$5.handleCancelled(RemoteConnectionProvider.java:220)
      	at org.jboss.remoting3.remote.RemoteConnectionProvider$5.handleCancelled(RemoteConnectionProvider.java:217)
      	at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
      	at org.xnio.AbstractIoFuture$1.run(AbstractIoFuture.java:200)
      	at org.xnio.IoUtils$2.execute(IoUtils.java:72)
      	at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:343)
      	at org.xnio.AbstractIoFuture.runAllNotifiers(AbstractIoFuture.java:222)
      	at org.xnio.AbstractIoFuture.setCancelled(AbstractIoFuture.java:280)
      	- locked <0x00007f3bd4c8b768> (a java.lang.Object)
      	at org.xnio.FutureResult.setCancelled(FutureResult.java:102)
      	at org.jboss.remoting3.remote.RemoteConnectionProvider$2.cancel(RemoteConnectionProvider.java:158)
      	at org.xnio.AbstractIoFuture.cancel(AbstractIoFuture.java:306)
      	at org.xnio.AbstractIoFuture.cancel(AbstractIoFuture.java:39)
      	at org.jboss.remoting3.remote.RemoteConnectionProvider.closeAction(RemoteConnectionProvider.java:246)
      	at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:359)
      	at org.jboss.remoting3.EndpointImpl.closeAction(EndpointImpl.java:204)
      	- locked <0x00007f3bd9a261c8> (a java.lang.Object)
      	at org.jboss.remoting3.spi.AbstractHandleableCloseable.close(AbstractHandleableCloseable.java:153)
      	at org.jboss.naming.remote.client.EndpointCache.release(EndpointCache.java:61)
      	- locked <0x00007f3b516ea5e0> (a org.jboss.naming.remote.client.EndpointCache)
      	at org.jboss.naming.remote.client.EndpointCache$EndpointWrapper.close(EndpointCache.java:177)
      	at org.jboss.naming.remote.client.InitialContextFactory$1.close(InitialContextFactory.java:233)
      	at org.jboss.naming.remote.client.RemoteContext.close(RemoteContext.java:191)
      	at javax.naming.InitialContext.close(InitialContext.java:550)
      	at javax.naming.InitialContext.close(InitialContext.java:550)
      	at ...(snip)...
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      
       "Remoting "10.9.64.3:4447-0" read-1":
      	at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:236)
      	- waiting to lock <0x00007f3bd4c8b768> (a java.lang.Object)
      	at org.xnio.FutureResult.setException(FutureResult.java:93)
      	at org.jboss.remoting3.remote.RemoteConnectionProvider$4.handleFailed(RemoteConnectionProvider.java:209)
      	at org.jboss.remoting3.remote.RemoteConnectionProvider$4.handleFailed(RemoteConnectionProvider.java:207)
      	at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:219)
      	at org.xnio.AbstractIoFuture$1.run(AbstractIoFuture.java:200)
      	at org.xnio.IoUtils$2.execute(IoUtils.java:72)
      	at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:343)
      	at org.xnio.AbstractIoFuture.runAllNotifiers(AbstractIoFuture.java:222)
      	at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:240)
      	- locked <0x00007f3bd4c8b690> (a java.lang.Object)
      	at org.xnio.FutureResult.setException(FutureResult.java:93)
      	at org.xnio.nio.NioXnioWorker$1.handleEvent(NioXnioWorker.java:343)
      	at org.xnio.nio.NioXnioWorker$1.handleEvent(NioXnioWorker.java:325)
      	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
      	at org.xnio.nio.NioHandle.run(NioHandle.java:90)
      	at org.xnio.nio.WorkerThread.run(WorkerThread.java:198)
      

              Unassigned Unassigned
              rhn-support-onagano Osamu Nagano
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: