Date: Mon, 31 Dec 2001 15:49:31 +0100 From: Stefan Esser <se@freebsd.org> To: Michael Scheidell <scheidell@secnap.net> Cc: freebsd-hackers@FreeBSD.ORG, Stefan Esser <se@freebsd.org> Subject: Re: userland program panics freebsd 4.3 Message-ID: <20011231154931.A2301@StefanEsser.FreeBSD.org> In-Reply-To: <002301c18802$ab06b460$2801010a@MIKELT> References: <002301c18802$ab06b460$2801010a@MIKELT>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2001-12-18 15:29 -0500, Michael Scheidell <scheidell@secnap.net> 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 <des@freebsd.org>.
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011231154931.A2301>
