Re: panic: Memory modified after free



On Tue, Jan 31, 2006 at 10:50:21PM +0100, Christian Brueffer wrote:
+> On Tue, Jan 31, 2006 at 01:22:09PM -0800, Steve Kargl wrote:
+> > The system is a dual proc Tyan K8S Pro with 12 GB of memory.
+> > The kernel is UP. This was recorded by hand. I have the crash dump.
+> >
+> > Memory modified after free 0xffffff02505e0c00(504) val=deadc0dd @
+> > 0xffffff02505e0cd0
+> >
+>
+> For the record, I got this as well today. Here it was on my notebook
+> at system shutdown.

Cool, so you have a chance to try memguard(9) and verify my patch to
manual page:)

--- memguard.9 30 Dec 2005 12:28:19 -0000 1.2
+++ memguard.9 31 Jan 2006 22:06:04 -0000
@@ -56,6 +56,9 @@ vm.memguard.desc=<memory_type>
.Ed
.Pp
Where memory_type is a short description of memory type to monitor.
+The short description of memory type is the second argument to
+.Xr MALLOC_DECLARE 9 ,
+so one has to find it in the kernel source.
.Pp
To use memguard for memory type defined in a kernel module, one has to
set
.Va vm.memguard.desc

--
Pawel Jakub Dawidek http://www.wheel.pl
pjd@xxxxxxxxxxx http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!

Attachment:pgpJ03ubgf7rw.pgp
Description: PGP signature



Relevant Pages

  • Re: webcams, again
    ... But you should need gspcav1 kernel module: ... can't load font arial/8 ...
    (Fedora)
  • Re: webcams, again
    ... But you should need gspcav1 kernel module: ... can't load font arial/8 ...
    (Fedora)
  • Re: Kernel panic on PowerEdge 1950 under certain stress load
    ... We got this bt after setting kernel dump stuff up. ... recorded in the message buffer saved to the kernel crash dump. ... Addgene, a better way to share plasmids ...
    (freebsd-hackers)
  • Re: webcams, again
    ... But you should need gspcav1 kernel module: ... can't load font arial/8 ...
    (Fedora)
  • How to properly install Radeon drivers?
    ... I downloaded FireGL drivers from ati.com, and followed README, which says ... *** Trying to install a precompiled kernel module. ... Tailored kernel module for fglrx not present in your system. ...
    (alt.os.linux.suse)