Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | "pthread_mutex_destroy: mutex is still in use" when initializing templates for first time use | ||
---|---|---|---|
Product: | Writer | Reporter: | dankegel <dank> |
Component: | code | Assignee: | dankegel <dank> |
Status: | CLOSED DUPLICATE | QA Contact: | issues@sw <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | OOo 1.1 Beta2 | Keywords: | crash, oooqa |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
dankegel
2003-07-31 17:05:56 UTC
Adding keyword "crash" because this is the kind of bug that is likely to cause a crash on some systems. Assigning to Kai as requested adding cc: sewardj. I set target to 1.1.1 though I'd much prefer to see this fixed in 1.1, as I have a feeling the OpenOffice folks do not yet take this kind of error seriously enough to try to fix it in the weeks remaining before 1.1. Bug: PersistentPropertySet::setPropertyValue() (ucb/source/core/usbstore.cxx) is buggy - there's a missing m_pImpl->m_aMutex.release() and additionally, in case of an unexpected exception, the mutex will also not be released. Solution: Rewrite PersistentPropertySet::setPropertyValue() and PersistentPropertySet::setPropertyValues() (to fix the unexpected exception problem, which also exists in that function) to use osl::ClearableGuard instead of manual osl::Mutex::acquire() and osl::Mutex::release(). Changing prio, because P2 is only for real and not for potential crashes. duplicate of 14255, see my additional notes there. *** This issue has been marked as a duplicate of 14255 *** Dan, for your info, fix for 14255 made it into OO 1.1 RC3. So *that's* how bugs get into "NEW, DUPLICATE" state! close issue. |