[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Leaking file descriptors on fast SIGINT's in PROMPT_COMMAND, PS1
From: |
Chet Ramey |
Subject: |
Re: Leaking file descriptors on fast SIGINT's in PROMPT_COMMAND, PS1 |
Date: |
Sat, 13 Apr 2019 15:19:17 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 3/28/19 8:01 AM, Tycho Kirchner wrote:
> Dear bash-maintainers,
> 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.
What I get is you basically make the first shell unusable by sending it a
stream of SIGINTs, then when the SIGINTs stop, the shell reaps any
processes that didn't get reaped along the way and prints the prompt again.
I don't ever see the "leaking fds" message.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: Leaking file descriptors on fast SIGINT's in PROMPT_COMMAND, PS1,
Chet Ramey <=