Details
-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
7.2.2.Final, 8.0.0.Alpha1
-
None
Description
Infinispan server is hanging intermittently during stop causing the build to timeout after 3h. This can be seen in the CI builds, for example:
In all case the deadlock is detected:
Found one Java-level deadlock: ============================= "undefined": waiting to lock monitor 0x00007fbaa806d448 (object 0x00000000e0a5a6f8, a org.jboss.as.threads.ScheduledThreadPoolService), which is held by "MSC service thread 1-2" "MSC service thread 1-2": waiting for ownable synchronizer 0x00000000e0a5a680, (a java.util.concurrent.locks.ReentrantLock$NonfairSync), which is held by "undefined" Java stack information for the threads listed above: =================================================== "undefined": at org.jboss.as.threads.ScheduledThreadPoolService$ExecutorImpl.terminated(ScheduledThreadPoolService.java:121) - waiting to lock <0x00000000e0a5a6f8> (a org.jboss.as.threads.ScheduledThreadPoolService) at java.util.concurrent.ThreadPoolExecutor.tryTerminate(ThreadPoolExecutor.java:706) at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1007) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:122) "MSC service thread 1-2": at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x00000000e0a5a680> (a java.util.concurrent.locks.ReentrantLock$NonfairSync) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199) at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:209) at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285) at java.util.concurrent.ThreadPoolExecutor.interruptIdleWorkers(ThreadPoolExecutor.java:783) at java.util.concurrent.ThreadPoolExecutor.tryTerminate(ThreadPoolExecutor.java:697) at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:1394) at java.util.concurrent.ScheduledThreadPoolExecutor.shutdown(ScheduledThreadPoolExecutor.java:761) at org.jboss.as.threads.ManagedScheduledExecutorService.internalShutdown(ManagedScheduledExecutorService.java:53) at org.jboss.as.threads.ScheduledThreadPoolService.stop(ScheduledThreadPoolService.java:67) - locked <0x00000000e0a5a6f8> (a org.jboss.as.threads.ScheduledThreadPoolService) at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Found 1 deadlock.
Attachments
Issue Links
- relates to
-
WFLY-3549 Deadlock during shutdown
- Closed