AsyncBarrier.dec runs into refcounting problem
Thread [Query Thread 3] (Suspended (breakpoint at line 113 in AsyncBarrierImpl))
AsyncBarrierImpl.dec() line: 113
ReadGraphImpl$26$1.execute(AsyncReadGraph, T) line: 5265
BlockingAsyncProcedure<Result>.dispatchProcedure(ReadGraphImpl, ReadGraphImpl, AsyncReadEntry<Result>, AsyncProcedure<Result>, boolean) line: 123
BlockingAsyncProcedure<Result>.lambda$0(ReadGraphImpl, AsyncReadEntry, AsyncProcedure, boolean) line: 44
2130502970.run() line: not available
AsyncBarrierImpl.dec() line: 120
AsyncBarrierImpl.dec() line: 109
AsyncBarrierImpl.dec() line: 109
BlockingAsyncProcedure<Result>.dispatchProcedure(ReadGraphImpl, ReadGraphImpl, AsyncReadEntry<Result>, AsyncProcedure<Result>, boolean) line: 140
BlockingAsyncProcedure<Result>.lambda$0(ReadGraphImpl, AsyncReadEntry, AsyncProcedure, boolean) line: 44
2130502970.run() line: not available
AsyncBarrierImpl.dec() line: 120
ReadGraphImpl$24.run0(int) line: 5173
ReadGraphImpl$24(QueryProcessor$SessionTask).run(int) line: 226
QueryThread.run() line: 238
I've been able to reproduce this quite a lot during workbench startup with Apros so that I
- set
SessionImplSocket.amountOfQueryThreads
to 4 (I have 4 cores) - Open model browser up, create a model and open the tree up
- Preferably create a diagram, put something in it also expand the diagram contents in model browser
- Create a pipeline UC, open the 3D editor up
- restart and hope to reproduce the bug. Usually it happens when the system starts loading model browser contents
Every time I got this to happen, the request in
ReadGraphImpl$24(QueryProcessor$SessionTask).run(int) line: 226
QueryThread.run() line: 238
was
val$request SimpleAdapter$1 (id=191)
this$0 DefaultStringAdapter2 (id=194)
while the resource in question varied a bit on each occasion. However, the request result was always "single"
when I got this to reproduce.