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

_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to