lkml.org 
[lkml]   [2003]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Oops: 2.5.64 check_obj_poison for 'size-64'
On Fri, 7 Mar 2003, Manfred Spraul wrote:

> Andrew Morton wrote:
>
> >This is a bad, bad bug. How are you triggering it?
> >
> >Manfred, would it be possible to add builtin_return_address(0) into each
> >object, so we can find out who did the initial kmalloc (or kfree, even)?
> >
> >It'll probably require CONFIG_FRAME_POINTER.
> >
> >
> No, CONFIG_FRAME_POINTER is only needed for __builtin_return_address(x,
> x>0). _address(0) always works.
>
> I've attached a patch that records the last kfree address and prints
> that if a poison check fails.
>
> Zwane, could you try to reproduce the bug?

I can almost always witness it given approx 30minutes of runtime, however
i still don't know how to trigger it by on demand. I'll apply your patch
and get back to you when it triggers next.

Zwane
--
function.linuxpower.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.068 / U:6.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site