NetBSD-Bugs archive

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

kern/44336: tests/fs/vfs/t_renamerace p2k_ffs_renamerace_dirs triggers KASSERT



>Number:         44336
>Category:       kern
>Synopsis:       tests/fs/vfs/t_renamerace p2k_ffs_renamerace_dirs triggers 
>KASSERT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 07 12:15:00 +0000 2011
>Originator:     Antti Kantee
>Release:        
>Organization:
>Environment:
>Description:
The rump_ffs component of the test occasionally dies, always in
the same place.  I'm not quite sure in which layer the problem lies.

panic: kernel diagnostic assertion "vp->v_size == ip->i_size" failed: file 
"/usr/allsrc/src/sys/rump/fs/lib/libffs/../../../../ufs/ufs/ufs_lookup.c", line 
1262
rump kernel halting...
halted
failed: child died

(gdb) print ip->i_size
$3 = 524
(gdb) print vp->v_size
$4 = 512
(gdb) bt
#0  0xbba000d7 in _lwp_kill () from /usr/lib/libc.so.12
#1  0xbba0008e in raise () from /usr/lib/libc.so.12
#2  0xbb9ff914 in abort () from /usr/lib/libc.so.12
#3  0xbba5ec6b in rumpuser_exit (rv=-1) at rumpuser.c:517
#4  0xbbaf9179 in cpu_reboot (howto=4, bootstr=0x0) at rump.c:521
#5  0xbbac7ea8 in panic (
    fmt=0xbbb01218 "kernel %sassertion \"%s\" failed: file \"%s\", line %d")
    at /usr/allsrc/src/sys/rump/librump/rumpkern/../../../kern/subr_prf.c:302
#6  0xbbaab6bc in kern_assert (t=0xbbbe4b94 "diagnostic ", 
    f=0xbbbe4b4c 
"/usr/allsrc/src/sys/rump/fs/lib/libffs/../../../../ufs/ufs/ufs_lookup.c", 
l=1262, e=0xbbbe4cbf "vp->v_size == ip->i_size")
    at 
/usr/allsrc/src/sys/rump/librump/rumpkern/../../../lib/libkern/kern_assert.c:50
#7  0xbbbb353f in ufs_blkatoff (vp=0xbb8d1f0c, offset=512, res=0xbfbfd8fc, 
    bpp=0xbfbfd900, modify=true)
    at 
/usr/allsrc/src/sys/rump/fs/lib/libffs/../../../../ufs/ufs/ufs_lookup.c:1262
#8  0xbbbb2480 in ufs_direnter (dvp=0xbb8d1f0c, tvp=0xbb8d1e60, 
    dirp=0xbb84fc60, cnp=0xbb91bb60, newdirbp=0xbb8dddc8)
    at 
/usr/allsrc/src/sys/rump/fs/lib/libffs/../../../../ufs/ufs/ufs_lookup.c:841
#9  0xbbbc165d in ufs_mkdir (v=0xbfbfd9e8)
    at 
/usr/allsrc/src/sys/rump/fs/lib/libffs/../../../../ufs/ufs/ufs_vnops.c:1457
#10 0xbbabf24a in VOP_MKDIR (dvp=0xbb8d1f0c, vpp=0xbfbfda78, cnp=0xbb91bb60, 
    vap=0xb9e64a00)
    at /usr/allsrc/src/sys/rump/librump/rumpkern/../../../kern/vnode_if.c:836
#11 0xbbb3ceb8 in RUMP_VOP_MKDIR (dvp=0xbb8d1f0c, vpp=0xbfbfda78, 
    cnp=0xbb91bb60, vap=0xb9e64a00) at rumpvnode_if.c:383
#12 0xbbb8bc3a in p2k_node_remove () from /usr/lib/libp2k.so.2
#13 0xbba4d4fe in puffs_dispatch_create ()
   from /home/pooka/src/curpuffs/libpuffs//libpuffs.so.2
#14 0xbba4d5dc in puffs__ml_dispatch ()
   from /home/pooka/src/curpuffs/libpuffs//libpuffs.so.2
#15 0xbba4bfa5 in puffs__fsframe_gotframe ()
   from /home/pooka/src/curpuffs/libpuffs//libpuffs.so.2
#16 0xbba4fdcc in puffs__framev_input ()
   from /home/pooka/src/curpuffs/libpuffs//libpuffs.so.2
#17 0xbba50e93 in puffs__theloop ()
   from /home/pooka/src/curpuffs/libpuffs//libpuffs.so.2
#18 0xbba507b7 in puffs_cc_continue ()
   from /home/pooka/src/curpuffs/libpuffs//libpuffs.so.2
#19 0xbba51d65 in puffs_mainloop ()
   from /home/pooka/src/curpuffs/libpuffs//libpuffs.so.2
#20 0xbbb8c806 in p2k_mainloop () from /usr/lib/libp2k.so.2
#21 0xbbb8cc3d in p2k_run_diskfs () from /usr/lib/libp2k.so.2
#22 0x08048f8b in main ()

>How-To-Repeat:
run test
>Fix:



Home | Main Index | Thread Index | Old Index