В Пнд, 17.05.2004, в 16:04, Kevin A. Pieckiel пишет:
> On Fri, May 14, 2004 at 11:33:49AM -0400, John Baldwin wrote:
> 
> > Do 'l *0xc0519a64' in gdb to get the line that it actually faulted on.  Since 
> > this is likely a NULL pointer deref that might help you fix the bug or at 
> > least find out its cause.
> 
> Wow.  That's interesting to me.  I didn't expect this:
> 
> (kgdb) l *0xc0519a64
> 0xc0519a64 is in quotactl (/usr/src/sys/kern/vfs_syscalls.c:206).
> 201             NDFREE(&nd, NDF_ONLY_PNBUF);
> 202             error = vn_start_write(nd.ni_vp, &mp, V_WAIT | PCATCH);
> 203             vrele(nd.ni_vp);
> 204             if (error)
> 205                     return (error);
> 206             error = 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
=====
  Modified files:
    sys/kern             vfs_syscalls.c 
  Log:
  Always use nd.ni_vp->v_mount as an argument for VFS_QUOTACTL(), just
like
  in RELENG_4.
=====
-- 
Alex Lyashkov <[EMAIL PROTECTED]>
PSoft

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to