Subject: bin/29972: cpio --version memory faults
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <lantis@askarali.info>
List: netbsd-bugs
Date: 04/14/2005 15:19:00
>Number: 29972
>Category: bin
>Synopsis: cpio --version memory faults
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 14 15:19:00 +0000 2005
>Originator: Sascha Retzki
>Release: 2.0_BETA
>Organization:
>Environment:
NetBSD MEniac 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Tue Aug 10 14:27:34 UTC 2004 autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC i386 and NetBSD xxx 2.0.2_STABLE NetBSD 2.0.2_STABLE (LUST) #0: Tue Apr 12 12:42:31 MDT 2005 root@xxx:/usr/obj/sys/arch/i386/compile/LUST i386
005 root@xxx:/usr/obj/sys/arch/i386/compile/LUST i386
>Description:
$ cpio --version
Memory fault (core dumped)
$
Also reproduceable on :
NetBSD xxx 2.0.2_STABLE NetBSD 2.0.2_STABLE (LUST) #0: Tue Apr 12 12:42:31 MDT
+2005 root@xxx:/usr/obj/sys/arch/i386/compile/LUST i386
Backtrace is:
(gdb) bt
#0 0x48106387 in strncmp () from /lib/libc.so.12
#1 0x48115ec8 in __isthreaded () from /lib/libc.so.12
#2 0x0805369c in cpio_options ()
#3 0x08054ffc in main ()
#4 0x0804a212 in ___start ()
Please request the core file or send me further instructions to debug.
Mr. Furtado mentioned that it is not reproducable on -current.
>How-To-Repeat:
>Fix: