Date: Sun, 20 Apr 2003 11:30:47 +0400 From: Dmitry Sivachenko <mitya@cavia.pp.ru> To: Don Lewis <truckman@FreeBSD.org> Cc: hackers@FreeBSD.org Subject: Re: Repeated similar panics on -STABLE Message-ID: <20030420073047.GA64397@fling-wing.demos.su> In-Reply-To: <200304192215.h3JMFKXB020012@gw.catspoiler.org> References: <200304192156.h3JLuDXB019980@gw.catspoiler.org> <200304192215.h3JMFKXB020012@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030420073047.GA64397>