bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #49014] Zombies in parallel builds with pselect code


From: Paul D. Smith
Subject: [bug #49014] Zombies in parallel builds with pselect code
Date: Fri, 6 Sep 2019 19:22:36 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0

Update of bug #49014 (project make):

             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #22:

I'll reopen this so I don't lose track of it.

For the next release I wanted to completely rewrite the signal handling in GNU
make, because it's utterly broken (see various still-open bugs about easy ways
to get make to hang on ^C etc.)  The code makes the cardinal sin of doing a
lot of crazy stuff inside a signal handler which only leads to tears.

I have an implementation that reduces the signal handler to just set a flag,
which is then checked at strategic places to determine whether a fatal signal
was received, then introduces a "critical section" which can be declared to
ensure that these lists are not mismanaged.  This would alleviate your issue
here since we'd never need to change the signal handlers once they were set up
when the program started.

Unfortunately, it's not all completely working yet.

I'll either install a fix like this (maybe not quite exactly this) or get my
full solution working before the next release.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?49014>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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