[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash hangs waiting for children (already dead)?
From: |
Chet Ramey |
Subject: |
Re: Bash hangs waiting for children (already dead)? |
Date: |
Fri, 1 Dec 2000 10:55:03 -0500 |
> Machine Type: sparc-sun-solaris2.7
>
> Bash Version: 2.04
> Patch Level: 0
> Release Status: release
>
> Description:
> Bash is running a fairly deeply nested set of shell functions in a
> test set-up. When stdout and stderr of the top level shell function
> are to the terminal, all is well. When stderr and stdout of the top
> level function are piped into tee as follows
>
> $ TopLevelShellFunction 2>&1 | tee test.log
>
> bash hangs after up to an hour or so, but in a different location
> each time. Here is the process tree with what each instance of bash
> is doing according to truss. The last instance of bash is in a loop
> constantly repeating the call to waitid().
I believe that I have already fixed this for the next release (currently
in alpha test).
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/