bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sort 2.0.11 core dump


From: Jim Randell
Subject: sort 2.0.11 core dump
Date: Sat, 4 Aug 2001 20:36:57 +0100 (BST)

Hi,

I have a problem with 'sort' core dumping on a certain file (for the
most part 'sort' seems to be performing normally).

I've attached an strace of the command generated with:

  strace -o sort-2.0.11-trace sort sort-killer

I've not attached the input file as it's 35M (although is compresses
well with bzip2 to 3.2M, so I can send it to you if you need it to try
and reproduce the problem).

The system that this is running on is a newly installed RedHat 7.1 x86
system, upgraded to kernel 2.4.7 SMP, 2x 1GHz PIII CPUs, 2Gb RAM (so
4Gb HIGHMEM support is enabled), the source file is resident on a
reiserfs file system with more than 36Gb free.

Here are some system details (if you need more details to help
diagnose this problem please don't hesitate to contact me):

  # sort --version
  sort (GNU textutils) 2.0.11
  Written by Mike Haertel.

  Copyright (C) 2000 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  # uname -a
  Linux uk6.imdb.com 2.4.7 #3 SMP Wed Aug 1 21:11:42 BST 2001 i686 unknown

  # free
               total       used       free     shared    buffers     cached
  Mem:       2060164    1999832      60332          0      13732    1913796
  -/+ buffers/cache:      72304    1987860
  Swap:      2096440          0    2096440

-- 
Jim Randell  //  address@hidden  //  +44.117.949.7066
http://www.imdb.com/       Mobile: +44.779.087.6488
                                                 :d

execve("/bin/sort", ["sort", "sort-killer"], [/* 30 vars */]) = 0
uname({sys="Linux", node="uk6.imdb.com", ...}) = 0
brk(0)                                  = 0x8054c24
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40017000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=20604, ...}) = 0
old_mmap(NULL, 20604, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
open("/lib/i686/libc.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\302"..., 1024) = 
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=5634864, ...}) = 0
old_mmap(NULL, 1242920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001e000
mprotect(0x40144000, 38696, PROT_NONE)  = 0
old_mmap(0x40144000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x125000) = 0x40144000
old_mmap(0x4014a000, 14120, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014a000
close(3)                                = 0
munmap(0x40018000, 20604)               = 0
getpid()                                = 12640
getpid()                                = 12640
brk(0)                                  = 0x8054c24
brk(0x8054c4c)                          = 0x8054c4c
brk(0x8055000)                          = 0x8055000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40018000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2601
brk(0x8056000)                          = 0x8056000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40018000, 4096)                = 0
open("/usr/lib/locale/en_GB/LC_IDENTIFICATION", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=235, ...}) = 0
mmap2(NULL, 235, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_MEASUREMENT", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13, ...}) = 0
mmap2(NULL, 13, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40019000
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_TELEPHONE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=46, ...}) = 0
mmap2(NULL, 46, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001a000
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_ADDRESS", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=117, ...}) = 0
mmap2(NULL, 117, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001b000
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_NAME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=52, ...}) = 0
mmap2(NULL, 52, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_PAPER", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=24, ...}) = 0
mmap2(NULL, 24, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001d000
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0
mmap2(NULL, 42, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4014e000
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_MONETARY", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=276, ...}) = 0
mmap2(NULL, 276, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4014f000
close(3)                                = 0
brk(0x8057000)                          = 0x8057000
open("/usr/lib/locale/en_GB/LC_COLLATE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=21484, ...}) = 0
mmap2(NULL, 21484, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40150000
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_TIME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2365, ...}) = 0
mmap2(NULL, 2365, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40156000
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_NUMERIC", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=44, ...}) = 0
mmap2(NULL, 44, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40157000
close(3)                                = 0
open("/usr/lib/locale/en_GB/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=110304, ...}) = 0
mmap2(NULL, 110304, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40158000
close(3)                                = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x804ce98, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGHUP, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x804ce98, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {0x804ce98, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x804ce98, [], 0x4000000}, NULL, 8) = 0
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=238, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40173000
read(3, "/dev/rd/c0d0p6 / ext2 rw 0 0\nnon"..., 4096) = 238
close(3)                                = 0
munmap(0x40173000, 4096)                = 0
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40173000
read(3, "        total:    used:    free:"..., 4096) = 579
close(3)                                = 0
munmap(0x40173000, 4096)                = 0
mmap2(NULL, 27906048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40173000
mmap2(NULL, 13955072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x41c10000
open("sort-killer", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0664, st_size=36316148, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x4295f000
read(3, "6e6d30383239333930|0504020000000"..., 27901952) = 27901952
mmap2(NULL, 208896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x42960000
mmap2(NULL, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x42993000
munmap(0x42993000, 143360)              = 0
mmap2(NULL, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x42993000
munmap(0x42993000, 139264)              = 0
mmap2(NULL, 184320, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x42993000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

reply via email to

[Prev in Thread] Current Thread [Next in Thread]