ffs_blkfree panic w/ sources from late last night (est)

Maxime Henrion mux at freebsd.org
Wed Dec 24 13:22:43 PST 2003


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


More information about the freebsd-current mailing list