bugThe GNU Hurd - Bugs: bug #26751, creating memory objects through...


bug #26751: creating memory objects through the proxy defpager can fail

Submitted by:  Ben Asselstine <benasselstine>
Submitted on:  Sun 07 Jun 2009 12:55:16 AM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedReproducibility: None
Size (loc): NonePlanned Release: None
Effort: 0.00
Wiki-like text discussion box: 

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Thu 04 Sep 2014 11:32:02 PM UTC, comment #4:

Fixed in 8fd228ccd454578fb0367d97d95b90f9073a8d7c.

Justus Winter <teythoon>
Project Member
Thu 29 Apr 2010 05:01:33 PM UTC, comment #3:

I think only GNU Mach should make use of the default pager. "tmpfs" should create and mantain its own pagers, just like other translators do.

Sergio López <k0ro>
Project Member
Tue 12 Jan 2010 12:29:39 AM UTC, comment #2:

Mmm, indeed, there's an issue: MACH_MSG_TYPE_MAKE_SEND means the msg
sender has a receive right, and makes a send right out of it, but here
the defpager proxy, by calling default_pager_object_create, only gets
a send right, so can't use MACH_MSG_TYPE_MAKE_SEND and could in that
to just pass the send right.

I'm wondering however: isn't that a common issue with proxies? Isn't
there some better way?

Sun 07 Jun 2009 01:17:25 PM UTC, comment #1:

I had a problem the first time I used proxy defpager.
I don't know if we have the same problem.
The attached patch might help. At least it solves my problem.

(file #18238)

Zheng Da <zhengda>
Project Member
Sun 07 Jun 2009 12:55:16 AM UTC, original submission:

When I create a sample program that uses the default_pager_object interface to create a new memory object it fails. I'm running the program as root.

1. open the /servers/default-pager file
(this is running /hurd/proxy-defpager)

2. call default_pager_object_create, and try to make an object of 4k.

The call fails with a server died message.

This mail message shows a similar error:

Fixing this bug would help tmpfs run correctly.

Ben Asselstine <benasselstine>


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

Attach File(s):

Attached Files
file #18238:  proxy-defpager.diff added by zhengda (2kB - text/x-diff)


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 k0ro (Posted a comment)
  • -unavailable- added by zhengda (Updated the item)
  • -unavailable- added by benasselstine (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 04 Sep 2014 11:32:02 PM UTCteythoonStatusNone=>Fixed
    Sun 07 Jun 2009 01:17:25 PM UTCzhengdaAttached File-=>Added proxy-defpager.diff, #18238

    Back to the top

    Powered by Savane 3.1-cleanup