Latest stable (r287104) bash leaves zombies on exit
Michiel Boland
boland37 at xs4all.nl
Fri Aug 28 15:53:58 UTC 2015
On 08/28/2015 12:01, Konstantin Belousov wrote:
[...]
> I probably have an idea what is going wrong. Please try the patch
> below. Libc does not used interposed sig{procmask,action,suspend}
> entries itself, which resulted in e.g. signal(3) breaking libthr
> hooks.
I'm trying now, and it did appear to get rid of the zombies.
Here's a quick test.
set -e
for a in `seq 1000`
do
echo -n "$a "
xterm -e ssh nonexisting
done
echo ""
(The idea here is that 'ssh nonexisting' should do some work and then exit,
"xterm -e false", etc. don't appear to trigger the bug.)
Prior to the patch, one of the xterms would hang after the counter reaches a
random (reasonably small) number.
After the patch the script runs till completion.
Cheers
Michiel
More information about the freebsd-stable
mailing list