On 1/12/15 9:55 AM, [email protected] wrote:
> Bash Version: 4.3
> Patch Level: 33
> Release Status: release
>
> Description:
> Named fifo's causing hanging bash scripts like
>
> while IFS="|" read a b c ; do
> [shell code]
> done < <(shell code)
>
> can cause random hangs of the bash. An strace shows that the bash
> stays in wait4()
I can't reproduce this. I spun up a VM running OpenSUSE 13 and ran the
attached script against a version of bash-4.3.33 that was modified to use
FIFOs instead of /dev/fd. There were no hangs in any of about 30 runs.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/