From owner-freebsd-stable@FreeBSD.ORG Tue Jul 15 20:07:22 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 043361065676 for ; Tue, 15 Jul 2008 20:07:22 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 826658FC2E; Tue, 15 Jul 2008 20:07:20 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <487D037A.8060208@FreeBSD.org> Date: Tue, 15 Jul 2008 22:07:22 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: john@basicnets.co.uk References: <854CADB9D95147CAB10BC35887A8E5DC@emea.hubersuhner.net> <20080715102135.GA18082@eos.sc1.parodius.com> <487C8486.1040904@FreeBSD.org> <20080715201915.8m5j3k1lw00k4gck@mail.basicnets.co.uk> <20080715193321.GX17123@deviant.kiev.zoral.com.ua> <20080715204703.1xshles8aogwksw4@mail.basicnets.co.uk> In-Reply-To: <20080715204703.1xshles8aogwksw4@mail.basicnets.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , freebsd-stable@freebsd.org Subject: Re: Fresh 7.0 Install: Fatal Trap 12 panic when put under load X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2008 20:07:22 -0000 john@basicnets.co.uk wrote: > > > >> #9 0xffffffff8067d3ee in uma_zalloc_arg (zone=0xffffff00bfed07e0, >>> udata=0x0, >>> flags=-256) at /usr/src/sys/vm/uma_core.c:1835 >> From the frame #9, please do >> p *zone >> I am esp. interested in the value of the uz_ctor member. >> >> It seems that it becomes corrupted, it value should be 0, as this seems >> to be ffs inode zone. I suspect that gdb would show 0x6400000000 >> instead. > > I am afraid that you may need to spell out each step for me :-( > > (kgdb) p *zone > No symbol "zone" in current context. > (kgdb) list *0xffffffff8067d3ee > 0xffffffff8067d3ee is in uma_zalloc_arg (/usr/src/sys/vm/uma_core.c:1835). > 1830 ("uma_zalloc: Bucket pointer > mangled.")); > 1831 cache->uc_allocs++; > 1832 critical_exit(); > 1833 #ifdef INVARIANTS > 1834 ZONE_LOCK(zone); > 1835 uma_dbg_alloc(zone, NULL, item); > 1836 ZONE_UNLOCK(zone); > 1837 #endif > 1838 if (zone->uz_ctor != NULL) { > 1839 if (zone->uz_ctor(item, > zone->uz_keg->uk_size, > > Is this that you were looking for? Are you sure that is the same source tree you are running? The 7.0-RELEASE source has the zone->uz_ctor on line 1835, which is consistent with your backtrace. Kris