Project

General

Profile

Bug #2126

Deadlock in Component Building

Added by Henning Blohm about 3 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
High
Assignee:
Category:
z2-core
Target version:
Start date:
29.11.2021
Due date:
% Done:

0%

Estimated time:
origin:

Description

"DEFAULT_Worker-7":
waiting to lock monitor 0x00007f3ad83b28a8 (object 0x00000000fd474e80, a com.zfabrik.impl.components.java.JavaComponentImpl),
which is held by "DEFAULT_Worker-5"
"DEFAULT_Worker-5":
waiting to lock monitor 0x00007f3ad9e26598 (object 0x00000000c1cc7ca8, a com.zfabrik.impl.components.java.ComponentsBuilder),
which is held by "DEFAULT_Worker-7"


Java stack information for the threads listed above:
===================================================
"DEFAULT_Worker-7":
    at com.zfabrik.impl.components.java.JavaComponentImpl.as(JavaComponentImpl.java:87)
    - waiting to lock <0x00000000fd474e80> (a com.zfabrik.impl.components.java.JavaComponentImpl)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.NamespaceImpl.lambda$resolve$0(NamespaceImpl.java:222)
    at com.zfabrik.impl.resources.NamespaceImpl$$Lambda$7/366590980.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.NamespaceImpl.resolve(NamespaceImpl.java:200)
    at com.zfabrik.impl.resources.NamespaceImpl.lookup(NamespaceImpl.java:238)
    at com.zfabrik.components.IComponentsLookup$initializer$1.lookup(IComponentsLookup.java:72)
    at com.zfabrik.impl.components.java.ComponentsBuilder._makePart(ComponentsBuilder.java:535)
    at com.zfabrik.impl.components.java.ComponentsBuilder.make(ComponentsBuilder.java:323)
    - locked <0x00000000c1cc7ca8> (a com.zfabrik.impl.components.java.ComponentsBuilder)
    at com.zfabrik.impl.components.java.JavaComponentImpl.lambda$as$0(JavaComponentImpl.java:154)
    at com.zfabrik.impl.components.java.JavaComponentImpl$$Lambda$10/2104028992.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.impl.components.java.JavaComponentImpl.as(JavaComponentImpl.java:93)
    - locked <0x00000000fd3e6cf0> (a com.zfabrik.impl.components.java.JavaComponentImpl)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:96)
    at com.zfabrik.impl.components.java.JavaComponentImpl.addDependencies(JavaComponentImpl.java:192)
    at com.zfabrik.impl.components.java.JavaComponentImpl.lambda$as$0(JavaComponentImpl.java:140)
    at com.zfabrik.impl.components.java.JavaComponentImpl$$Lambda$10/2104028992.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.impl.components.java.JavaComponentImpl.as(JavaComponentImpl.java:93)
    - locked <0x00000000fd3e6e18> (a com.zfabrik.impl.components.java.JavaComponentImpl)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:96)
    at com.zfabrik.impl.components.java.JavaComponentImpl.addDependencies(JavaComponentImpl.java:192)
    at com.zfabrik.impl.components.java.JavaComponentImpl.lambda$as$0(JavaComponentImpl.java:140)
    at com.zfabrik.impl.components.java.JavaComponentImpl$$Lambda$10/2104028992.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.impl.components.java.JavaComponentImpl.as(JavaComponentImpl.java:93)
    - locked <0x00000000fd3e6fc0> (a com.zfabrik.impl.components.java.JavaComponentImpl)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:96)
    at com.zfabrik.impl.components.java.JavaComponentImpl.addDependencies(JavaComponentImpl.java:192)
    at com.zfabrik.impl.components.java.JavaComponentImpl.lambda$as$0(JavaComponentImpl.java:140)
    at com.zfabrik.impl.components.java.JavaComponentImpl$$Lambda$10/2104028992.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.impl.components.java.JavaComponentImpl.as(JavaComponentImpl.java:93)
    - locked <0x00000000fd3e7168> (a com.zfabrik.impl.components.java.JavaComponentImpl)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:96)
    at com.zfabrik.impl.springframework.ContextResource._load(ContextResource.java:113)
    at com.zfabrik.impl.springframework.ContextResource.as(ContextResource.java:77)
    - locked <0x00000000fd3e72e8> (a com.zfabrik.impl.springframework.ContextResource)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:96)
    at com.zfabrik.impl.springframework.BeanResource._load(BeanResource.java:101)
    at com.zfabrik.impl.springframework.BeanResource.as(BeanResource.java:74)
    - locked <0x00000000fd3e73b0> (a com.zfabrik.impl.springframework.BeanResource)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.NamespaceImpl.lambda$resolve$0(NamespaceImpl.java:222)
    at com.zfabrik.impl.resources.NamespaceImpl$$Lambda$7/366590980.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.NamespaceImpl.resolve(NamespaceImpl.java:200)
    at com.zfabrik.impl.resources.NamespaceImpl.lookup(NamespaceImpl.java:238)
    at com.zfabrik.components.IComponentsLookup$initializer$1.lookup(IComponentsLookup.java:72)
