bugThe GNU Hurd - Bugs: bug #48890, mach-defpager isn't properly...

 
 

bug #48890: mach-defpager isn't properly marked important

Submitted by:  Brent Baccala <baccala>
Submitted on:  Thu 25 Aug 2016 01:10:48 AM UTC  
 
Category: Hurd ServersSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Works For MePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedReproducibility: Every Time
Size (loc): NonePlanned Release: None
Effort: 0.00
Wiki-like text discussion box: 

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 28 Apr 2017 06:29:07 PM UTC, comment #5:

Yes, this is correct. This bug report is very dubious. If this is a problem in the Debian package, then it should be reported in the Debian bug tracker. I have never seen a problem with this, and I am the one who introduced the whole notion of important processes that should be left alone by killall5.

Justus Winter <teythoon>
Project Member
Thu 27 Apr 2017 05:49:19 PM UTC, comment #4:

cut -d ' ' -f 26,27 /proc/11/stat

outputs '0 0' for me.

That's the correct output right? I believe my debian-img is from 2016...

Joshua Branson <joshuabranson>
Thu 25 Aug 2016 08:13:09 PM UTC, comment #3:

But I'm using mach-defpager from Debian on all those boxes...

Samuel Thibault <sthibaul>
Project Member
Thu 25 Aug 2016 08:12:09 PM UTC, comment #2:

I tried again with the mach-defpager from savannah's git tree and it worked correctly. Looks like a problem with the Debian package.

Brent Baccala <baccala>
Thu 25 Aug 2016 08:51:02 AM UTC, comment #1:

As reported by Svante Signell:


On one of my KVM boxes:
ps e | grep mach-defpager
root        11  - Ssfo  0:00.03 /hurd/mach-defpager

cut -d ' ' -f 26,27 /proc/11/stat

  1. 0


Happens to me too on all the systems I have access to.

Samuel Thibault <sthibaul>
Project Member
Thu 25 Aug 2016 01:10:48 AM UTC, original submission:

mach-defpager is being killed by /sbin/killall5 because it isn't properly being flagged as an 'important' process.

'important' processes report their startcode and endcode fields as 0 in their /proc/PID/stat files.

mach-defpager isn't properly flagging, as can be easily verified:

There's code in mach-defpager/main.c (lines 128-139) that is intended to do this, but for some reason this isn't working.

Brent Baccala <baccala>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by teythoon (Posted a comment)
  • -unavailable- added by joshuabranson (Posted a comment)
  • -unavailable- added by sthibaul (Posted a comment)
  • -unavailable- added by baccala (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 28 Apr 2017 06:29:07 PM UTCteythoonStatusNone=>Works For Me
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1