Subject: kern/13261: kern_malloc.c:_malloc() occasionally complains about "Data modified on freelist"
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@weird.com>
List: netbsd-bugs
Date: 06/20/2001 15:26:10
>Number:         13261
>Category:       kern
>Synopsis:       kern_malloc.c:_malloc() occasionally complains about "Data modified on freelist"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 20 12:24:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        2001/06/19
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:

System: NetBSD proven 1.5W NetBSD 1.5W (PROVEN) #2: Tue Jun 19 21:48:56 EDT 2001 woods@proven:/work/woods/NetBSD-src/sys/arch/i386/compile/PROVEN i386
Architecture: i386
Machine: i386

>Description:

	I've been getting warnings like this for some time from 1.5T
	(2001/03/24 sources), but I just booted a kernel built from
	sources updated yesterday (2001/06/19) and quite soon after
	starting up and being used it spit out another on the console:

    Data modified on freelist: word 3 of object 0xc0aeb400 size 292 previous type key mgmt (0x2 != 0xdeadbeef)

	Here's a sample of previous complaints from 1.5T:

    Data modified on freelist: word 3 of object 0xc0b0b600 size 308 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0f3d400 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0b28400 size 384 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0bdf000 size 308 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0c45600 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0c01000 size 504 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0c80600 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0d7ce00 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0c45200 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0e6d200 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0f3dc00 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0eda600 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0b91200 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0ad5400 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0c19800 size 308 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0b27400 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0b2a000 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0f94200 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0b1f200 size 292 previous type key mgmt (0x2 != 0xdeadbeef)
    Data modified on freelist: word 3 of object 0xc0aeb400 size 292 previous type key mgmt (0x2 != 0xdeadbeef)

	So far there've been no crashes though -- uptime was 30 days
	before the new kernel just now, and before the last unscheduled
	power outage the 1.5T kernel ran fine since I built it.

	Any other information can be provided on request....

>How-To-Repeat:

	unknown

>Fix:

	unknown
>Release-Note:
>Audit-Trail:
>Unformatted: