Pádraig Brady wrote: > FYI https://bugzilla.redhat.com/show_bug.cgi?id=655096
Ouch! Thanks for forwarding that.
Here's one way to test for the bug:
seq 100000 > in
mkfifo fifo
(for i in $(seq 12); do read line; echo $i; sleep .1; done
cat > /dev/null) < fifo &
(ulimit -t 1; ./sort in > fifo \
|| echo killed via $(env kill -l $(expr $? - 128)))
It fails on multi-core systems:
1
2
3
4
5
6
7
8
9
killed via XCPU
10
11
12
But succeeds with the sort from coreutils-8.5.
