From owner-freebsd-current@FreeBSD.ORG Fri Jan 21 00:31:57 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FE9716A4CE; Fri, 21 Jan 2005 00:31:57 +0000 (GMT) Received: from stephanie.unixdaemons.com (stephanie.unixdaemons.com [67.18.111.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA36D43D48; Fri, 21 Jan 2005 00:31:56 +0000 (GMT) (envelope-from bmilekic@technokratis.com) Received: from stephanie.unixdaemons.com (bmilekic@localhost.unixdaemons.com [127.0.0.1])j0L0Vqig045736; Thu, 20 Jan 2005 19:31:52 -0500 (EST) Received: (from bmilekic@localhost) by stephanie.unixdaemons.com (8.13.2/8.12.1/Submit) id j0L0Vq3x045735; Thu, 20 Jan 2005 19:31:52 -0500 (EST) (envelope-from bmilekic@technokratis.com) X-Authentication-Warning: stephanie.unixdaemons.com: bmilekic set sender to bmilekic@technokratis.com using -f Date: Thu, 20 Jan 2005 19:31:52 -0500 From: Bosko Milekic To: Scott Long Message-ID: <20050121003152.GA44244@technokratis.com> References: <20050120140300.F1832@bahre.achedra.org> <41F00697.7010000@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41F00697.7010000@freebsd.org> User-Agent: Mutt/1.4.2.1i cc: "Ketrien I. Saihr-Kenchedra" cc: current@freebsd.org cc: Bosko Milekic Subject: Re: Memory modified after free - Jan20 -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 00:31:57 -0000 http://bmilekic.unixdaemons.com/MemGuard.diff put options DEBUG_MEMGUARD in your kernel config, and look at the DEBUG_MEMGUARD ifdefs in malloc(), free(), and realloc() inside kern/kern_malloc.c; the short of it is that you'll have to manually modify those ifdef'd portions of code referring to M_SUBPROC in the diff to M_WHATEVER. I'm going to commit a version of this soon. Don't run the patch unless you know what you're doing. Later, Bosko. On Thu, Jan 20, 2005 at 12:29:27PM -0700, Scott Long wrote: > Ketrien I. Saihr-Kenchedra wrote: > > >Screen transcription attached. In a nutshell; > > > >fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 > >device_attach: fdc0 returned 6 > >sio0: <16550A-compatible COM port> port0x3f8-0x3ff irq 4 flags 0x10 on > >acpi0 > >sio0: type 16550A > >Memory modified after free 0xc1cde200(252) val=0 @ 0xc1cde228 > >panic: Most recently used by none > > > >System was fine with Jan16 srcs, fdc returning 6 is new. Looks like a uma > >problem to me, but odd enough that I'm honestly not sure. Need ips(4) for > >dumpdev, so no dump again. (Argh.) > > > > I'm seeing this quite often too. I'm hoping that Bosko will make his > memguard changes available soon as I'm sure it could quickly be tracked > down with them. > > Scott > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Bosko Milekic bmilekic@technokratis.com bmilekic@FreeBSD.org