Subject: Re: kern_malloc error
To: Adam Hamsik <haaaad@mac.com>
From: Adam Hamsik <haaaad@mac.com>
List: tech-kern
Date: 06/20/2007 23:37:06
On Jun 20, 2007, at 11:19 PM, Adam Hamsik wrote:

> Hi folks
>
>
> I'm trying to use netbsd 4-99-19 under the parallels desktop but I  
> have this some problems with this. When I try to make pkgsrc/devel/ 
> gmake I got panic with non diagnostic kernel or this error message  
> with DIAGNOSTIC kernel:
>
> Data modified on freelist: word 0 of object 0xc0faa8b0 size 8  
> previous type bar (0x61732e74 != 0xdeadbeef)
> Data modified on freelist: word 0 of object 0xc0faa730 size 8  
> previous type bar (0x61732e74 != 0xdeadbeef)
> Data modified on freelist: word 0 of object 0xc0faa420 size 8  
> previous type bar (0x61732e74 != 0xdeadbeef)
> Data modified on freelist: word 0 of object 0xc0faa2d0 size 8  
> previous type bar (0x61732e74 != 0xdeadbeef)
> Data modified on freelist: word 0 of object 0xc0faa0a0 size 8  
> previous type bar (0x61732e74 != 0xdeadbeef)
> Data modified on freelist: word 0 of object 0xc0faa5c0 size 8  
> previous type bar (0x74736275 != 0xdeadbeef)
>
> these lines are printed from kern/kern_malloc.c
> 477 			continue;
>     478 		printf("Data modified on freelist: "
>     479 		    "word %ld of object %p size %ld previous type %s "
>     480 		    "(0x%x != 0x%x)\n",
>     481 		    (long)(lp - (uint32_t *)va), va, size,
>     482 		    "bar", *lp, WEIRD_ADDR);
>
>
> $ uname -a
> NetBSD  4.99.19 NetBSD 4.99.19 (GENERIC_DIAGNOSTIC) #0: Thu May 17  
> 18:59:21 PDT 2007  builds@wb35:/home/builds/ab/HEAD/ 
> i386/200705170002Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/ 
> compile/GENERIC_DIAGNOSTIC i386
>
> I have crash dump and I will upload it to web when I will have some  
> time.
>
>
>
$ uname -a
NetBSD  4.99.20 NetBSD 4.99.20 (GENERIC_DIAGNOSTIC) #0: Mon Jun 18  
02:43:56 PDT 2007  builds@wb35:/home/builds/ab/HEAD/ 
i386/200706170002Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/ 
GENERIC_DIAGNOSTIC i386

works just fine sorry for the noise:)