bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some kind of file descriptor overflow


From: Chet Ramey
Subject: Re: Some kind of file descriptor overflow
Date: Mon, 16 Jun 2014 11:56:40 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 6/13/14, 2:56 PM, Jorge Sivil wrote:
> Yes, sorry. The minimum reproduceable code is:
> 
> #!/bin/bash
> function something() {
>   while true
>   do
>     while read VAR
>     do
>       dummyvar="a"
>     done < <(find "/run/shm/debora" -type f | sort)
>     sleep 3
>   done
> }
> something &
> 
> Which fails with many pipes fd open.

Thanks for the report.  This was fixed in bash-4.3.


-- 
``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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]