NetBSD-Bugs archive

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

misc/44708: t_zpool:create test failure with RUMP_LOCKDEBUG=yes



>Number:         44708
>Category:       misc
>Synopsis:       t_zpool:create test failure (with RUMP_LOCKDEBUG=yes)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 11 13:15:00 +0000 2011
>Originator:     Nicolas Joly
>Release:        NetBSD 5.99.48
>Organization:
Insitut Pasteur
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 5.99.48 NetBSD 5.99.48 (LANFEUST) #19: 
Thu Mar 10 11:18:01 CET 2011 
njoly%lanfeust.sis.pasteur.fr@localhost:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/LANFEUST
 amd64
Architecture: x86_64
Machine: amd64
>Description:
The t_zpool:create test fails (with RUMP_LOCKDEBUG=yes libraries) ...

njoly@lanfeust [/tmp]> /usr/tests/fs/zfs/t_zpool create
Executing command [ rump_server -lrumpvfs -lrumpkern_solaris -lrumpfs_zfs 
-lrumpdev -lrumpdev_rnd -d key=/dk,hostpath=zfs.img,size=100m unix://zsuck ]
Fail: incorrect exit status: 3, expected: 0
stdout:
WARNING: module error: builtin module `zfs' failed to init
WARNING: ZFS on NetBSD is under development
mutex error: lockdebug_alloc: already initialized

lock address : 0x00007f7ff627e6b8 type     :     sleep/adaptive
initialized  : 0x00007f7ff6025cc8
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
current cpu  :                  0 last held:                  0
current lwp  : 0x00007f7ff7fe3000 last held: 000000000000000000
last locked  : 000000000000000000 unlocked : 000000000000000000


panic: LOCKDEBUG
rump kernel halting...
halted

stderr:

failed: atf-check failed; see the output of the test for details

njoly@lanfeust [/tmp]> gdb rump_server rump_server.core
Core was generated by `rump_server'.
Program terminated with signal 6, Aborted.
#0  0x00007f7ff68e878a in _lwp_kill () from /usr/lib/libc.so.12
#0  0x00007f7ff68e878a in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007f7ff68e80fe in abort () at 
/local/src/NetBSD/src/lib/libc/stdlib/abort.c:74
#2  0x00007f7ff7408555 in rumpuser_exit (rv=1) at 
/local/src/NetBSD/src/lib/librumpuser/rumpuser.c:541
#3  0x00007f7ff787b3ec in cpu_reboot (howto=<value optimized out>, 
bootstr=<value optimized out>)
    at 
/local/src/NetBSD/src/lib/librump/../../sys/rump/librump/rumpkern/rump.c:573
#4  0x00007f7ff785603e in panic (fmt=0x7f7ff7883953 "LOCKDEBUG")
    at /local/src/NetBSD/src/lib/librump/../../sys/rump/../kern/subr_prf.c:302
#5  0x00007f7ff784635d in lockdebug_abort1 (ld=0x7f7ff7acb3b0, s=0, 
func=0x7f7ff7fe3000 "", 
    msg=<value optimized out>, dopanic=true)
    at 
/local/src/NetBSD/src/lib/librump/../../sys/rump/../kern/subr_lockdebug.c:781
#6  0x00007f7ff7846986 in lockdebug_alloc (lock=0x7f7ff627e6b8, 
lo=0x7f7ff7aa32c0, 
    initaddr=140187564924104)
    at 
/local/src/NetBSD/src/lib/librump/../../sys/rump/../kern/subr_lockdebug.c:252
#7  0x00007f7ff6025cc8 in callb_init (dummy=0x0)
    at /local/src/NetBSD/src/sys/../external/cddl/osnet/sys/kern/callb.c:106
#8  0x00007f7ff6008b5a in rumpcompinitRUMP_COMPONENT_KERN_VFS ()
    at /local/src/NetBSD/src/sys/rump/kern/lib/libsolaris/component.c:49
#9  0x00007f7ff787b1b3 in rump_component_init_cb (rc=0x7f7ff627d260, type=7)
    at 
/local/src/NetBSD/src/lib/librump/../../sys/rump/librump/rumpkern/rump.c:670
#10 0x00007f7ff74069cf in rumpuser_dl_component_init (type=7, 
    compinit=0x7f7ff787b18e <rump_component_init_cb>)
    at /local/src/NetBSD/src/lib/librumpuser/rumpuser_dl.c:408
#11 0x00007f7ff787bc63 in rump__init (rump_version=<value optimized out>)
    at 
/local/src/NetBSD/src/lib/librump/../../sys/rump/librump/rumpkern/rump.c:420
#12 0x0000000000401b11 in main (argc=<value optimized out>, argv=0x7f7fffffdae8)
    at 
/local/src/NetBSD/src/usr.bin/rump_server/../rump_allserver/rump_allserver.c:331


>How-To-Repeat:
cd /tmp && /usr/tests/fs/zfs/t_zpool create
>Fix:



Home | Main Index | Thread Index | Old Index