Issue 106168 - [cws hsqldb19] Application can crash with Drag Drop of ODB file on start center
Summary: [cws hsqldb19] Application can crash with Drag Drop of ODB file on start center
Status: CLOSED DUPLICATE of issue 106052
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: DEV300m61
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: ocke.janssen
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-22 04:37 UTC by drewjensen.inbox
Modified: 2009-10-27 09:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description drewjensen.inbox 2009-10-22 04:37:13 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.
Comment 1 ocke.janssen 2009-10-22 07:07:24 UTC
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.
Comment 2 philipp.lohmann 2009-10-22 09:54:09 UTC
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
Comment 3 ocke.janssen 2009-10-27 08:40:51 UTC
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 ***
Comment 4 ocke.janssen 2009-10-27 09:01:30 UTC
Closing it.