From owner-freebsd-current@FreeBSD.ORG Wed Feb 1 08:48:20 2006 Return-Path: X-Original-To: freebsd-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 065B716A420 for ; Wed, 1 Feb 2006 08:48:20 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92D2C43D4C for ; Wed, 1 Feb 2006 08:48:10 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4C77751563; Wed, 1 Feb 2006 09:48:08 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id EF18F50A16; Wed, 1 Feb 2006 09:48:01 +0100 (CET) Date: Wed, 1 Feb 2006 09:47:56 +0100 From: Pawel Jakub Dawidek To: Kris Kennaway Message-ID: <20060201084756.GA764@garage.freebsd.pl> References: <20060131212209.GA870@troutmask.apl.washington.edu> <20060131215021.GG4395@haakonia.hitnet.RWTH-Aachen.DE> <20060131220828.GA2953@garage.freebsd.pl> <20060131224721.GA16866@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <20060131224721.GA16866@xor.obsecurity.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: panic: 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: Wed, 01 Feb 2006 08:48:20 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 31, 2006 at 05:47:21PM -0500, Kris Kennaway wrote: +> On Tue, Jan 31, 2006 at 11:11:20PM +0100, Pawel Jakub Dawidek wrote: +> > On Tue, Jan 31, 2006 at 10:50:21PM +0100, Christian Brueffer wrote: +> > +> On Tue, Jan 31, 2006 at 01:22:09PM -0800, Steve Kargl wrote: +> > +> > The system is a dual proc Tyan K8S Pro with 12 GB of memory. +> > +> > The kernel is UP. This was recorded by hand. I have the crash du= mp. +> > +> >=20 +> > +> > Memory modified after free 0xffffff02505e0c00(504) val=3Ddeadc0dd= @ +> > +> > 0xffffff02505e0cd0 +> > +> >=20 +> > +>=20 +> > +> For the record, I got this as well today. Here it was on my notebo= ok +> > +> at system shutdown. +> >=20 +> > Cool, so you have a chance to try memguard(9) and verify my patch to +> > manual page:) +> >=20 +> > --- memguard.9 30 Dec 2005 12:28:19 -0000 1.2 +> > +++ memguard.9 31 Jan 2006 22:06:04 -0000 +> > @@ -56,6 +56,9 @@ vm.memguard.desc=3D +> > .Ed +> > .Pp +> > Where memory_type is a short description of memory type to monitor. +> > +The short description of memory type is the second argument to +> > +.Xr MALLOC_DECLARE 9 , +> > +so one has to find it in the kernel source. +>=20 +> ITYM MALLOC_DEFINE? Yes, DEFINE. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD4HW7ForvXbEpPzQRAgc3AKCUfTLQHdBwei5COrN6NKGncjhg2gCfWcJB 1cMEmDBnIgyOIh9HNFkDefE= =CUVH -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--