Issue 12607 - missing /bin/domainname leads to abort
Summary: missing /bin/domainname leads to abort
Status: CLOSED DUPLICATE of issue 11777
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: 644
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: OOo 1.1 Beta2
Assignee: hennes.rohling
QA Contact: issues@udk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-24 09:25 UTC by philipp.lohmann
Modified: 2003-04-29 15:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description philipp.lohmann 2003-03-24 09:25:27 UTC
in sal/osl/unx/socket.c:870 in case of a missing /bin/domainname there is a
exit(-1) in the fork'ed process. This is not really wrong, but causes bad side
effects: destructors are called which e.g. close the X display connection; since
the connection is shared after the fork() it tells the Xserver that this client
is dead, which leads to the main process receiving an XIO error (or IceIO error
whichever comes first) - meaning instant termination of the main process. Please
use _exit() instead which will not cose such problems as it only close the open
file descriptors for the fork()'ed process. Please also have a look whether
there are similar action in the code.

Please fix this for OOo 1.0.3 also.
Comment 1 philipp.lohmann 2003-03-24 12:58:43 UTC
There is already issue 11777 covering this problem

*** This issue has been marked as a duplicate of 11777 ***
Comment 2 hennes.rohling 2003-04-29 15:55:01 UTC
closed