From owner-freebsd-bugs@FreeBSD.ORG Fri Jan 23 12:40:37 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4F0E16A4CF for ; Fri, 23 Jan 2004 12:40:37 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EF4A43D5E for ; Fri, 23 Jan 2004 12:40:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0NKU8FR057457 for ; Fri, 23 Jan 2004 12:30:08 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0NKU8jb057456; Fri, 23 Jan 2004 12:30:08 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 23 Jan 2004 12:30:08 -0800 (PST) Resent-Message-Id: <200401232030.i0NKU8jb057456@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Greg Valcourt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40A0D16A4CE for ; Fri, 23 Jan 2004 12:25:13 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D12E43D5C for ; Fri, 23 Jan 2004 12:25:03 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i0NKP3dL062313 for ; Fri, 23 Jan 2004 12:25:03 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i0NKP3eF062312; Fri, 23 Jan 2004 12:25:03 -0800 (PST) (envelope-from nobody) Message-Id: <200401232025.i0NKP3eF062312@www.freebsd.org> Date: Fri, 23 Jan 2004 12:25:03 -0800 (PST) From: Greg Valcourt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: misc/61800: inoinfo size too large, fsck segmentation faults X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2004 20:40:37 -0000 >Number: 61800 >Category: misc >Synopsis: inoinfo size too large, fsck segmentation faults >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 23 12:30:08 PST 2004 >Closed-Date: >Last-Modified: >Originator: Greg Valcourt >Release: FreeBSD 5.2 >Organization: Home >Environment: FreeBSD 5.2-RELEASE FreeBSD 5.2RELEASE #1: Thu Jan 22 22:27:27 CST 2004 root@:/usr/src/sys/i386/compile/MyKernel i386 >Description: I have a filesystem that mounts onto root via a directory called "/media". I noticed that I could not cd into it. Naturally, I did an ls -altr | grep "media": br-sr-Sr-- 8236 1931505524 1953653108 32, 0x65740020 May 23 1975 media Woh, that's wrong. So I umounted it. I ran fsck on the device: ** /dev/ad2s2c ** Last Mounted on /media ** Phase 1 - Check Blocks and Sizes cannot alloc 3267166364 bytes for inoinfo fsck: /dev/ad2s2c: Segmentation fault Now, mabey there is an error that fsck can't fix, but fsck should recognize this and give an appropriate error. The fact that it segmentation faults tells me that the program could not handle a particular situation. >How-To-Repeat: For me, I just run fsck again on that filesystem. For you, I don't know. You would have to encouter a similar corruption on your file system. I have the core file that it dumped. If you like it, email me and I will send you it. (It's over 6MB). >Fix: >Release-Note: >Audit-Trail: >Unformatted: