[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Named fifo's causing hanging bash scripts
From: |
Chet Ramey |
Subject: |
Re: Named fifo's causing hanging bash scripts |
Date: |
Fri, 16 Jan 2015 09:09:25 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
On 1/12/15 9:55 AM, werner@linux-8jdz.site 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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Named fifo's causing hanging bash scripts, werner, 2015/01/12
- Re: Named fifo's causing hanging bash scripts, Chet Ramey, 2015/01/12
- Re: [bug-bash] Named fifo's causing hanging bash scripts, Dr. Werner Fink, 2015/01/13
- Re: [bug-bash] Named fifo's causing hanging bash scripts, Chet Ramey, 2015/01/16
- Re: [bug-bash] Named fifo's causing hanging bash scripts, Dr. Werner Fink, 2015/01/16
- Re: [bug-bash] Named fifo's causing hanging bash scripts, Chet Ramey, 2015/01/16
- Re: [bug-bash] Named fifo's causing hanging bash scripts, Dr. Werner Fink, 2015/01/16
- Re: [bug-bash] Named fifo's causing hanging bash scripts, Jonathan Hankins, 2015/01/16
Re: Named fifo's causing hanging bash scripts,
Chet Ramey <=