Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2005 16:09:56 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Andrey Chernov <ache@FreeBSD.org>, silby@silby.com, current@FreeBSD.org
Subject:   Re: panic #2: Memory modified after free
Message-ID:  <20050624120956.GA72903@cell.sick.ru>
In-Reply-To: <20050624101951.GA840@nagual.pp.ru>
References:  <20050624101951.GA840@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 24, 2005 at 02:19:51PM +0400, Andrey Chernov wrote:
A> Got another one.
A> 
A> Memory modified after free 0xc24a0000(256) val=c122b200 @ 0xc24a0000
A> 
A> (kgdb) bt
A> #0  doadump () at pcpu.h:165
A> #1  0xc049c602 in boot (howto=260) at ../../../kern/kern_shutdown.c:397
A> #2  0xc049c93d in panic (
A>     fmt=0xc05f6bb2 "Memory modified after free %p(%d) val=%x @ %p\n")
A>     at ../../../kern/kern_shutdown.c:553
A> #3  0xc057b616 in trash_ctor (mem=0xc24a0000, size=0, arg=0x0, flags=0)
A>     at ../../../vm/uma_dbg.c:72
A> #4  0xc057b6a8 in trash_fini (mem=0x0, size=0) at 
A> ../../../vm/uma_dbg.c:117
A> #5  0xc05780d6 in zone_drain (zone=0xc0c4dae0) at 
A> ../../../vm/uma_core.c:725
A> #6  0xc05793b5 in zone_foreach (zfunc=0xc0577f30 <zone_drain>)
A>     at ../../../vm/uma_core.c:1478
A> #7  0xc057ae37 in uma_reclaim () at ../../../vm/uma_core.c:2649
A> #8  0xc058e189 in vm_pageout_scan (pass=0) at ../../../vm/vm_pageout.c:674
A> #9  0xc058f53b in vm_pageout () at ../../../vm/vm_pageout.c:1476
A> #10 0xc04848f1 in fork_exit (callout=0xc058f220 <vm_pageout>, arg=0x0,
A>     frame=0x0) at ../../../kern/kern_fork.c:789
A> #11 0xc05b8dac in fork_trampoline () at ../../../i386/i386/exception.s:208

What is the zone?

kgdb> frame 5
kgdb> p *zone

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



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