|
From: | Jim Meyering |
Subject: | Re: [coreutils] over aggressive threads in sort |
Date: | Mon, 22 Nov 2010 17:47:14 +0100 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |