From owner-freebsd-hackers Mon Dec 31 6:47:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id 5D9B637B422; Mon, 31 Dec 2001 06:47:07 -0800 (PST) Received: from fwd02.sul.t-online.de by mailout03.sul.t-online.de with smtp id 16L3iF-0004IC-0B; Mon, 31 Dec 2001 15:46:51 +0100 Received: from Gatekeeper.FreeBSD.org (520047440004-0001@[80.132.237.19]) by fmrl02.sul.t-online.com with esmtp id 16L3iA-1o86TYC; Mon, 31 Dec 2001 15:46:46 +0100 Received: from StefanEsser.FreeBSD.org (StefanEsser [10.0.0.1]) by Gatekeeper.FreeBSD.org (Postfix) with ESMTP id C58B75F14; Mon, 31 Dec 2001 15:47:10 +0100 (CET) Received: by StefanEsser.FreeBSD.org (Postfix, from userid 200) id 5F3652811; Mon, 31 Dec 2001 15:49:31 +0100 (CET) Date: Mon, 31 Dec 2001 15:49:31 +0100 From: Stefan Esser To: Michael Scheidell Cc: freebsd-hackers@FreeBSD.ORG, Stefan Esser Subject: Re: userland program panics freebsd 4.3 Message-ID: <20011231154931.A2301@StefanEsser.FreeBSD.org> Reply-To: Stefan Esser References: <002301c18802$ab06b460$2801010a@MIKELT> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002301c18802$ab06b460$2801010a@MIKELT> User-Agent: Mutt/1.3.21i X-Sender: 520047440004-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2001-12-18 15:29 -0500, Michael Scheidell wrote: > I have a userland program that canpanic/reboot a freebsd 4.3 system. > Hardware is Intel isp1100 (mbx440 motherboard) 850MHZ pIII, 256mb ram, 640mb > swapfile > software is 'nessusd' (network security scanner) hits the ethernet port > pretty hard when running. > If I read the dumpdev right, it is crashing in the vm section of the kernel, > refrencing a structure that is not within kernel space? This appears to a duplicate of kern/32681, currently assigned to Dag-Erling Smorgrav . You can insert the code shown below as a work-around: > list > 677 > 678 if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) > 679 return (error); > 680 mp = ((struct vnode *)fp->f_data)->v_mount; if (mp == NULL) return (ENOENT); > 681 sp = &mp->mnt_stat; > 682 error = VFS_STATFS(mp, sp, p); > 683 if (error) > 684 return (error); Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message