From owner-freebsd-current@FreeBSD.ORG Fri Jun 24 12:10:01 2005 Return-Path: X-Original-To: current@FreeBSD.org 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 C8E9C16A41F; Fri, 24 Jun 2005 12:10:01 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C9FA43D48; Fri, 24 Jun 2005 12:10:01 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (root@cell.sick.ru [217.72.144.68]) by relay.bestcom.ru (8.13.1/8.12.9) with ESMTP id j5OC9v4p016826 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 24 Jun 2005 16:09:58 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.1/8.12.8) with ESMTP id j5OC9v8n072957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 24 Jun 2005 16:09:57 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.1/8.13.1/Submit) id j5OC9vpH072956; Fri, 24 Jun 2005 16:09:57 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 24 Jun 2005 16:09:56 +0400 From: Gleb Smirnoff To: Andrey Chernov , silby@silby.com, current@FreeBSD.org Message-ID: <20050624120956.GA72903@cell.sick.ru> References: <20050624101951.GA840@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20050624101951.GA840@nagual.pp.ru> User-Agent: Mutt/1.5.6i X-Virus-Scanned: ClamAV version devel-20050125, clamav-milter version 0.80ff on relay.bestcom.ru X-Virus-Status: Clean Cc: Subject: Re: panic #2: Memory modified after free X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 24 Jun 2005 12:10:02 -0000 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 ) 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 , 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