On 4/13/19 11:33 PM, Al Payne wrote: > On Sat, Apr 13, 2019 at 03:19:17PM -0400, Chet Ramey wrote: >> On 3/28/19 8:01 AM, Tycho Kirchner wrote: >>> the *interactive* bash leaks (pipe-)file-descriptors when fast interrupts >>> (SIGINT) occur. The bug occurs on all bash-versions tested (see below), >>> including 5.0.2(1)-release. >> >> I don't see any issue on Mac OS X. >> > > I can reproduce the problem as described on Mac OS here. After starting > the while loop, switch back to the first session (that is now scrolling > with the SIGINGs) and hold ctrl-c. "leaking fds" appears fairly quickly > and /dev/fd for the affected session does show several new descriptors > remaining after breaking out of the while loop.
OK, I think I see it. It will be fixed in the next devel branch push. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/