...
    at com.zfabrik.util.threading.ThreadUtil.lambda$cleanContextExceptionExecute$0(ThreadUtil.java:55)
    at com.zfabrik.util.threading.ThreadUtil$$Lambda$13/295221641.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.util.threading.ThreadUtil.cleanContextExceptionExecute(ThreadUtil.java:55)
...
    at com.zfabrik.impl.work.ThreadPoolImpl$1.call(ThreadPoolImpl.java:319)
    at com.zfabrik.impl.work.ThreadPoolImpl$1.call(ThreadPoolImpl.java:317)
    at com.zfabrik.work.WorkUnit.lambda$work$1(WorkUnit.java:396)
    at com.zfabrik.work.WorkUnit$$Lambda$84/1220679972.get(Unknown Source)
    at com.zfabrik.work.WorkUnit.supply(WorkUnit.java:368)
    at com.zfabrik.work.WorkUnit.work(WorkUnit.java:396)
    at com.zfabrik.impl.work.ThreadPoolImpl.doIt(ThreadPoolImpl.java:273)
    at com.zfabrik.impl.work.ThreadPoolImpl.executeAs(ThreadPoolImpl.java:359)
    at com.zfabrik.impl.work.ThreadPoolImpl.executeAs(ThreadPoolImpl.java:317)
...
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
    - locked <0x00000000c2082350> (a java.lang.Object)
