Fresh 7.0 Install: Fatal Trap 12 panic when put under load

Kris Kennaway kris at FreeBSD.org
Tue Jul 15 20:07:22 UTC 2008


john at 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



More information about the freebsd-stable mailing list