Issue 78253 - OpenOffice.org Document Recovery and MacOSX native crash handler not interacting
Summary: OpenOffice.org Document Recovery and MacOSX native crash handler not interacting
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: 680m211
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: ericb
QA Contact: issues@porting
URL:
Keywords: aqua
Depends on:
Blocks:
 
Reported: 2007-06-09 08:27 UTC by ooskapenaar
Modified: 2008-07-10 12:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ooskapenaar 2007-06-09 08:27:16 UTC
Intel Mac

When a crash is produced, both the OOo Document Recovery and the Mac crash handler are activated. 
However, the Mac native crash handler seems to kill some vital OOo process, so that regardless of which 
options are selected on the still open OOo Document recovery window, nothing happens afterwards.

See the screenshot on Bug 78252 / Issue 78252
Comment 1 ooskapenaar 2007-06-09 08:28:53 UTC
PS. What one sees on the screenshot are both the OOo Document Recovery window and the MacOSX Crash 
handler open at the same time.
Comment 2 eric.bachard 2007-06-10 18:50:21 UTC
ericb->ooskapenaar

Thanks for reporting that. Can you please be more precise ? I'm not sure to get everything here, in 
particular, what should happen in a perfect world ?

For me Mac OS X crash handler and OOo recovery are different threads, and do not interfere, but I can be 
wrong.
Comment 3 ooskapenaar 2007-06-12 10:23:26 UTC
Yes, they are separate threads. No, they do seem to interfere with each other.

Consider the following:

1. Crash occurs -> the OOo main window closes

2. Visible are some OOo dialogs (Filter XML Filter Dialog), Document Recovery Window, and Mac OSX 
Crash Reporter (MCR).
Ideally, the XML Filter Dialogs should be recognised as children of the crashed window and should 
vanish at this point.

3. The User can change the focus from the MCR to the Document Recovery, although the MCR stays on 
top. That's OK.

4. At this point, it makes no difference in which order one clicks the buttons on the displayed windows 
of the MCR and Doc Recovery. I went through all of them.  The result is always that nothing happens.

In an ideal world, the document recovery window does NOT open at this stage. It will appear anyway 
when one restarts OOo.  So the User should be faced only with the choice o Buttons on the MCR. Clickin 
RETRY should restart OOo. Close should just abandon.

HTH.
Comment 4 eric.bachard 2007-11-03 23:02:45 UTC
ericb->ooskapenaar

I think what you call the Doc Recovery is only a lock, to save the crashed document.  And if I'm not wrong, 
you see a progress bar. 

The recovery window appears during the next OpenOffice.org restart

Comment 5 ooskapenaar 2007-11-16 09:15:47 UTC
Right Eric, it is the lock.  Since the window was labelled "Document Recovery" I wasn't aware of it's 
purpose. 

I have also since seen the progress bar. I don't right now have a reliable way of crashing OOo. So I can't 
add any more criticism to how the locking is handled at crash time.

-> I am marking this issue as fixed.
Comment 6 philipp.lohmann 2008-07-10 12:24:07 UTC
closing