[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #49278] fprintf(stderr, ...) returns -1 (EINTR)

From: Kalle Olavi Niemitalo
Subject: [bug #49278] fprintf(stderr, ...) returns -1 (EINTR)
Date: Thu, 6 Oct 2016 06:58:11 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #1, bug #49278 (project hurd):

I suspect this is caused by a no-more-senders notification on the receive
right of the filesystem root port, to which the client sent the message.  If
you add sleep(2) after the mach_msg call in the client, so that it doesn't
deallocate the send right before mach_msg times out in the server, then the
EINTR doesn't happen on the first call.  (I didn't test more calls.)  The
no-more-senders notification would be requested because trivfs_S_fsys_getroot
calls ports_get_right.  The notification is handled in

If the EINTR only happens on the first call, that seems wrong.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]