|
| From: | Kurt Miller |
| Subject: | [bug #49014] Zombies in parallel builds with pselect code |
| Date: | Fri, 6 Sep 2019 17:55:19 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/76.0.3809.100 Chrome/76.0.3809.100 Safari/537.36 |
Follow-up Comment #18, bug #49014 (project make):
We continue to see gmake 4.2.1 get stuck with zombie's on OpenBSD with
pselect(2).
[comment #4 comment #4:]
> I took a look through the code. I could to do a more comprehensive review
but at first glance it looks like everything is OK: if PSELECT is enabled then
we block SIGCHLD right at the start of the make process and we never unblock
it except as a parameter to pselect().
While SIGCHLD is blocked at the start of the make process, it gets unblocked
in various places which breaks the invariant that it must remain blocked for
pselect(2) to atomically receive all SIGCHLD events. This was determined by
using strace(1) on gmake on OpenBSD.
I have a proposed patch to keep SIGCHLD blocked and will attach to the bug
report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49014>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |