witness: lock order reversal: 1st 0xffff8000299eee08 &cq->cq_mtx (&cq->cq_mtx) 2nd 0xffffffff83977d90 &sched_lock (&sched_lock) lock order [1] &cq->cq_mtx (&cq->cq_mtx) -> [2] &sched_lock (&sched_lock) #0 mtx_enter+0x4a sys/kern/kern_lock.c:260 #1 sleep_setup+0xc6 sys/kern/kern_synch.c:302 #2 msleep_nsec+0x10b sys/kern/kern_synch.c:217 #3 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 #4 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #4 dtclose+0x109 sys/dev/dt/dt_dev.c:232 #5 spec_close+0x466 sys/kern/spec_vnops.c:-1 #6 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 #7 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #7 vn_closefile+0x12b sys/kern/vfs_vnops.c:615 #8 fdrop+0x121 sys/kern/kern_descrip.c:1280 #9 closef+0x192 sys/kern/kern_descrip.c:1264 #10 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #11 Xsyscall+0x128 lock order [2] &sched_lock (&sched_lock) -> [1] &cq->cq_mtx (&cq->cq_mtx) #0 mtx_enter+0x4a sys/kern/kern_lock.c:260 #1 clockintr_cancel+0x2f sys/kern/kern_clockintr.c:323 #2 mi_switch+0x16f sys/kern/sched_bsd.c:378 #3 sleep_finish+0x2d8 sys/kern/kern_synch.c:367 #4 sys_futex+0xa99 futex_wait sys/kern/sys_futex.c:301 [inline] #4 sys_futex+0xa99 sys/kern/sys_futex.c:151 #5 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #6 Xsyscall+0x128 Stopped at db_enter+0x25: addq $0x8,%rsp ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 witness_checkorder(ffffffff83977d90,9,0) at witness_checkorder+0x10b9 sys/kern/subr_witness.c:-1 mtx_enter(ffffffff83977d80) at mtx_enter+0x4a sys/kern/kern_lock.c:260 sleep_setup(ffff8000299eee58,220,ffffffff833ee810) at sleep_setup+0xc6 sys/kern/kern_synch.c:302 msleep_nsec(ffff8000299eee58,ffff8000299eedf8,220,ffffffff833ee810,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff800000b58000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff800032008d18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800032008d18) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff800039c39c00) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8060db0600,81,fffffd80097fbdd0,ffff800032008d18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805e4599d0,ffff800032008d18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805e4599d0,ffff800032008d18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805e4599d0,ffff800032008d18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805e4599d0,ffff800032008d18) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff800039c39e60) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800039c39e60) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x21bdea7e940, count: -14 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800039c39910 rbx 0 rdx 0 rcx 0xffff800032008d18 rax 0xffffffff83827ff0 cpu_info_full_primary+0x1ff0 r8 0xffff800039c397f0 r9 0x8080808080808080 r10 0x84843d7089f69c99 r11 0xffb9544e237417eb r12 0xfffffd8003ef7dc0 r13 0xfffffd80046a2330 r14 0x3 r15 0xffffffff833dca1d substchar+0x43e9 rip 0xffffffff811b9065 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800039c39900 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=169008 pid=19953 tcnt=3 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c458028,0xffff800032009788 process=0xffff800035c25880 user=0xffff800039c34000, vmspace=0xfffffd80743ee028 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 19953 376387 6843 60928 3 0x90 fsleep syz-executor *19953 169008 6843 60928 7 0x4000010 syz-executor 19953 519537 6843 60928 3 0x4000090 fsleep syz-executor 86364 301469 10453 0 3 0x80 fsleep syz-executor 86364 86977 10453 0 3 0x4000080 kqread syz-executor 7151 62345 79088 0 3 0x80 fsleep syz-executor 7151 104285 79088 0 3 0x4000080 netcon syz-executor 37766 242561 18826 0 3 0x80 fsleep syz-executor 37766 405956 18826 0 3 0x4000080 kqread syz-executor 61589 335464 26847 0 3 0x80 fsleep syz-executor 61589 116324 26847 0 3 0x4000080 sbwait syz-executor 27361 287056 0 0 3 0x14200 acct acct 49507 157823 61829 0 3 0x2 biowait syz-executor 50914 470778 1 0 3 0x100083 ttyin getty 19602 266718 0 0 3 0x14200 bored sosplice 26847 281777 61829 0 3 0x82 nanoslp syz-executor 10453 37068 61829 0 3 0x82 nanoslp syz-executor 18826 75278 61829 0 3 0x82 nanoslp syz-executor 68558 159494 61829 0 3 0x2 biowait syz-executor 6843 372259 61829 0 3 0x82 nanoslp syz-executor 79088 232991 61829 0 3 0x82 nanoslp syz-executor 86607 170617 61829 0 3 0x82 nanoslp syz-executor 61829 115670 17079 0 3 0x82 kqread syz-executor 17079 279275 93457 0 3 0x10008a sigsusp ksh 93457 377439 12279 0 3 0x98 kqread sshd-session 12279 68273 39261 0 3 0x92 kqread sshd-session 39261 29580 1 0 3 0x88 kqread sshd 44172 397711 95624 74 3 0x1100092 bpf pflogd 95624 482795 1 0 3 0x80 sbwait pflogd 12690 175727 65308 73 3 0x1100090 kqread syslogd 65308 384854 1 0 3 0x100082 sbwait syslogd 89728 225655 1 0 3 0x100080 kqread resolvd 27009 13148 87717 77 3 0x100092 kqread dhcpleased 17132 221726 87717 77 3 0x100092 kqread dhcpleased 87717 429117 1 0 3 0x80 kqread dhcpleased 70339 223629 0 0 3 0x14200 bored smr 26450 13661 0 0 3 0x14200 pgzero zerothread 91803 291741 0 0 3 0x14200 aiodoned aiodoned 51961 171664 0 0 3 0x14200 syncer update 86910 143417 0 0 3 0x14200 cleaner cleaner 4478 465059 0 0 3 0x14200 reaper reaper 61360 72293 0 0 3 0x14200 pgdaemon pagedaemon 84200 399946 0 0 3 0x14200 bored viomb 26809 481675 0 0 3 0x40014200 acpi0 acpi0 1656 359994 0 0 7 0x40014200 idle1 38806 423680 0 0 3 0x14200 bored softnet7 62589 284470 0 0 3 0x14200 bored softnet6 20866 239000 0 0 3 0x14200 bored softnet5 63604 308631 0 0 3 0x14200 bored softnet4 44515 391616 0 0 3 0x14200 bored softnet3 60153 8168 0 0 3 0x14200 bored softnet2 85506 314184 0 0 3 0x14200 bored softnet1 94125 107973 0 0 3 0x14200 bored softnet0 59204 407590 0 0 3 0x14200 bored systqmp 6481 136501 0 0 3 0x14200 bored systq 49497 160570 0 0 3 0x14200 tmoslp softclockmp 4771 427417 0 0 3 0x40014200 tmoslp softclock 65952 362263 0 0 3 0x40014200 idle0 1 25413 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299eee08) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter_try+0x1ad sys/kern/kern_lock.c:311 #2 mtx_enter+0x62 sys/kern/kern_lock.c:261 #3 clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 #4 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 #5 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #5 dtclose+0x109 sys/dev/dt/dt_dev.c:232 #6 spec_close+0x466 sys/kern/spec_vnops.c:-1 #7 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 #8 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #8 vn_closefile+0x12b sys/kern/vfs_vnops.c:615 #9 fdrop+0x121 sys/kern/kern_descrip.c:1280 #10 closef+0x192 sys/kern/kern_descrip.c:1264 #11 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #11 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #12 Xsyscall+0x128 Process 19953 (syz-executor) thread 0xffff800032008d18 (169008) exclusive rwlock dtlk r = 0 (0xffffffff8378a488) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 dt_ioctl_record_stop+0x2e sys/dev/dt/dt_dev.c:565 #3 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #3 dtclose+0x109 sys/dev/dt/dt_dev.c:232 #4 spec_close+0x466 sys/kern/spec_vnops.c:-1 #5 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 #6 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #6 vn_closefile+0x12b sys/kern/vfs_vnops.c:615 #7 fdrop+0x121 sys/kern/kern_descrip.c:1280 #8 closef+0x192 sys/kern/kern_descrip.c:1264 #9 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #9 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #10 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8394fd20) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 vn_closefile+0x41 sys/kern/vfs_vnops.c:608 #2 fdrop+0x121 sys/kern/kern_descrip.c:1280 #3 closef+0x192 sys/kern/kern_descrip.c:1264 #4 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #4 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #5 Xsyscall+0x128 exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299eee08) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter_try+0x1ad sys/kern/kern_lock.c:311 #2 mtx_enter+0x62 sys/kern/kern_lock.c:261 #3 clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 #4 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 #5 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #5 dtclose+0x109 sys/dev/dt/dt_dev.c:232 #6 spec_close+0x466 sys/kern/spec_vnops.c:-1 #7 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 #8 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #8 vn_closefile+0x12b sys/kern/vfs_vnops.c:615 #9 fdrop+0x121 sys/kern/kern_descrip.c:1280 #10 closef+0x192 sys/kern/kern_descrip.c:1264 #11 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #11 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #12 Xsyscall+0x128 Process 49507 (syz-executor) thread 0xffff80003c459cb0 (157823) exclusive rrwlock inode r = 0 (0xfffffd806f560ea8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline] #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:159 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232 #6 ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3113 #10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e377ca8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1 #6 namei+0x7ca sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3098 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 Process 68558 (syz-executor) thread 0xffff8000ffff3c98 (159494) exclusive rrwlock inode r = 0 (0xfffffd806e37cef0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vget+0x2a2 sys/kern/vfs_subr.c:693 #6 ufs_ihashget+0x185 sys/ufs/ufs/ufs_ihash.c:98 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1203 #8 ufs_lookup+0x1a36 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x93a sys/kern/vfs_lookup.c:566 #11 namei+0x7ca sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868 #13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806ce491f8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1 #6 namei+0x7ca sys/kern/vfs_lookup.c:250 #7 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10244 11068K 11413K 166960K 12007 0 pcb 17 14K 16K 166960K 173 0 rtable 203 7K 7K 166960K 373 0 pf 35 17K 21K 166960K 91 0 ifaddr 44 7K 8K 166960K 72 0 ifgroup 55 2K 2K 166960K 100 0 sysctl 3 1K 9K 166960K 9 0 counters 68 36K 37K 166960K 112 0 ioctlops 0 0K 4K 166960K 1634 0 iov 0 0K 24K 166960K 66 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1372 86K 87K 166960K 1802 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 53 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 93K 166960K 653 0 sigio 0 0K 0K 166960K 18 0 proc 72 115K 164K 166960K 626 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 144 0 in_multi 99 7K 7K 166960K 145 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 0 0K 1K 166960K 454 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 234 177K 190K 166960K 7970 0 UVM aobj 11 2K 2K 166960K 13 0 pinsyscall 41 82K 102K 166960K 1791 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 12 0K 2K 166960K 45 0 temp 59 8649K 8723K 166960K 28415 0 kqueue 16 26K 28K 166960K 135 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 76 0 73 1 0 1 1 0 8 0 rtentry 176 130 0 42 5 0 5 5 0 8 0 unpcb 144 654 0 637 7 3 4 6 0 8 3 syncache 336 3 0 3 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpcb 736 211 0 203 7 5 2 7 0 8 1 arp 128 17 0 6 1 0 1 1 0 8 0 inpcb 328 687 0 673 7 4 3 7 0 8 1 nd6 144 23 0 3 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 16 0 16 2 1 1 1 0 8 1 pppxif 1504 4 0 4 1 0 1 1 0 8 1 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pffrag 232 5 0 2 1 0 1 1 0 482 0 pffrnode 88 5 0 2 1 0 1 1 0 8 0 pffrent 40 8 0 4 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 38 0 13 1 0 1 1 0 8 0 pfstkey 128 39 0 14 2 0 2 2 0 8 0 pfstate 384 39 0 14 4 0 4 4 0 8 0 pfrule 1344 24 0 18 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 577 0 126 30 1 29 30 0 8 0 art_table 40 579 0 126 5 0 5 5 0 8 0 art_node 32 130 0 53 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 8 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 50 0 41 1 0 1 1 0 8 0 shmpl 112 10 0 2 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2575 0 1065 96 0 96 96 0 8 0 ffsino 296 2575 0 1065 117 0 117 117 0 8 0 nchpl 144 3482 0 1791 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 uvmvnodes 80 2878 0 0 59 0 59 59 0 8 0 vnodes 216 2878 0 0 160 0 160 160 0 8 0 namei 1024 12016 0 12015 2 0 2 2 0 8 1 percpumem 16 71 0 22 1 0 1 1 0 8 0 kstatmem 264 56 0 30 3 0 3 3 0 8 1 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 20334 0 20332 11 8 3 8 1 8 2 plimitpl 152 211 0 194 1 0 1 1 0 8 0 sigapl 424 967 0 913 7 0 7 7 0 8 0 knotepl 120 318 0 0 10 0 10 10 0 8 0 kqueuepl 224 211 0 199 2 0 2 2 0 8 1 pipepl 344 157 0 129 4 0 4 4 0 8 1 fdescpl 528 941 0 911 3 0 3 3 0 8 0 filepl 160 5513 0 5282 18 5 13 18 0 8 2 lockfpl 104 303 0 298 1 0 1 1 0 8 0 lockfspl 48 140 0 135 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 39 0 22 1 0 1 1 0 8 0 ucredpl 104 831 0 817 2 1 1 2 0 8 0 zombiepl 144 1179 0 1178 2 1 1 1 0 8 0 processpl 1248 967 0 913 5 0 5 5 0 8 0 procpl 664 1881 0 1821 7 0 7 7 0 8 1 sosppl 168 6 0 6 1 0 1 1 0 8 1 sockpl 752 1438 0 1404 31 20 11 24 0 8 7 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 123 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 1159 0 0 73 0 73 73 0 8 0 bufpl 280 8371 0 2228 440 0 440 440 0 8 0 anonpl 32 9989 0 0 81 0 81 81 0 246 0 amapchunkpl 152 24791 0 24333 30 4 26 27 0 158 6 amappl16 200 3616 0 3585 23 5 18 22 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 119 0 107 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 1612 0 1582 3 1 2 2 0 8 0 amappl11 160 54 0 39 1 0 1 1 0 8 0 amappl10 152 7 0 7 3 2 1 1 0 8 1 amappl9 144 259 0 259 1 1 0 1 0 8 0 amappl8 136 29 0 25 1 0 1 1 0 8 0 amappl7 128 111 0 98 1 0 1 1 0 8 0 amappl6 120 185 0 181 1 0 1 1 0 8 0 amappl5 112 125 0 116 1 0 1 1 0 8 0 amappl4 104 306 0 285 1 0 1 1 0 8 0 amappl3 96 4779 0 4673 4 0 4 4 0 8 0 amappl2 88 664 0 600 2 0 2 2 0 8 0 amappl1 80 10496 0 9903 14 1 13 14 0 8 0 amappl 88 7162 0 7005 5 0 5 5 0 92 0 dma16384 16384 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 9 0 9 2 2 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 12 0 2 1 0 1 1 0 8 0 uaddrrnd 24 941 0 911 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 941 0 911 1 0 1 1 0 8 0 vmmpekpl 168 8971 0 8935 3 0 3 3 0 8 0 vmmpepl 168 64908 0 62976 109 0 109 109 0 357 15 vmsppl 488 940 0 911 6 1 5 5 0 8 0 rwobjpl 80 22739 0 18930 83 0 83 83 0 8 0 pdppl 4096 1889 0 1822 103 32 71 85 0 8 4 pvpl 32 19509 0 0 159 1 158 158 0 265 0 pmappl 256 940 0 911 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 346 0 41 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 witness_checkorder(ffffffff83977d90,9,0) at witness_checkorder+0x10b9 sys/kern/subr_witness.c:-1 mtx_enter(ffffffff83977d80) at mtx_enter+0x4a sys/kern/kern_lock.c:260 sleep_setup(ffff8000299eee58,220,ffffffff833ee810) at sleep_setup+0xc6 sys/kern/kern_synch.c:302 msleep_nsec(ffff8000299eee58,ffff8000299eedf8,220,ffffffff833ee810,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff800000b58000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff800032008d18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800032008d18) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff800039c39c00) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8060db0600,81,fffffd80097fbdd0,ffff800032008d18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805e4599d0,ffff800032008d18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805e4599d0,ffff800032008d18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805e4599d0,ffff800032008d18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805e4599d0,ffff800032008d18) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff800039c39e60) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800039c39e60) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x21bdea7e940, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_const_cmp4(0,2) at __sanitizer_cov_trace_const_cmp4+0x3a sys/dev/kcov.c:-1 mtx_enter(ffff8000299eedf8) at mtx_enter+0xaf sys/kern/kern_lock.c:264 clockintr_dispatch(ffff80002a2500e0) at clockintr_dispatch+0x3b1 sys/kern/kern_clockintr.c:215 lapic_clockintr(0,0) at lapic_clockintr+0x51 sys/arch/amd64/amd64/lapic.c:484 Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -10