Issue 110623

Summary: framework: AS/400 ... Error: ASSERT: TransactionManager... Owner instance already closed.
Product: General Reporter: 400guy <tenger>
Component: codeAssignee: Mathias_Bauer
Status: CLOSED DUPLICATE QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m75   
Target Milestone: ---   
Hardware: Unknown   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
backtrace, with transactionmanager.cxx line 396 (text/plain)
none
backtrace, with closedispatcher line 454 (text/plain) none

Description 400guy 2010-04-05 15:31:41 UTC
I was closing a database by a click on the X in the upper right corner
of the window.  The program told me ...

    Error: ASSERT:
    	TransactionManager...
	"Owner instance already closed. Call was rejected!"

    From File
/home/terry/OOo_hacking/DEV300_m75/framework/source/threadhelp/transactionmanager.cxx
at Line 396
    Abort ? (Yes=abort / No=ignore / Cancel=core dump)

I clicked No=ignore, and the program told me ...

    Error: ASSERT:
    	CloseDispatcher::impl_asyncCallback
    	"Congratulation! You found the reason for bug #120310#. Please contact the
right developer and show him a scenario, which trigger this bug. THX."
    
    From File
/home/terry/OOo_hacking/DEV300_m75/framework/source/dispatch/closedispatcher.cxx
at Line 454
    Abort ? (Yes=abort / No=ignore / Cancel=core dump)


The database uses an ODBC connection to an AS/400 (or system/i or i5
or IBM i, depending on taste in names) running V5R4 of the operating
system.  I had the connection open for a couple of hours, and
OpenOffice has been running for about 12 hours.  While the database
was open, I had one breakpoint defined, hit several times, then
disabled.

I am running a lightly hacked non-production build of DEV300_m75.

Issue 106896 is similar in that the user closing a database saw the
same two assertion failures, but it differs in that (a) it occured on
Windows, and (b) it involved a HSQL database.

Coming soon: two backtraces.
Comment 1 400guy 2010-04-05 15:33:44 UTC
Created attachment 68743 [details]
backtrace, with transactionmanager.cxx line 396 (text/plain)
Comment 2 400guy 2010-04-05 15:35:55 UTC
Created attachment 68744 [details]
backtrace, with closedispatcher line 454 (text/plain)
Comment 3 Mathias_Bauer 2010-05-14 14:19:07 UTC
This assertion is known to appear if the last OOo window is closed while the
quickstarter is running (issue 111452). Is that your scenario also?
Comment 4 400guy 2010-06-27 20:20:49 UTC
I am not sure whether quickstarter was running when I got these
assertions, and I have not been able to run quickstarter since.

In non-product build of DEV300_m83, the assertions are gone even
with quickstarter running.  I shall make a guess that this is
because issue 111452 is fixed and mark this issue as a duplicate
of 111452.


*** This issue has been marked as a duplicate of 111452 ***
Comment 5 Mechtilde 2010-06-28 14:22:56 UTC
-> closed