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 Priority:  5 - 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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    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.16-11ef.
    Corresponding source code