Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2008 22:07:22 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        john@basicnets.co.uk
Cc:        Kostik Belousov <kostikbel@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: Fresh 7.0 Install: Fatal Trap 12 panic when put under load
Message-ID:  <487D037A.8060208@FreeBSD.org>
In-Reply-To: <20080715204703.1xshles8aogwksw4@mail.basicnets.co.uk>
References:  <854CADB9D95147CAB10BC35887A8E5DC@emea.hubersuhner.net>	<20080715102135.GA18082@eos.sc1.parodius.com>	<B23D0848E1304F719FEBDC3EDC54B914@emea.hubersuhner.net>	<487C8486.1040904@FreeBSD.org>	<20080715201915.8m5j3k1lw00k4gck@mail.basicnets.co.uk>	<20080715193321.GX17123@deviant.kiev.zoral.com.ua> <20080715204703.1xshles8aogwksw4@mail.basicnets.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487D037A.8060208>