[Bug 2133156] Re: echo 1 | sort | head -n0: sort: write failed: 'standard output': Broken pipe
Simon Johnsson
2133156 at bugs.launchpad.net
Thu Jan 15 14:52:53 UTC 2026
I have created an upstream issue for this regression here:
https://github.com/uutils/coreutils/issues/10260
** Bug watch added: github.com/uutils/coreutils/issues #10260
https://github.com/uutils/coreutils/issues/10260
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2133156
Title:
echo 1 | sort | head -n0: sort: write failed: 'standard output':
Broken pipe
Status in rust-coreutils package in Ubuntu:
Triaged
Status in rust-coreutils source package in Questing:
New
Bug description:
dpigs produces its output, then shows an error:
sort: write failed: 'standard output': Broken pipe
dpigs end with a 'sort | head' pipeline. This error is due to sort's
new behaviour in rust-coreutils when being passed into a pipe that's
closed mid-write, which is exactly what head does.
Minimally, this is reproducible with:
$ echo 1 | sort | head -n0
sort: write failed: 'standard output': Broken pipe
This is either a latent bug in dpigs or a regression in rust-
coreutils.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2133156/+subscriptions
More information about the foundations-bugs
mailing list