Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2005 19:32:17 +0200
From:      Peter Holm <peter@holm.cc>
To:        Mike Silbersack <silby@silby.com>
Cc:        current@freebsd.org, Thierry Herbelot <thierry@herbelot.com>
Subject:   Re: Mbuf double-free guilty party detection patch
Message-ID:  <20050625173217.GA24306@peter.osted.lan>
In-Reply-To: <1437.64.215.82.94.1119717536.squirrel@webmail2.pair.com>
References:  <20050624212729.C537@odysseus.silby.com> <20050625133052.GA23599@peter.osted.lan> <1437.64.215.82.94.1119717536.squirrel@webmail2.pair.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 25, 2005 at 12:38:56PM -0400, Mike Silbersack wrote:
> > Didn't have much luck with your patch:
> >
> > x.123b:This memory last freed by: 0
> > x.123b-panic: Memory modified after free 0xc25a7100(256) val=0 @
> > 0xc25a7100
> > --
> > x.123c:This memory last freed by: 0
> > x.123c-panic: Memory modified after free 0xc1f60e00(256) val=0 @
> > 0xc1f60e00
> 
> Interesting on those two...
> 
> > x.123e:This memory last freed by: 0xc2fa6c00
> > x.123e-panic: Memory modified after free 0xc2fa6a00(256) val=c2fa6c00 @
> > 0xc2fa6a00
> >
> > - Peter
> 
> Now do a "x 0xc2fa6c00" in DDB to find out who was calling m_free.
> 

(kgdb) x/40x 0xc2fa6a00
0xc2fa6a00:   0xc2fa6c00    0x00000000    0xc24b1ae0    0x00000520
0xc2fa6a10:   0x00008003    0xdead0001    0x00000000    0x000005a8
0xc2fa6a20:   0xdeadc0de    0x00000000    0xdeadc0de    0x00000000
0xc2fa6a30:   0x00000000    0x00000000    0x00000000    0x00000800
0xc2fa6a40:   0xc24ad15c    0x00000003    0xdeadc0de    0xdeadc0de
0xc2fa6a50:   0xdeadc0de    0xdeadc0de    0xdeadc0de    0xdeadc0de
0xc2fa6a60:   0xdeadc0de    0xdeadc0de    0xdeadc0de    0xdeadc0de
0xc2fa6a70:   0xdeadc0de    0xdeadc0de    0xdeadc0de    0xdeadc0de
0xc2fa6a80:   0xdeadc0de    0xdeadc0de    0xdeadc0de    0xdeadc0de
0xc2fa6a90:   0xdeadc0de    0xdeadc0de    0xdeadc0de    0xdeadc0de

> Mike "Silby" Silbersack

-- 
Peter Holm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050625173217.GA24306>