Date: Mon, 17 May 2004 17:42:45 +0300 From: Alex Lyashkov <shadow@psoft.net> To: "Kevin A. Pieckiel" <pieckiel+freebsd-hackers@sdf.lonestar.org> Cc: John Baldwin <jhb@FreeBSD.org> Subject: Re: 5.2.1 panic Message-ID: <1084804965.7881.2.camel@berloga.shadowland> In-Reply-To: <20040517130456.GA21383@SDF.LONESTAR.ORG> References: <20040513171659.GA14716@SDF.LONESTAR.ORG> <200405141133.49502.jhb@FreeBSD.org> <20040517130456.GA21383@SDF.LONESTAR.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =F0=CE=C4, 17.05.2004, =D7 16:04, Kevin A. Pieckiel =D0=C9=DB=C5=D4: > On Fri, May 14, 2004 at 11:33:49AM -0400, John Baldwin wrote: >=20 > > Do 'l *0xc0519a64' in gdb to get the line that it actually faulted on. = Since=20 > > this is likely a NULL pointer deref that might help you fix the bug or = at=20 > > least find out its cause. >=20 > Wow. That's interesting to me. I didn't expect this: >=20 > (kgdb) l *0xc0519a64 > 0xc0519a64 is in quotactl (/usr/src/sys/kern/vfs_syscalls.c:206). > 201 NDFREE(&nd, NDF_ONLY_PNBUF); > 202 error =3D vn_start_write(nd.ni_vp, &mp, V_WAIT | PCATCH); > 203 vrele(nd.ni_vp); > 204 if (error) > 205 return (error); > 206 error =3D VFS_QUOTACTL(mp, uap->cmd, uap->uid, uap->arg, = td); > 207 vn_finished_write(mp); > 208 return (error); > 209 } > 210 Please update you source. It`s bug already fixed at src/sys/kern/vfs_syscalls.c v. 1.345 =3D=3D=3D=3D=3D Modified files: sys/kern vfs_syscalls.c=20 Log: Always use nd.ni_vp->v_mount as an argument for VFS_QUOTACTL(), just like in RELENG_4. =3D=3D=3D=3D=3D --=20 Alex Lyashkov <shadow@psoft.net> PSoft
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1084804965.7881.2.camel>