On Mon, Jan 14, 2008 at 03:22:39PM +0000, Sam Morris wrote:
Package: coreutils
Version: 5.97-5.3
Severity: normal

I am trying to use sort to sort a 812 MB file:

mmap2(NULL, 4118106112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= -1 ENOMEM (Cannot allocate memory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

I guess sort ignores the failure of the mmap system call. Here's a stack
trace:

What happens if you use the -S option to sort? (I actually don't think it will matter, but give it a shot.)
Mike Stone



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to