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:  Hurd Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  Zheng Da <zhengda> Originator Name: 
Open/Closed:  Closed Reproducibility:  Every Time
Size (loc):  None Planned 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 Files:

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
  • -email is unavailable- added by zhengda (Updated the item)
  • -email is unavailable- added by tschwinge (Submitted the item)

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

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-10-12 tschwinge StatusWorks For Me => Fixed
        Open/ClosedOpen => Closed
    2009-07-28 tschwinge StatusNone => Works For Me
        Assigned toNone => zhengda
    2009-06-15 zhengda Attached File- => Added rpctrace1.diff, #18272

    Back to the top

    Powered by Savane 3.5