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

Deadlock on authentication

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 5.0.11.Final
    • 5.0.10.Final
    • None
    • Hide

      Run mvn test -Dtest=org.jboss.as.test.integration.ee.remotelookup.LookupTestCase at WildFly with XNIO upgraded to 3.7.2.Final

      Show
      Run mvn test -Dtest=org.jboss.as.test.integration.ee.remotelookup.LookupTestCase at WildFly with XNIO upgraded to 3.7.2.Final

    Description

      This can sometime occur if RemoteReadListener has not been set by ConnectionOpenListener (at Authenticate listener, after Authentication is complete):

      XNIO-1 task-1" #24 daemon prio=5 os_prio=0 cpu=46.99ms elapsed=33.44s tid=0x00007fc9b0173000 nid=0x606 in Object.wait()  [0x00007fca391a2000]
         java.lang.Thread.State: WAITING (on object monitor)
              at java.lang.Object.wait(java.base@11.0.1/Native Method)
              - waiting on <no object reference available>
              at java.lang.Object.wait(java.base@11.0.1/Object.java:328)
              at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:272)
              - waiting to re-lock in wait() <0x00000000fa9978a0> (a org.jboss.remoting3.ConnectionPeerIdentityContext$Authentication)
              at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
              at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:518)
              at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:507)
              at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
              at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:721)
              at org.xnio.IoUtils$2.execute(IoUtils.java:71)
              at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:694)
              at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
              at org.xnio.AbstractIoFuture$NotifierState.notifyDone(AbstractIoFuture.java:248)
              at org.xnio.AbstractIoFuture$CancellableState.notifyDone(AbstractIoFuture.java:326)
              at org.xnio.AbstractIoFuture.setResult(AbstractIoFuture.java:619)
              at org.xnio.FutureResult.setResult(FutureResult.java:91)
              at org.jboss.remoting3.ConnectionInfo$1.handleDone(ConnectionInfo.java:327)
              at org.jboss.remoting3.ConnectionInfo$1.handleDone(ConnectionInfo.java:316)
              at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
              at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:721)
              at org.xnio.IoUtils$2.execute(IoUtils.java:71)
              at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:694)
              at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
              at org.xnio.AbstractIoFuture$NotifierState.notifyDone(AbstractIoFuture.java:248)
              at org.xnio.AbstractIoFuture.setResult(AbstractIoFuture.java:619)
              at org.xnio.FutureResult.setResult(FutureResult.java:91)
              at org.jboss.remoting3.ConnectionInfo$1.handleDone(ConnectionInfo.java:327)
              at org.jboss.remoting3.ConnectionInfo$1.handleDone(ConnectionInfo.java:316)
              at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
              at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:721)
              at org.xnio.IoUtils$2.execute(IoUtils.java:71)
              at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:694)
              at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
              at org.xnio.AbstractIoFuture$NotifierState.notifyDone(AbstractIoFuture.java:248)
              at org.xnio.AbstractIoFuture$NotifierState.notifyDone(AbstractIoFuture.java:249)
              at org.xnio.AbstractIoFuture.setResult(AbstractIoFuture.java:619)
              at org.xnio.FutureResult.setResult(FutureResult.java:91)
              at org.jboss.remoting3.EndpointImpl$4.setResult(EndpointImpl.java:624)
              - locked <0x00000000fac8e4d0> (a java.lang.Object)
              at org.jboss.remoting3.EndpointImpl$4.setResult(EndpointImpl.java:585)
      
      

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: