Re: Mbuf double-free guilty party detection patch

From: Peter Holm <peter_at_holm.cc>
Date: Sat, 25 Jun 2005 19:32:17 +0200
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 _at_
> > 0xc25a7100
> > --
> > x.123c:This memory last freed by: 0
> > x.123c-panic: Memory modified after free 0xc1f60e00(256) val=0 _at_
> > 0xc1f60e00
> 
> Interesting on those two...
> 
> > x.123e:This memory last freed by: 0xc2fa6c00
> > x.123e-panic: Memory modified after free 0xc2fa6a00(256) val=c2fa6c00 _at_
> > 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
Received on Sat Jun 25 2005 - 15:32:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:37 UTC