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

 
 

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

Submitter:  Brent Baccala <baccala>
Submitted:  Thu 25 Aug 2016 01:10:48 AM UTC
   
 
Category:  Hurd Servers Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Works For Me Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Reproducibility:  Every Time
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group administrator
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>
Group administrator
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:


ps e | grep mach-defpager

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


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 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 teythoon (Posted a comment)
  • -email is unavailable- added by joshuabranson (Posted a comment)
  • -email is unavailable- added by sthibaul (Posted a comment)
  • -email is unavailable- added by baccala (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-28 teythoon StatusNone Works For Me
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.12