home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.hp:14062 comp.unix.wizards:5224
- Newsgroups: comp.sys.hp,comp.unix.wizards
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!bnrgate!bmers145!bmers145!doig
- From: doig@bmerh935.bnr.ca (Kelly Doig)
- Subject: HPUX 8.0 csh race condition bug ????
- Message-ID: <DOIG.92Dec14194748@bmerh935.bnr.ca>
- Sender: news@bmers145.bnr.ca
- Organization: Bell-Northern Research Ltd, Ottawa, Canada
- Date: 14 Dec 92 19:47:48
- Lines: 31
-
- Greetings;
-
- Has anyone else seen a race condition where the csh hangs when
- creating children ??
-
- I am working on a port of telnetd.
-
- The problem I am seeing is that the csh exec'd by login seems to have
- a race condition. Children that the csh tries to create sometimes
- block somewhere between the fork() and the exec().
-
- ps - shows that the child process has been created but that the name
- has not yet been changed. The child process is not waiting on the pty
- but is waiting on the _u area which I am told means that only a signal
- will awaken it.
-
- If I compile HP's csh code with some of the debug printfs compiled in,
- the problem does not appear to happen.
-
- If I compile HP's csh code with the -g option, the problem does not
- appear to happen.
-
- Anyone have any idea's ??
-
- Kelly D. Doig
- --
- +--------------------------------------------------------------------------+
- | Kelly Donald Doig INTERNET : doig@bnr.ca |
- | Bell-Northern Research, Ltd. PHONE : (613)763-2746 |
- | Ottawa, Ontario, Canada PHYSICAL : Mer Twr 3 2nd Flr E5 |
- +--------------------------------------------------------------------------+
-