From owner-freebsd-current@FreeBSD.ORG Wed Dec 24 13:22:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCE0816A4CE for ; Wed, 24 Dec 2003 13:22:43 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id E95B343D1D for ; Wed, 24 Dec 2003 13:22:42 -0800 (PST) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id DD5E65C7E5; Wed, 24 Dec 2003 13:22:42 -0800 (PST) Date: Wed, 24 Dec 2003 22:22:42 +0100 From: Maxime Henrion To: Ryan Sommers Message-ID: <20031224212242.GG2060@elvis.mu.org> References: <1072300571.662.9.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1072300571.662.9.camel@localhost> User-Agent: Mutt/1.4.1i cc: "Robin P. Blanchard" cc: current@freebsd.org Subject: Re: ffs_blkfree panic w/ sources from late last night (est) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2003 21:22:43 -0000 Ryan Sommers wrote: > On Wed, 2003-12-24 at 14:27, Robin P. Blanchard wrote: > > #3 0xc05661e1 in bremfreel (bp=0xc431eda0) at > > /usr/src/sys/kern/vfs_bio.c:647 > > #4 0xc0566115 in bremfree (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:629 > > This looks odd that bremfree(bp=0x0) was called and then > bremfreel(bp=0xc431eda0) was called. I must be missing something but > shouldn't the same value be passed to bremfreel()? > > -- snip from vfs_bio.c --- > void > bremfree(struct buf * bp) > { > mtx_lock(&bqlock); > bremfreel(bp); > mtx_unlock(&bqlock); > } > > void > bremfreel(struct buf * bp) > --- end snip --- Typical gdb fuckup :-). Cheers, Maxime