Apache OpenOffice (AOO) Bugzilla – Issue 125392
Parallel access to XIndexAccess leads to deadlock
Last modified: 2014-08-08 13:35:35 UTC
The OpenOffice process seems to fall into some kind of deadlock when trying to access the same XIndexAccess object in parallel for reading request on the containing elements. (using cli api from c#) example: XIndexAccess ia = DrawPage as XIndexAccess; if (ia != null){ Parallel.For(0, ia.getCount(), (i) => { var anyShape = ia.getByIndex(i); if (anyShape.hasValue() && anyShape.Value is XShape) { //do somthing } }); }