bugThe GNU Hurd - Bugs: bug #20612, rpctrace: heisenbug


bug #20612: rpctrace: heisenbug

Submitted by:  Thomas Schwinge <tschwinge>
Submitted on:  Sat 28 Jul 2007 10:52:48 PM UTC  
Category: HurdSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Zheng Da <zhengda>Originator 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.


Tue 28 Jul 2009 04:58:31 PM UTC, comment #2:

Thanks! I have briefly tested this: the patch does the right thing in the failure case, and let's hope that it doesn't break anything else.

Please install it in the master branch -- instructions are on http://www.bddebian.com:8888/~hurd-web/rules/source_repositories/, please read that page carefully before pushing to Savannah, or ask me if you need help. Even better: first publish it in a throw-away repository on flubber, or in a private branch on Savannah, until we get all that new Git stuff going correctly.

Thomas Schwinge <tschwinge>
Project Administrator
Mon 15 Jun 2009 08:18:35 AM UTC, comment #1:

The patch in the attachment can fix the bug.

(file #18272)

Zheng Da <zhengda>
Project MemberIn charge of this item.
Sat 28 Jul 2007 10:52:48 PM UTC, original submission:

When running via rpctrace, a program like this will fail with the specified error message, while it won't error and will finish correctly when running directly.

if (setregid (getegid (), -1) != 0 ||
setreuid (geteuid (), -1) != 0)
perror ("failed to drop real uid/gid");
exit (1);

Thomas Schwinge <tschwinge>
Project Administrator


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

Attach File(s):

Attached Files
file #18272:  rpctrace1.diff added by zhengda (509B - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by zhengda (Updated the item)
  • -unavailable- added by tschwinge (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 12 Oct 2009 10:42:36 PM UTCtschwingeStatusWorks For Me=>Fixed
    Tue 28 Jul 2009 04:58:31 PM UTCtschwingeStatusNone=>Works For Me
      Assigned toNone=>zhengda
    Mon 15 Jun 2009 08:18:35 AM UTCzhengdaAttached File-=>Added rpctrace1.diff, #18272

    Back to the top

    Powered by Savane 3.1-cleanup1