bugThe GNU Hurd - Bugs: bug #41907, Opening pipes RW with bash is...


bug #41907: Opening pipes RW with bash is blocking

Submitter:  Victor Berger <levans>
Submitted:  Wed 19 Mar 2014 03:32:22 PM UTC
Category:  Hurd Servers Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Standard Compliance
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open 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

Thu 20 Mar 2014 01:37:29 AM UTC, comment #1: 

I guess nobody thought about that case, and it's probably just bugged.

Samuel Thibault <sthibaul>
Group administrator
Wed 19 Mar 2014 03:32:22 PM UTC, original submission:  

In a bash shell, creating a fifo and opening it as a file descriptor for both reading and writing like this :

mkfifo foo
exec 11<>foo

Hangs forever, and killing the call with ^C writes a "broken pipe" error.

On a Linux system, running something like

mkfifo foo
exec 11<>foo
echo "bar" >&11
cat <&11

works as expected, but this does not seem to be specified by POSIX (opening a pipe for both read and write is undefined behaviour).

Is making this call blocking a Hurd choice, or a bug ?

Victor Berger <levans>


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

Attach Files:

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


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code