Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Strange test failures



On Mon, Apr 18, 2011 at 04:41:51PM +0200, Martin Husemann wrote:
> On Mon, Apr 18, 2011 at 04:38:06PM +0200, haad wrote:
> > Can we get backtraces from those coredumps are they somehow similar ?
> 
> They are on the test page, but w/o symbols.

Here is some more gdb output:

#5  0x0000000042774d04 in percpu_cpu_swap (p1=0x42909118, 
    p2=0xffffffffffff9788)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_percpu.c:93
93              KASSERT(ci == curcpu());
(gdb) list
88      {
89              struct cpu_info * const ci = p1;
90              percpu_cpu_t * const newpcc = p2;
91              percpu_cpu_t * const pcc = cpu_percpu(ci);
92      
93              KASSERT(ci == curcpu());
(gdb) up
#6  0x0000000042774e64 in percpu_cpu_enlarge (size=2064)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_percpu.c:147
147                             percpu_cpu_swap(ci, &pcc);
(gdb) list
142                     percpu_cpu_t pcc;
143     
144                     pcc.pcc_data = kmem_alloc(size, KM_SLEEP); /* XXX 
cacheline */
145                     pcc.pcc_size = size;
146                     if (!mp_online) {
147                             percpu_cpu_swap(ci, &pcc);
148                     } else {
149                             uint64_t where;
150     
151                             where = xc_unicast(0, percpu_cpu_swap, ci, 
&pcc, ci);
#7  0x0000000042775084 in percpu_backend_alloc (dummy=0x0, size=2048, 
    resultsize=0xffffffffffff9a08, vmflags=8193)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_percpu.c:184
184             percpu_cpu_enlarge(nextoff);
(gdb) list
179             mutex_enter(&percpu_allocation_lock);
180             offset = percpu_nextoff;
181             percpu_nextoff = nextoff = percpu_nextoff + size;
182             mutex_exit(&percpu_allocation_lock);
183     
184             percpu_cpu_enlarge(nextoff);
185     
186             *resultsize = size;
187             return (vmem_addr_t)offset;
188     }
(gdb) up
#8  0x000000004276a3ec in vmem_import (vm=0x4332b000, size=1024, flags=8193)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_vmem.c:645
645             addr = (*vm->vm_allocfn)(vm->vm_source, size, &size, flags);
(gdb) list
640     
641             if (vm->vm_allocfn == NULL) {
642                     return EINVAL;
643             }
644     
645             addr = (*vm->vm_allocfn)(vm->vm_source, size, &size, flags);
646             if (addr == VMEM_ADDR_NULL) {
647                     return ENOMEM;
648             }
649     

And the full backtrace:
#0  0x00000000430604c4 in abort () from /usr/lib/libc.so.12
#1  0x0000000042a09d78 in rumpuser_exit () from /usr/lib/librumpuser.so.0
#2  0x00000000427dd77c in cpu_reboot (howto=4, bootstr=0x0)
    at /usr/src/sys/rump/librump/rumpkern/rump.c:568
#3  0x0000000042789d70 in panic (
    fmt=0x427e2df0 "kernel %sassertion \"%s\" failed: file \"%s\", line %d")
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_prf.c:302
#4  0x00000000427529c0 in kern_assert (t=0x427e58e0 "diagnostic ", 
    f=0x427e58f0 
"/usr/src/sys/rump/librump/rumpkern/../../../kern/subr_percpu.c", l=93, 
e=0x427e5948 "ci == curcpu()")
    at /usr/src/sys/rump/librump/rumpkern/../../../lib/libkern/kern_assert.c:50
#5  0x0000000042774d04 in percpu_cpu_swap (p1=0x42909118, 
    p2=0xffffffffffff9788)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_percpu.c:93
#6  0x0000000042774e64 in percpu_cpu_enlarge (size=2064)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_percpu.c:147
#7  0x0000000042775084 in percpu_backend_alloc (dummy=0x0, size=2048, 
    resultsize=0xffffffffffff9a08, vmflags=8193)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_percpu.c:184
#8  0x000000004276a3ec in vmem_import (vm=0x4332b000, size=1024, flags=8193)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_vmem.c:645
#9  0x000000004276bc58 in vmem_xalloc (vm=0x4332b000, size0=1024, align=16, 
    phase=0, nocross=0, minaddr=0, maxaddr=0, flags=8193)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_vmem.c:973
#10 0x000000004276b39c in vmem_alloc (vm=0x4332b000, size=1024, flags=8193)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_vmem.c:878
#11 0x00000000427752ac in percpu_alloc (size=1024)
    at /usr/src/sys/rump/librump/rumpkern/../../../kern/subr_percpu.c:260
#12 0x000000004231d3cc in mbinit ()
    at /usr/src/sys/rump/librump/rumpnet/../../../kern/uipc_mbuf.c:216
#13 0x0000000042325aac in rump_net_init ()
    at /usr/src/sys/rump/librump/rumpnet/rump_net.c:54
#14 0x00000000427dcf38 in rump__init (rump_version=1)
    at /usr/src/sys/rump/librump/rumpkern/rump.c:412
#15 0x0000000000110c10 in ffslog_fstest_newfs ()
#16 0x00000000001097dc in atfu_ffs_holywrite_body ()
#17 0x00000000001210cc in atf_tc_run ()
#18 0x000000000011fca0 in atf_tp_main ()



Home | Main Index | Thread Index | Old Index