Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-148

Deadlock when using StabilityMonitor

XMLWordPrintable

      The following deadlock occurs quite frequently when running the Wildfly test suite after upgrading to WF core 10:

      Java stack information for the threads listed above:
      ===================================================
      "Remoting "management-client" task-4":
              at org.jboss.msc.service.ServiceControllerImpl.removeMonitor(ServiceControllerImpl.java:1475)
              - waiting to lock <0x00000007e8d320f8> (a org.jboss.msc.service.ServiceControllerImpl)
              at org.jboss.msc.service.StabilityMonitor.removeController(StabilityMonitor.java:155)
              - locked <0x00000007e8d32190> (a java.lang.Object)
              at org.jboss.as.jmx.MscMBeanServer.removeMBean(MscMBeanServer.java:111)
              at org.jboss.as.jmx.MscMBeanServer.unregisterMBean(MscMBeanServer.java:163)
              at org.jboss.as.jmx.PluggableMBeanServerImpl.unregisterMBean(PluggableMBeanServerImpl.java:1148)
              at org.xnio.Xnio$MBeanCloseable.close(Xnio.java:598)
              at org.xnio.IoUtils.safeClose(IoUtils.java:134)
              at org.xnio.nio.NioXnioWorker.taskPoolTerminated(NioXnioWorker.java:348)
              at org.xnio.XnioWorker$TaskPool.terminated(XnioWorker.java:867)
              at java.util.concurrent.ThreadPoolExecutor.tryTerminate(ThreadPoolExecutor.java:704)
              at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1006)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
      "MSC service thread 1-8":
              at org.jboss.msc.service.StabilityMonitor.removeControllerNoCallback(StabilityMonitor.java:170)
              - waiting to lock <0x00000007e8d32190> (a java.lang.Object)
              at org.jboss.msc.service.ServiceControllerImpl.transition(ServiceControllerImpl.java:688)
              at org.jboss.msc.service.ServiceControllerImpl$RemoveTask.run(ServiceControllerImpl.java:2267)
              - locked <0x00000007e8d320f8> (a org.jboss.msc.service.ServiceControllerImpl)
              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:744)
      

              ropalka Richard Opalka
              sdouglas1@redhat.com Stuart Douglas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: