From owner-freebsd-current@FreeBSD.ORG Tue Jan 31 22:11:40 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 334C116A420 for ; Tue, 31 Jan 2006 22:11:40 +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 D674B43D58 for ; Tue, 31 Jan 2006 22:11:33 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 25F765175B; Tue, 31 Jan 2006 23:11:32 +0100 (CET) Received: from localhost (dlm194.neoplus.adsl.tpnet.pl [83.24.42.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id A42B650A79; Tue, 31 Jan 2006 23:11:25 +0100 (CET) Date: Tue, 31 Jan 2006 23:11:20 +0100 From: Pawel Jakub Dawidek To: Christian Brueffer Message-ID: <20060131220828.GA2953@garage.freebsd.pl> References: <20060131212209.GA870@troutmask.apl.washington.edu> <20060131215021.GG4395@haakonia.hitnet.RWTH-Aachen.DE> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xgyAXRrhYN0wYx8y" Content-Disposition: inline In-Reply-To: <20060131215021.GG4395@haakonia.hitnet.RWTH-Aachen.DE> 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=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no 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: Tue, 31 Jan 2006 22:11:40 -0000 --xgyAXRrhYN0wYx8y Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 dump. +> >=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 notebook +> at system shutdown. Cool, so you have a chance to try memguard(9) and verify my patch to manual page:) --- 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. .Pp To use memguard for memory type defined in a kernel module, one has to set .Va vm.memguard.desc --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --xgyAXRrhYN0wYx8y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD3+CHForvXbEpPzQRAmpnAKDSk0ALSIvFEbaJQCjtCTK78I6VMACg8wnY tOOF7vr97hhpFm1phuq6xHo= =LWO+ -----END PGP SIGNATURE----- --xgyAXRrhYN0wYx8y--