Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | API: deadlock while try to get property "Title" from frame | ||
---|---|---|---|
Product: | App Dev | Reporter: | chne |
Component: | api | Assignee: | chne |
Status: | CLOSED FIXED | QA Contact: | issues@api <issues> |
Severity: | Trivial | ||
Priority: | P2 | CC: | issues |
Version: | 3.3.0 or older (OOo) | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
chne
2005-06-01 15:01:17 UTC
cd->as: Please have a look. Your code in Frame::getFastPropertyValue directly calls implts_getTitleFromWindow() which locks the solar mutex! So it's not LO code to blame, but yours! To reproduce this behavior just start your office with parameter "-accept=socket,host=0,port=8100;urp;" Then create a scenario file "test.sce" whith the following content: -o fwl.TypeDetection -o fwk.Frame::com::sun::star::frame::Frame and call inside a solar shell: checkapi -sce test.sce Now the frame uses an own helper implementation for XPropertySet, which lock's the same mutex the the frame it does. So the chance for a deadlock was decreased. Retargetted due to the importance of the issue Retargetted due to the importance of the issue AS->CN: Please verify this task on the cws fwk16. THX. re-open issue and reassign to cn@openoffice.org reassign to cn@openoffice.org reset resolution to FIXED verified in fwk16 no deadlock in src680_m119 => zu |