[Bug 2133156] [NEW] echo 1 | sort | head -n0: sort: write failed: 'standard output': Broken pipe
Launchpad Bug Tracker
2133156 at bugs.launchpad.net
Thu Nov 27 17:03:53 UTC 2025
You have been subscribed to a public bug:
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.
** Affects: rust-coreutils (Ubuntu)
Importance: Undecided
Status: New
--
echo 1 | sort | head -n0: sort: write failed: 'standard output': Broken pipe
https://bugs.launchpad.net/bugs/2133156
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
More information about the foundations-bugs
mailing list