From owner-freebsd-bugs Fri Jul 24 13:10:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20616 for freebsd-bugs-outgoing; Fri, 24 Jul 1998 13:10:47 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20597 for ; Fri, 24 Jul 1998 13:10:41 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA06005; Fri, 24 Jul 1998 13:10:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19437; Fri, 24 Jul 1998 13:03:54 -0700 (PDT) (envelope-from nobody) Message-Id: <199807242003.NAA19437@hub.freebsd.org> Date: Fri, 24 Jul 1998 13:03:54 -0700 (PDT) From: jhicks@glenatl.glenayre.com To: freebsd-gnats-submit@FreeBSD.ORG Subject: bin/7393: du throws SIGSEGV whenever '-c' option is used (at du.c:226) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7393 >Category: bin >Synopsis: du throws SIGSEGV whenever '-c' option is used (at du.c:226) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 24 13:10:01 PDT 1998 >Last-Modified: >Originator: Jerry Hicks >Organization: Glenayre Electronics >Release: 2.2.7-STABLE >Environment: FreeBSD jhicks.glenatl.glenayre.com 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Fri Jul 24 11:14:56 EDT 1998 root@jhicks.glenatl.glenayre.com:/usr/src/sys/compile/JHICKS i386 >Description: du.c (1.6.2.5) du throws SIGSEGV whenever '-c' option is used (at du.c:226) du.c:224 if (cflag) { p = savedp->fts_parent; (void) printf("%ld\ttotal\n", howmany(p->fts_number, blocksize)); } (gdb) display *savedp 3: *savedp = { fts_cycle = 0xd0d0d0d0, fts_parent = 0xd0d0d0d0, fts_link = 0xd0d0d0d0, fts_number = -791621424, fts_pointer = 0xd0d0d0d0, fts_accpath = 0xd0d0d0d0 , fts_path = 0xd0d0d0d0 , fts_errno = -791621424, fts_symfd = -791621424, fts_pathlen = 53456, fts_namelen = 53456, fts_ino = 3503345872, fts_dev = 3503345872, fts_nlink = 53456, fts_level = -12080, fts_info = 53456, fts_flags = 53456, fts_instr = 53456, fts_statp = 0xd0d0d0d0, fts_name = "Ð" } (gdb) */ >How-To-Repeat: du -c . (100% repeatable here) >Fix: >Audit-Trail: >Unformatted: X-Send-Pr-Version: www-1.0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message