bug-bash
[Top][All Lists]
Advanced

[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: Tycho Kirchner
Subject: Re: Leaking file descriptors on fast SIGINT's in PROMPT_COMMAND, PS1
Date: Sat, 13 Apr 2019 23:44:41 +0200

Am 13.04.19 um 21:19 schrieb Chet Ramey:
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.


Maybe I should have written it already at the beginning (please mind the "see below" !): all tested bash-versions ran under *Gnu/Linux*, I did not test Mac OS X or any other OS.



reply via email to

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