GNU bug report logs - #8824
sort occasionally hangs - appears to be in a merge-sort loop

Previous Next

Package: coreutils;

Reported by: Mina Naguib <mina.naguib <at> bloomdigital.com>

Date: Wed, 8 Jun 2011 20:41:02 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 8824 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Mina Naguib <mina.naguib <at> bloomdigital.com>
Cc: 8824 <at> debbugs.gnu.org
Subject: Re: bug#8824: sort occasionally hangs - appears to be in a merge-sort
	loop
Date: Thu, 09 Jun 2011 09:29:10 +0100
On 08/06/11 21:16, Mina Naguib wrote:
> 
> I've observed a few instances when `sort` simply "hangs" and never returns the sorted data.

> In my case, I think I'll downgrade coreutils back down to 8.5 as well as disable all tools from invoking it with "--compress-program" to get predictable non-hanging behaviour across the board.

coreutils 8.6 got the threaded sort implementation, so maybe that's triggering an obscure bug.
If you were on a multi processor machine, you could restrict `sort` to a single
thread by adding the --parallel=1 option. It's worth absolving that I think.

thanks for the very detailed bug report,
Pádraig.




This bug report was last modified 6 years and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.