Re: memory corruption in recent -current?

From: John-Mark Gurney <gurney_j_at_resnet.uoregon.edu>
Date: Thu, 26 Jan 2006 00:20:08 -0800
John-Mark Gurney wrote this message on Sun, Jan 22, 2006 at 11:41 -0800:
> 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=1c _at_ 0xc2fb1050
> panic: Most recently used by ioctlops
> or:
> Memory modified after free 0xc2ba2b90(12) val=1c _at_ 0xc2ba2b90
> panic: Most recently used by Unitno
> 
> 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..

Well, turns out to be a bug in my driver.. the allocation scheme must
of changed causing it more likely to hit the buffer I had overwritten..

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Thu Jan 26 2006 - 07:21:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC