Issue 111647

Summary: [CWS tl74] Closing Math document via API crashes
Product: Math Reporter: stefan.baltzer
Component: codeAssignee: stefan.baltzer
Status: CLOSED DUPLICATE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P2 CC: b.osi.ooo, issues
Version: DEV300m76   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description stefan.baltzer 2010-05-17 11:24:00 UTC
Found by AutoTest m_updt.bas: Closing a Math document via API crashes the office.
This occurs two times in that test.
Note: This can not be reproduced manually.
Comment 1 thomas.lange 2010-05-18 10:09:54 UTC
.
Comment 2 thomas.lange 2010-05-20 12:43:04 UTC
I checked with SBA by attaching a debugger under the running testautomation
office but we could not find a crash. The output of the debugger always was
'program exited with 0', which is not a crash.

tl->tbo: Can you please check if the test works correct or maybe does provide
false positives (for a crash)? Thanks!
Comment 3 b.osi.ooo 2010-05-20 16:08:16 UTC
The errors curently in m_update.bas
- tmFileClose
- tmFileSave
- tmFileReload

are follow ups to the error, that the document gets no modified state by pasting
something into math via edit->paste.
A file close is tried on the unmodified document, which succeeds, but is not
expected;
Expected is a messagebox indicating that the document should be saved.

In this case OOo is just closed unexpected - no crash - just 2 file close after
another without the interruption of a message box.

-> double to issue 111648

*** This issue has been marked as a duplicate of 111648 ***
Comment 4 stefan.baltzer 2010-05-21 13:39:33 UTC
Thanks for the explanation. 
m_updt.bas runs well in newly built Linux install set of CWS tl74.
Rassigned to me.
Comment 5 stefan.baltzer 2010-05-21 13:45:10 UTC
Closed.