Date: Thu, 20 Jan 2005 19:31:52 -0500 From: Bosko Milekic <bmilekic@technokratis.com> To: Scott Long <scottl@freebsd.org> Cc: Bosko Milekic <bmilekic@freebsd.org> Subject: Re: Memory modified after free - Jan20 -CURRENT Message-ID: <20050121003152.GA44244@technokratis.com> In-Reply-To: <41F00697.7010000@freebsd.org> References: <20050120140300.F1832@bahre.achedra.org> <41F00697.7010000@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <floppy drive controller> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121003152.GA44244>
