From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 20 00:30:51 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBFE437B401; Sun, 20 Apr 2003 00:30:51 -0700 (PDT) Received: from demos.su (mx.demos.su [194.87.0.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id E123343FD7; Sun, 20 Apr 2003 00:30:49 -0700 (PDT) (envelope-from mitya@fling-wing.demos.su) Received: from [194.87.5.69] (HELO fling-wing.demos.su) by demos.su (CommuniGate Pro SMTP 4.0.6/D4) with ESMTP-TLS id 67648376; Sun, 20 Apr 2003 11:30:48 +0400 Received: from fling-wing.demos.su (localhost [127.0.0.1]) by fling-wing.demos.su (8.12.9/8.12.6) with ESMTP id h3K7UmAu065610; Sun, 20 Apr 2003 11:30:48 +0400 (MSD) (envelope-from mitya@fling-wing.demos.su) Received: (from mitya@localhost) by fling-wing.demos.su (8.12.9/8.12.6/Submit) id h3K7UmOJ065609; Sun, 20 Apr 2003 11:30:48 +0400 (MSD) Date: Sun, 20 Apr 2003 11:30:47 +0400 From: Dmitry Sivachenko To: Don Lewis Message-ID: <20030420073047.GA64397@fling-wing.demos.su> References: <200304192156.h3JLuDXB019980@gw.catspoiler.org> <200304192215.h3JMFKXB020012@gw.catspoiler.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200304192215.h3JMFKXB020012@gw.catspoiler.org> WWW-Home-Page: http://mitya.pp.ru/ X-PGP-Key: http://mitya.pp.ru/mitya.asc User-Agent: Mutt/1.5.4i cc: hackers@FreeBSD.org Subject: Re: Repeated similar panics on -STABLE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 07:30:52 -0000 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
(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