Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2006 15:12:33 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        current@FreeBSD.org
Subject:   Re: memory corruption in recent -current?
Message-ID:  <20060122201233.GA59053@xor.obsecurity.org>
In-Reply-To: <20060122194129.GZ69162@funkthat.com>
References:  <20060122194129.GZ69162@funkthat.com>

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

--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jan 22, 2006 at 11:41:29AM -0800, John-Mark Gurney wrote:
> I've been working on a BT878 audio driver (first crack is available
> in p4), and with a recent -current (you can sync to my -current as
> it's the one in my workspace, jmg_carbon), I get memory corruption:
> Memory modified after free 0xc2fb1050(12) val=3D1c @ 0xc2fb1050
> panic: Most recently used by ioctlops
> or:
> Memory modified after free 0xc2ba2b90(12) val=3D1c @ 0xc2ba2b90
> panic: Most recently used by Unitno
>=20
> I went back to a kerenl that is pre-Dec 21st, and I haven't had a single
> panic yet.  I will admit I haven't done a builtworld between the these
> two (the last buildworld matched with the pre-Dec 21st kernel)...  I am
> using kld modules for my testing, so I was building modules against an
> old world, but I don't know of anything that has changed that would
> cause problems..
>=20
> Anyone else seeing this?

Use memguard to track down the cause.

Kris

--mP3DRpeJDSE+ciuQ
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFD0+cwWry0BWjoQKURArF1AKDw0PDjCugWDWu+g/NdB0QratpWGgCdHi/L
r/WiJfqnoCNlpgvHOAcv34o=
=NVRM
-----END PGP SIGNATURE-----

--mP3DRpeJDSE+ciuQ--



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