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/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to