Subject: bin/12673: sort -H core dumped
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ryoh@jaist.ac.jp>
List: netbsd-bugs
Date: 04/16/2001 07:40:09
>Number: 12673
>Category: bin
>Synopsis: sort -H core dumped
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 15 15:42:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Ryo HAYASAKA
>Release: 1.5T <NetBSD-current source date>
>Organization:
JAIST
>Environment:
System: NetBSD bonnie.jaist.ac.jp 1.5T NetBSD 1.5T (BONNIE) #60: Wed Apr 11 01:56:36 JST 2001 ryoh@bonnie.jaist.ac.jp:/a/src/sys/arch/i386/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
With -H option, sort(1) which sorts a large file causes bus error.
>How-To-Repeat:
$ sort -H /usr/share/dict/words
Bus error (core dumped)
$ gdb ./sort sort.core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386--netbsd"...
Core was generated by `sort'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/libexec/ld.elf_so...done.
Reading symbols from /usr/lib/libc.so.12...done.
#0 0x480e79f1 in memmove ()
(gdb) bt
#0 0x480e79f1 in memmove ()
#1 0x8066000 in ?? ()
#2 0x804e108 in main (argc=3, argv=0xbfbfd58c) at sort.c:276
#3 0x8048e1d in ___start ()
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: