Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 16:45:22 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-current@freebsd.org, pjd@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: panic: Memory modified after free
Message-ID:  <20060131214522.GA15709@xor.obsecurity.org>
In-Reply-To: <20060131213834.GA1080@troutmask.apl.washington.edu>
References:  <20060131212209.GA870@troutmask.apl.washington.edu> <20060131213332.GA15250@xor.obsecurity.org> <20060131213834.GA1080@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 31, 2006 at 01:38:34PM -0800, Steve Kargl wrote:
> On Tue, Jan 31, 2006 at 04:33:32PM -0500, Kris Kennaway 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
> > > panic: Most recently used by DEVFS1
> >=20
> > Set up memguard to watch this malloc type in order to obtain useful
> > debugging.
> >=20
>=20
> OK, I've read the memguard manpage and it says to add
>=20
> vm.memguard.desc=3D<memory_type>
>=20
> to /boot/loader.conf.  Where to I get info for what <memory_type>
> actually means?

Look at the relevant MALLOC_DEFINE() in the source, it's the second
field (see malloc(9)).  This should probably be clarified in the
memguard manpage.

Kris
--J2SCkAp4GZ/dPZZf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD39pyWry0BWjoQKURAqhSAJ4/G+wGt6Do8QGU2HPU8wWeQ+9E3gCgpMnP
tmjWnzH/IM3/cHH6wp9AqTI=
=TWvN
-----END PGP SIGNATURE-----

--J2SCkAp4GZ/dPZZf--



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