To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72101
                 Issue #|72101
                 Summary|Save leads to hang after several edited documents
               Component|framework
                 Version|OOo 2.0.3
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|ui
             Assigned to|tm
             Reported by|hoefer748





------- Additional comments from [EMAIL PROTECTED] Wed Nov 29 05:23:46 -0800 
2006 -------
Editing several writer documents one at a time in the same OOo environment
leads to a hang after calling File|Save.  The UI then disregards calling
File|Exit.  We have to kill the soffice and soffice.bin processes and
restart OOo.

Killing OOo processes in consequence exits the enclosing application that
should copy the edited documents back to the originating server.  The new
content of the documents has been saved before the hang of OOo, so they
can be recovered manually, but this has led to much additional effort and
frustration.

To edit a document, a Java application makes a UNO connection to OOo and
invokes the loadComponentFromURL(...) method with the document's URL.
In case OOo is not running already, it gets startet by

/pathToOOo/program/soffice \
  -accept=socket,host=localhost,port=8110;urp;ServiceManager \
  -nodefault

Waiting for the user closing the document is done with an XCloseListener
registered on the XCloseable of the document XComponent and an
XTerminateListener registered on the document XComponent directly.
The waiting Java application ends with System.exit(0) after the disposing()
method of any one of the Listeners gets invoked.

When a hang occurs, there are the following OOo processes:

  PID  PPID TTY          TIME CMD
27855     1 pts/1    00:00:00 soffice
27867 27855 pts/1    00:00:09   soffice.bin
27868 27867 pts/1    00:06:25     soffice.bin
27870 27868 pts/1    00:00:00       soffice.bin
27908 27868 pts/1    00:00:00       soffice.bin
27909 27868 pts/1    00:00:00       soffice.bin
27989 27868 pts/1    00:00:00       soffice.bin

Process 27870 continues consuming CPU time.  A "Terminator" class
designed to get a com.sun.star.Desktop service and invoke its terminate()
method fails because it doesn't get a ServiceManager; the XUnoUrlResolver
returns null.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to