bugmake - Bugs: bug #54429, make can block after being killed...


bug #54429: make can block after being killed (3)

Submitted by:  Koen Van Hoof <kvho>
Submitted on:  Thu 02 Aug 2018 11:29:19 AM UTC  
Severity:  3 - Normal Item Group:  Bug
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  None Operating System:  None
Fixed Release:  None Triage Status:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 02 Aug 2018 11:29:19 AM UTC, original submission:  

I got into following callstack :
  reap_children (1, 0)
    pfatal_with_name ("wait")
      OSS (fatal, NILF, _("%s: %s"), name, err)
        die (MAKE_FAILURE)
          reap_children (1, err)
This did block because both reap_children do decrement job_slots_used

Solution :

die (int status)
  static char dying = 0;

  if (!dying && !handling_fatal_signal)


Koen Van Hoof <kvho>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by psmith (Updated the item)
  • -email is unavailable- added by kvho (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-27 psmith Item GroupNone => Bug

    Back to the top

    Powered by Savane 3.5