Bug #1583
openpanic: assertion: cursor->trans->sync_lock_refs > 0 in hammer_recover_cursor
Description
Happened when I started 8 mirror-stream at the same time.
(kgdb) bt
#0 _get_mycpu () at ./machine/thread.h:83
#1 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:657
#2 0xc019ba89 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:378
#3 0xc019bdf5 in panic (fmt=0xc032b90c "assertion: %s in %s")
at /usr/src/sys/kern/kern_shutdown.c:813
#4 0xc0299c7f in hammer_recover_cursor (cursor=0xe84826b4)
at /usr/src/sys/vfs/hammer/hammer_cursor.c:591
#5 0xc02a5139 in hammer_ioc_mirror_write (trans=0xe8482a50,
ip=0xea5ce6d0, mirror=0xe51a6f88)
at /usr/src/sys/vfs/hammer/hammer_mirror.c:465
#6 0xc02a37b8 in hammer_ioctl (ip=0xea5ce6d0, com=3234097160,
data=0xe51a6f88 "", fflag=1,
cred=0xc6787308) at /usr/src/sys/vfs/hammer/hammer_ioctl.c:142
#7 0xc02b65e4 in hammer_vop_ioctl (ap=0xe8482aac) at
/usr/src/sys/vfs/hammer/hammer_vnops.c:2305
#8 0xc0203107 in vop_ioctl (ops=0xe4795b70, vp=0xea5f22e8,
command=3234097160,
data=0xe51a6f88 "", fflag=1, cred=0xc6787308, msg=0xe8482cf0)
at /usr/src/sys/kern/vfs_vopops.c:389
#9 0xc0202b75 in vn_ioctl (fp=0xe4585910, com=3234097160,
data=0xe51a6f88 "", ucred=0xc6787308,
msg=0xe8482cf0) at /usr/src/sys/kern/vfs_vnops.c:938
#10 0xc01c3c1b in fo_ioctl (fd=3, com=3234097160,
uspc_data=0xbfbff954 <Address 0xbfbff954 out of bounds>, map=0x0,
msg=0xe8482cf0)
at /usr/src/sys/sys/file2.h:88
#11 mapped_ioctl (fd=3, com=3234097160, uspc_data=0xbfbff954 <Address
0xbfbff954 out of bounds>,
map=0x0, msg=0xe8482cf0) at /usr/src/sys/kern/sys_generic.c:697
#12 0xc01c3ccb in sys_ioctl (uap=0xe8482cf0) at
/usr/src/sys/kern/sys_generic.c:521
#13 0xc03088ea in syscall2 (frame=0xe8482d40) at
/usr/src/sys/platform/pc32/i386/trap.c:1339
#14 0xc02f3356 in Xint0x80_syscall () at
/usr/src/sys/platform/pc32/i386/exception.s:876
kernel+core nr. 13 on leaf:~corecode/crash
cheers
simon