"DEFAULT_Worker-5":
    at com.zfabrik.impl.components.java.ComponentsBuilder.make(ComponentsBuilder.java:140)
    - waiting to lock <0x00000000c1cc7ca8> (a com.zfabrik.impl.components.java.ComponentsBuilder)
    at com.zfabrik.impl.components.java.JavaComponentImpl.lambda$as$0(JavaComponentImpl.java:154)
    at com.zfabrik.impl.components.java.JavaComponentImpl$$Lambda$10/2104028992.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.impl.components.java.JavaComponentImpl.as(JavaComponentImpl.java:93)
    - locked <0x00000000fd474e80> (a com.zfabrik.impl.components.java.JavaComponentImpl)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:96)
    at com.zfabrik.impl.components.java.JavaComponentImpl.addDependencies(JavaComponentImpl.java:192)
    at com.zfabrik.impl.components.java.JavaComponentImpl.lambda$as$0(JavaComponentImpl.java:138)
    at com.zfabrik.impl.components.java.JavaComponentImpl$$Lambda$10/2104028992.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.impl.components.java.JavaComponentImpl.as(JavaComponentImpl.java:93)
    - locked <0x00000000fd5cae38> (a com.zfabrik.impl.components.java.JavaComponentImpl)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:96)
    at com.zfabrik.impl.components.java.JavaComponentImpl.addDependencies(JavaComponentImpl.java:192)
    at com.zfabrik.impl.components.java.JavaComponentImpl.lambda$as$0(JavaComponentImpl.java:140)
    at com.zfabrik.impl.components.java.JavaComponentImpl$$Lambda$10/2104028992.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.impl.components.java.JavaComponentImpl.as(JavaComponentImpl.java:93)
    - locked <0x00000000fd5cafa8> (a com.zfabrik.impl.components.java.JavaComponentImpl)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:96)
    at com.zfabrik.impl.components.java.JavaComponentImpl.addDependencies(JavaComponentImpl.java:192)
    at com.zfabrik.impl.components.java.JavaComponentImpl.lambda$as$0(JavaComponentImpl.java:140)
    at com.zfabrik.impl.components.java.JavaComponentImpl$$Lambda$10/2104028992.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.impl.components.java.JavaComponentImpl.as(JavaComponentImpl.java:93)
    - locked <0x00000000fd600898> (a com.zfabrik.impl.components.java.JavaComponentImpl)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:96)
    at com.zfabrik.impl.components.java.JavaComponentImpl.addDependencies(JavaComponentImpl.java:192)
    at com.zfabrik.impl.components.java.JavaComponentImpl.lambda$as$0(JavaComponentImpl.java:138)
    at com.zfabrik.impl.components.java.JavaComponentImpl$$Lambda$10/2104028992.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.impl.components.java.JavaComponentImpl.as(JavaComponentImpl.java:93)
    - locked <0x00000000fd48dcf0> (a com.zfabrik.impl.components.java.JavaComponentImpl)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:96)
    at com.zfabrik.components.java.JavaComponentUtil.loadImplementationClassFromJavaComponent(JavaComponentUtil.java:149)
    - locked <0x00000000c2dccc48> (a com.zfabrik.impl.resources.ResourceHandleImpl)
    at com.zfabrik.impl.components.any.AnyResource.as(AnyResource.java:87)
    - locked <0x00000000fd600b18> (a com.zfabrik.impl.components.any.AnyResource)
    at com.zfabrik.impl.components.ComponentResourceWrapper.as(ComponentResourceWrapper.java:87)
    at com.zfabrik.resources.provider.Resource.as(Resource.java:149)
    at com.zfabrik.impl.resources.ResourceHandleImpl.lambda$as$0(ResourceHandleImpl.java:85)
    at com.zfabrik.impl.resources.ResourceHandleImpl$$Lambda$8/1117509763.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.ResourceHandleImpl.as(ResourceHandleImpl.java:62)
    at com.zfabrik.impl.resources.NamespaceImpl.lambda$resolve$0(NamespaceImpl.java:222)
    at com.zfabrik.impl.resources.NamespaceImpl$$Lambda$7/366590980.get(Unknown Source)
    at com.zfabrik.work.CycleProtector.supply(CycleProtector.java:117)
    at com.zfabrik.impl.resources.NamespaceImpl.resolve(NamespaceImpl.java:200)
    at com.zfabrik.impl.resources.NamespaceImpl.lookup(NamespaceImpl.java:238)
    at com.zfabrik.components.IComponentsLookup$initializer$1.lookup(IComponentsLookup.java:72)
...
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
    at java.util.Iterator.forEachRemaining(Iterator.java:116)
    at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
..
    at com.zfabrik.util.threading.ThreadUtil.lambda$cleanContextExceptionExecute$0(ThreadUtil.java:55)
    at com.zfabrik.util.threading.ThreadUtil$$Lambda$13/295221641.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.zfabrik.util.threading.ThreadUtil.cleanContextExceptionExecute(ThreadUtil.java:55)
...
    at com.zfabrik.impl.work.ThreadPoolImpl$1.call(ThreadPoolImpl.java:319)
    at com.zfabrik.impl.work.ThreadPoolImpl$1.call(ThreadPoolImpl.java:317)
    at com.zfabrik.work.WorkUnit.lambda$work$1(WorkUnit.java:396)
    at com.zfabrik.work.WorkUnit$$Lambda$84/1220679972.get(Unknown Source)
    at com.zfabrik.work.WorkUnit.supply(WorkUnit.java:368)
    at com.zfabrik.work.WorkUnit.work(WorkUnit.java:396)
    at com.zfabrik.impl.work.ThreadPoolImpl.doIt(ThreadPoolImpl.java:273)
    at com.zfabrik.impl.work.ThreadPoolImpl.executeAs(ThreadPoolImpl.java:359)
    at com.zfabrik.impl.work.ThreadPoolImpl.executeAs(ThreadPoolImpl.java:317)
...
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
    - locked <0x00000000c2081db0> (a java.lang.Object)

#1

Updated by Henning Blohm about 3 years ago

  • Description updated (diff)
#2

Updated by Henning Blohm about 3 years ago

  • Description updated (diff)
#3

Updated by Henning Blohm almost 3 years ago

  • Target version changed from 2.9.1 to 2.10
#4

Updated by Henning Blohm over 1 year ago

  • Status changed from New to Rejected

Cannot reproduce

Also available in: Atom PDF