Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 7 Mar 2003 16:49:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 7 Mar 2003 16:49:23 -0500 Received: from modemcable092.130-200-24.mtl.mc.videotron.ca ([24.200.130.92]:3093 "EHLO montezuma.mastecende.com") by vger.kernel.org with ESMTP id ; Fri, 7 Mar 2003 16:49:22 -0500 Date: Fri, 7 Mar 2003 16:57:38 -0500 (EST) From: Zwane Mwaikambo X-X-Sender: zwane@montezuma.mastecende.com To: Manfred Spraul cc: Andrew Morton , "" Subject: Re: Oops: 2.5.64 check_obj_poison for 'size-64' In-Reply-To: <3E68F552.1010807@colorfullife.com> Message-ID: References: <20030306222328.14b5929c.akpm@digeo.com> <20030306233517.68c922f9.akpm@digeo.com> <20030307010539.3c0a14a3.akpm@digeo.com> <3E68F552.1010807@colorfullife.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1078 Lines: 32 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/