From owner-freebsd-hackers@FreeBSD.ORG Mon May 17 06:04:59 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60CA616A4CE; Mon, 17 May 2004 06:04:59 -0700 (PDT) Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id D22E743D31; Mon, 17 May 2004 06:04:58 -0700 (PDT) (envelope-from pieckiel@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:pieckiel@sverige.freeshell.org [192.94.73.4]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i4HD4va6003116; Mon, 17 May 2004 13:04:57 GMT Received: (from pieckiel@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i4HD4vix025661; Mon, 17 May 2004 09:04:57 -0400 (EDT) Date: Mon, 17 May 2004 09:04:57 -0400 From: "Kevin A. Pieckiel" To: John Baldwin Message-ID: <20040517130456.GA21383@SDF.LONESTAR.ORG> Mail-Followup-To: John Baldwin , freebsd-hackers@FreeBSD.org References: <20040513171659.GA14716@SDF.LONESTAR.ORG> <200405141133.49502.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200405141133.49502.jhb@FreeBSD.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-hackers@FreeBSD.org Subject: Re: 5.2.1 panic X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2004 13:04:59 -0000 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