Apache OpenOffice (AOO) Bugzilla – Issue 106168
[cws hsqldb19] Application can crash with Drag Drop of ODB file on start center
Last modified: 2009-10-27 09:01:30 UTC
Test machine OOo300m_61 CWSHSQLdb (10-21-09), Win 7 The application behaves differently when ODB file is dropped onto the Start Center window to open it. To reproduce have 2 ODB files, one created with the current CWS HSQLdb19 build and one with HSQLdb1.8 database. Open the application and drag/drop each to the Start Center screen. Hsqldb1.9 Base file base window opens to the desktop THEN this error: Error: object deleted while in use ! From File ../../inc\vcl/svdata.hxx at Line 415 Abort ? (Yes=abort / No=ignore / Cancel=core dump) Select IGNORE - the file appears to finish opening without further problem. Close that file. Drag Hsqldb1.8 Base file to the application window to open it. Before the Base window opens this error dialog: Error: SolarMutex not locked in the main thread Abort ? (Yes=abort / No=ignore / Cancel=core dump) Selcting IGNORE here just Cycles endlessly back to the dialog. Select ABORT and this to C++ assertion: --------------------------- Microsoft Visual C++ Debug Library --------------------------- Debug Assertion Failed! Program: C:\Program Files\OpenOffice.org 3\program\soffice.bin File: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgdel.cpp Line: 52 Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) Application expires.
That's a problem of the assertion which pops up. Windows which become visible while dragging are no good thing (tm) and leads to an endless loop. Best way to fix this is to fix the assertion ;-) This may appear in every debug version. @pl: Could please have a look at this one? Thanks. It appears always when you close the last document.
Since in this case the assertion in question is "SolarMutex not locked" I suggest locking it before whatever you do with vcl ;-) The other assertion is already the matter of issue 106052
Closing the issue as duplicate, as the error message is the reason for the solar mutex assertion. *** This issue has been marked as a duplicate of 106052 ***
Closing it.