You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/08/08 15:34:40 UTC

[Issue 125392] New: Parallel access to XIndexAccess leads to deadlock

https://issues.apache.org/ooo/show_bug.cgi?id=125392

          Issue ID: 125392
        Issue Type: DEFECT
           Summary: Parallel access to XIndexAccess leads to deadlock
           Product: App Dev
           Version: 4.1.0
          Hardware: All
                OS: Windows, all
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: api
          Assignee: issues@openoffice.apache.org
          Reporter: jens.bornschein@tu-dresden.de

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
   }

});

}

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125392] Parallel access to XIndexAccess leads to deadlock

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125392

Jens Bornschein <je...@tu-dresden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |125355

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.