Relevant bits from the thread dump.

NioChannelHub (and a few other things not included for compactness) are waiting on Channel@2323a3cd

NioChannelHub keys=4 gen=5352736: Computer.threadPoolForRemoting [#2]
 
"NioChannelHub keys=4 gen=5352736: Computer.threadPoolForRemoting [#2]" Id=144 Group=main BLOCKED on hudson.remoting.Channel@2d23a3cd owned by "Finalizer" Id=3
        at hudson.remoting.Channel.terminate(Channel.java:804)
        -  blocked on hudson.remoting.Channel@2d23a3cd
        at hudson.remoting.Channel$2.terminate(Channel.java:491)
        at hudson.remoting.AbstractByteArrayCommandTransport$1.terminate(AbstractByteArrayCommandTransport.java:72)
        at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:211)
        at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:631)
        at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
 
        Number of locked synchronizers = 1
        - java.util.concurrent.ThreadPoolExecutor$Worker@1b9eef5

this is held by the Finalizer that is waiting on FifoBuffer@782372ec

Finalizer
 
"Finalizer" Id=3 Group=system WAITING on org.jenkinsci.remoting.nio.FifoBuffer@782372ec
        at java.lang.Object.wait(Native Method)
        -  waiting on org.jenkinsci.remoting.nio.FifoBuffer@782372ec
        at java.lang.Object.wait(Object.java:503)
        at org.jenkinsci.remoting.nio.FifoBuffer.write(FifoBuffer.java:336)
        at org.jenkinsci.remoting.nio.FifoBuffer.write(FifoBuffer.java:324)
        at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.writeBlock(NioChannelHub.java:222)
        at hudson.remoting.AbstractByteArrayCommandTransport.write(AbstractByteArrayCommandTransport.java:83)
        at hudson.remoting.Channel.send(Channel.java:553)
        -  locked hudson.remoting.Channel@2d23a3cd
        at hudson.remoting.RemoteInvocationHandler.finalize(RemoteInvocationHandler.java:240)
        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
        at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
        at java.lang.ref.Finalizer.access$100(Unknown Source)
        at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

It looks like the Finalizer is trying to write to a channel to cleanup an object with remote state and has effectively locked things up because nothing can come along and force the FifoBuffer write to terminate.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to