To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=67756
                 Issue #|67756
                 Summary|Problems with soffice script terminating soffice.bin (
                        |Unix)
               Component|framework
                 Version|680m178
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|abi
             Reported by|sb





------- Additional comments from [EMAIL PROTECTED] Tue Jul 25 05:33:34 -0700 
2006 -------
There are three problems with desktop/scripts/soffice.sh:1.25 and
desktop/scripts/soffice_lean.sh:1.7:

1  The "trap 'kill -9 $!' TERM; wait $!" stuff has two races (first: soffice.bin
is started, trap not yet established, SIGTERM comes in, soffice.bin not killed;
second: soffice.bin already terminated, trap established, wait done, SIGTERM
comes in, $! now identifies an unrelated process which is killed in error; also
see
<http://groups.google.de/group/comp.unix.shell/browse_frm/thread/89703c63325a3b05>.)
 [Didn't I already post this into some other issue?]

2  When the system shuts down (and sends SIGTERM to each process) while soffice
is running, the soffice script might receive its SIGTERM and thus SIGKILL
soffice.bin before soffice.bin terminated cleanly after receiving its SIGTERM. 
This is similar to the Windows problem of issue 62312 and issue 67739, and can
leave .lock files behind etc.

3  A really minor thing is that according to SUSv3, "kill -s KILL" would be more
portable than "kill -9", as the latter is an XSI extension.

---------------------------------------------------------------------
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