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

 
 

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

Submitter:  Koen Van Hoof <kvho>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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

I got into following callstack :
fatal_error_signal
  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 :

void
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:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-d3ae.
    Corresponding source code