Repeated similar panics on -STABLE

Dmitry Sivachenko mitya at cavia.pp.ru
Sun Apr 20 00:30:52 PDT 2003


On Sat, Apr 19, 2003 at 03:15:20PM -0700, Don Lewis wrote:
> Dmitry,
> 
> If you still have the core and kernel files, I'd appreciate it if you
> could point gdb at them and print the following stuff from the malloc()
> stack frame.
> 
> 	indx
> 	&bucket[0]
> 	kbp
> 	*kpb
> 	allocsize
> 	npg
> 	cp
> 	freep
> 	*freep
> 	va
> 

In backtrace I posted malloc was called twice.  Since I am not sure
which one you are interested in, I am sending these values for both.


(kgdb) up 6
#6  0xc015daff in malloc (size=128, type=0xc02aca60, flags=2)
    at /mnt/se3/releng_4/src/sys/kern/kern_malloc.c:243
243             va = kbp->kb_next;
(kgdb) p indx
$1 = 7
(kgdb) p &bucket[0]
$2 = (struct kmembuckets *) 0xc02bcee0
(kgdb) p kbp
$3 = (struct kmembuckets *) 0x5cdd8000
(kgdb) p *kpb
No symbol "kpb" in current context.
(kgdb) p *kbp
Cannot access memory at address 0x5cdd8000.
(kgdb) p allocsize
$4 = -730301488
(kgdb) p npg
$5 = 0
(kgdb) p cp
$6 = 0x0
(kgdb) p freep
$7 = (struct freelist *) 0x0
(kgdb) p va
$8 = 0x5cdd8000 <Address 0x5cdd8000 out of bounds>
(kgdb)


(kgdb) up 16
#22 0xc015daff in malloc (size=72, type=0xc029fee0, flags=0)
    at /mnt/se3/releng_4/src/sys/kern/kern_malloc.c:243
243             va = kbp->kb_next;
(kgdb) p indx
$9 = 7
(kgdb) p &bucket[0]
$10 = (struct kmembuckets *) 0xc02bcee0
(kgdb) p kbp
$11 = (struct kmembuckets *) 0x5cdd8000
(kgdb) p *kbp
Cannot access memory at address 0x5cdd8000.
(kgdb) p allocsize
$12 = -349729108
(kgdb) p npg
$13 = 0
(kgdb) p cp
$14 = 0x0
(kgdb) p freep
$15 = (struct freelist *) 0x0
(kgdb) p va
$16 = 0x5cdd8000 <Address 0x5cdd8000 out of bounds>



More information about the freebsd-hackers mailing list