witness: lock order reversal: 1st 0xffffffff8382fe08 &cq->cq_mtx (&cq->cq_mtx) 2nd 0xffffffff8398da88 &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 ast+0x15a mi_ast sys/sys/syscall_mi.h:252 [inline] #3 ast+0x15a sys/arch/amd64/amd64/trap.c:712 #4 Xsyscall+0x156 Stopped at db_enter+0x25: addq $0x8,%rsp ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 witness_checkorder(ffffffff8398da88,9,0) at witness_checkorder+0x10b9 sys/kern/subr_witness.c:-1 mtx_enter(ffffffff8398da78) at mtx_enter+0x4a sys/kern/kern_lock.c:260 sleep_setup(ffffffff8382fe58,220,ffffffff833f6be7) at sleep_setup+0xc6 sys/kern/kern_synch.c:302 msleep_nsec(ffffffff8382fe58,ffffffff8382fdf8,220,ffffffff833f6be7,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff80000148d000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80003c44ca88) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c44ca88) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff800039c153a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806285ab48,81,fffffd80097fb6e8,ffff80003c44ca88) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80695cbe08,ffff80003c44ca88) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80695cbe08,ffff80003c44ca88) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80695cbe08,ffff80003c44ca88) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80695cbe08,ffff80003c44ca88) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff800039c15600) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800039c15600) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9ec217eff50, count: -14 ddb{1}> show registers rdi 0 rsi 0x80000 acpi_pdirpa+0x6be71 rbp 0xffff800039c150b0 rbx 0 rdx 0xffff800001453d40 rcx 0xffff80003c44ca88 rax 0x7ffff acpi_pdirpa+0x6be70 r8 0xffff800039c14f90 r9 0x8080808080808080 r10 0xa27531b7652b9da9 r11 0x54db821c9e2d4bbf r12 0xfffffd8003efcdc0 r13 0xfffffd80046eaa28 r14 0x3 r15 0xffffffff833e434f substchar+0xfe6d rip 0xffffffff81cb5af5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800039c150a0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=277608 pid=89889 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=63, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c44d4e8,0xffff80003c44d790 process=0xffff80003c026240 user=0xffff800039c10000, vmspace=0xfffffd806afd69a8 estcpu=26, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 87385 4351 0 0 7 0x14200 sosplice 97772 181195 19120 0 2 0 syz-executor 56316 442480 75111 0 2 0 syz-executor 89889 16141 76583 0 2 0 syz-executor *89889 277608 76583 0 7 0x4000000 syz-executor 82020 401070 59115 0 2 0 syz-executor 82020 111474 59115 0 3 0x4000080 fsleep syz-executor 82020 243494 59115 0 3 0x4000080 fsleep syz-executor 38519 393713 96384 60928 3 0x3010 suspend syz-executor 38519 371384 96384 60928 3 0x4081010 biowait syz-executor 38519 133198 96384 60928 3 0x4081010 inode syz-executor 38519 305105 96384 60928 3 0x4081010 inode syz-executor 58317 372088 11527 0 3 0x3000 suspend syz-executor 58317 129123 11527 0 3 0x4081000 biowait syz-executor 59115 169766 10340 0 3 0x82 nanoslp syz-executor 19120 459089 10340 0 2 0x2 syz-executor 75111 445136 10340 0 2 0x2 syz-executor 74345 170352 10340 0 3 0x82 nanoslp syz-executor 11527 322761 10340 0 3 0x82 wait syz-executor 96384 340898 10340 0 3 0x82 wait syz-executor 76583 394020 10340 0 3 0x82 nanoslp syz-executor 39698 401535 10340 0 3 0x2 biowait syz-executor 10340 433650 72561 0 3 0x82 kqread syz-executor 72561 523338 66010 0 3 0x10008a sigsusp ksh 66010 428315 12399 0 3 0x98 kqread sshd-session 12399 452353 25077 0 3 0x92 kqread sshd-session 34014 450237 1 0 3 0x100083 ttyin getty 25077 15167 1 0 3 0x88 kqread sshd 70600 394651 91045 74 3 0x1100092 bpf pflogd 91045 482855 1 0 3 0x80 sbwait pflogd 21194 473838 16495 73 3 0x1100090 kqread syslogd 16495 384264 1 0 3 0x100082 sbwait syslogd 49738 317116 1 0 3 0x100080 kqread resolvd 14130 27936 18741 77 3 0x100092 kqread dhcpleased 96420 183372 18741 77 3 0x100092 kqread dhcpleased 18741 207092 1 0 3 0x80 kqread dhcpleased 74428 8262 0 0 3 0x14200 bored smr 61965 380752 0 0 3 0x14200 pgzero zerothread 84964 278802 0 0 3 0x14200 aiodoned aiodoned 41512 151621 0 0 3 0x14200 syncer update 19095 437316 0 0 3 0x14200 cleaner cleaner 90457 371083 0 0 3 0x14200 reaper reaper 52534 276822 0 0 3 0x14200 pgdaemon pagedaemon 34743 398216 0 0 3 0x14200 bored viomb 75970 261577 0 0 3 0x40014200 acpi0 acpi0 31411 474388 0 0 3 0x40014200 idle1 77447 317546 0 0 3 0x14200 bored softnet7 26298 275084 0 0 3 0x14200 bored softnet6 46800 379526 0 0 3 0x14200 bored softnet5 51821 451165 0 0 3 0x14200 bored softnet4 71539 286517 0 0 3 0x14200 bored softnet3 76005 97506 0 0 3 0x14200 bored softnet2 86203 211853 0 0 3 0x14200 bored softnet1 20111 261195 0 0 3 0x14200 bored softnet0 39160 413656 0 0 3 0x14200 smrbar systqmp 90506 178483 0 0 3 0x14200 bored systq 66035 488738 0 0 3 0x14200 tmoslp softclockmp 83487 2672 0 0 3 0x40014200 tmoslp softclock 72157 414487 0 0 3 0x40014200 idle0 1 266504 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex sosplice r = 0 (0xffff8000014c2328) #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 msleep_nsec+0x177 sys/kern/kern_synch.c:222 #4 taskq_next_work+0x8e sys/kern/kern_task.c:399 #5 taskq_thread+0xe3 sys/kern/kern_task.c:439 #6 proc_trampoline+0x10 CPU 1: exclusive mutex &cq->cq_mtx r = 0 (0xffffffff8382fe08) #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 89889 (syz-executor) thread 0xffff80003c44ca88 (277608) exclusive rwlock dtlk r = 0 (0xffffffff83864e88) #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 (0xffffffff838d8168) #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 (0xffffffff8382fe08) #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 38519 (syz-executor) thread 0xffff800035408550 (371384) exclusive rrwlock inode r = 0 (0xfffffd806af9e0e0) #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 vn_write+0x18f sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x242 sys/kern/sys_generic.c:380 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 Process 38519 (syz-executor) thread 0xffff80003c44d250 (133198) exclusive rrwlock inode r = 0 (0xfffffd806af9e208) #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 domknodat+0xb4 sys/kern/vfs_syscalls.c:1592 #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 58317 (syz-executor) thread 0xffff800035409a10 (129123) exclusive rrwlock inode r = 0 (0xfffffd806af9e6a8) #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 vn_write+0x18f sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x242 sys/kern/sys_generic.c:380 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 Process 39698 (syz-executor) thread 0xffff80002a2bc018 (401535) exclusive rrwlock inode r = 0 (0xfffffd806bce5eb8) #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 (0xfffffd806ccc0b30) #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 39160 (systqmp) thread 0xffff8000ffffe530 (413656) shared rwlock systqmp r = 0 (0xffffffff8386acf8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10209 11109K 11245K 166960K 11361 0 pcb 17 12K 12K 166960K 34 0 rtable 187 5K 6K 166960K 271 0 pf 36 18K 19K 166960K 53 0 ifaddr 43 7K 8K 166960K 49 0 ifgroup 55 2K 2K 166960K 64 0 sysctl 1 1K 9K 166960K 5 0 counters 68 36K 37K 166960K 76 0 ioctlops 0 0K 4K 166960K 1565 0 iov 0 0K 12K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1347 85K 85K 166960K 1444 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 209 0 sigio 0 0K 0K 166960K 1 0 proc 72 115K 180K 166960K 544 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 19 0 in_multi 96 7K 7K 166960K 101 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 385 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 235 175K 183K 166960K 3751 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 42 84K 102K 166960K 1327 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 8 0 NDP 12 0K 2K 166960K 30 0 temp 38 8638K 8714K 166960K 4901 0 kqueue 13 20K 28K 166960K 35 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 46 0 43 1 0 1 1 0 8 0 rtentry 176 97 0 13 5 0 5 5 0 8 0 unpcb 144 71 0 48 2 0 2 2 0 8 1 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 41 0 34 2 0 2 2 0 8 1 arp 128 10 0 0 1 0 1 1 0 8 0 inpcb 328 140 0 127 2 0 2 2 0 8 0 nd6 144 16 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 2 0 2 1 0 1 1 0 8 1 pppxif 1504 2 0 2 1 0 1 1 0 8 1 pfstscr 40 3 0 3 1 0 1 1 0 8 1 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 1 0 0 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 pfstitem 24 20 0 0 1 0 1 1 0 8 0 pfstkey 128 24 0 4 1 0 1 1 0 8 0 pfstate 384 22 0 2 3 0 3 3 0 8 1 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 442 0 47 28 0 28 28 0 8 1 art_table 40 443 0 47 5 0 5 5 0 8 0 art_node 32 97 0 13 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 5 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1715 0 199 95 0 95 95 0 8 0 ffsino 296 1715 0 199 117 0 117 117 0 8 0 nchpl 144 2012 0 321 63 0 63 63 0 8 0 uvmvnodes 80 1839 0 0 38 0 38 38 0 8 0 vnodes 216 1839 0 0 103 0 103 103 0 8 0 namei 1024 6179 0 6176 1 0 1 1 0 8 0 percpumem 16 53 0 4 1 0 1 1 0 8 0 kstatmem 264 30 0 4 2 0 2 2 0 8 0 scxspl 216 10524 0 10521 3 2 1 2 1 8 0 plimitpl 152 40 0 18 1 0 1 1 0 8 0 sigapl 424 524 0 470 7 0 7 7 0 8 0 knotepl 120 336 0 0 11 0 11 11 0 8 0 kqueuepl 224 37 0 28 1 0 1 1 0 8 0 pipepl 344 110 0 82 3 0 3 3 0 8 0 fdescpl 528 501 0 470 3 0 3 3 0 8 0 filepl 160 1925 0 1692 12 0 12 12 0 8 2 lockfpl 104 46 0 44 1 0 1 1 0 8 0 lockfspl 48 20 0 18 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 13 1 0 1 1 0 8 0 ucredpl 104 237 0 223 1 0 1 1 0 8 0 zombiepl 144 473 0 470 1 0 1 1 0 8 0 processpl 1248 524 0 470 5 0 5 5 0 8 0 procpl 664 653 0 592 6 0 6 6 0 8 0 sosppl 168 2 0 0 1 0 1 1 0 8 0 sockpl 752 263 0 223 5 0 5 5 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 115 0 0 15 0 15 15 0 8 0 mcl2k 2048 18 0 0 3 0 3 3 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 1136 0 0 71 0 71 71 0 8 0 bufpl 280 4799 0 122 335 0 335 335 0 8 0 anonpl 32 10004 0 0 81 0 81 81 0 246 0 amapchunkpl 152 11004 0 10474 33 3 30 30 0 158 4 amappl16 200 2470 0 2137 18 0 18 18 0 8 0 amappl15 192 7 0 6 1 0 1 1 0 8 0 amappl14 184 121 0 109 1 0 1 1 0 8 0 amappl13 176 45 0 45 1 1 0 1 0 8 0 amappl12 168 1164 0 1135 3 1 2 2 0 8 0 amappl11 160 69 0 54 1 0 1 1 0 8 0 amappl10 152 2 0 2 1 1 0 1 0 8 0 amappl9 144 282 0 282 1 1 0 1 0 8 0 amappl8 136 20 0 18 1 0 1 1 0 8 0 amappl7 128 112 0 100 1 0 1 1 0 8 0 amappl6 120 181 0 177 1 0 1 1 0 8 0 amappl5 112 135 0 126 1 0 1 1 0 8 0 amappl4 104 298 0 279 1 0 1 1 0 8 0 amappl3 96 1754 0 1650 5 1 4 4 0 8 0 amappl2 88 647 0 588 2 0 2 2 0 8 0 amappl1 80 8562 0 7961 14 0 14 14 0 8 0 amappl 88 3032 0 2871 5 0 5 5 0 92 0 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 6 0 6 1 1 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 501 0 470 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 501 0 470 1 0 1 1 0 8 0 vmmpekpl 168 5677 0 5639 2 0 2 2 0 8 0 vmmpepl 168 38964 0 36706 101 0 101 101 0 357 0 vmsppl 488 500 0 470 5 0 5 5 0 8 0 rwobjpl 80 15649 0 12576 63 0 63 63 0 8 0 pdppl 4096 1010 0 940 102 30 72 84 0 8 2 pvpl 32 18613 0 0 151 0 151 151 0 265 0 pmappl 256 500 0 470 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 330 0 32 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff8382eff0) 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 mtx_enter(ffffffff8382fdf8) at mtx_enter+0xd2 sys/kern/kern_lock.c:264 clockintr_dispatch(ffff80003c44b990) 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 __sanitizer_cov_trace_const_cmp4(0,1) at __sanitizer_cov_trace_const_cmp4+0x35 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_const_cmp4(0,1) at __sanitizer_cov_trace_const_cmp4+0x35 sys/dev/kcov.c:230 mtx_enter(ffff8000014c2318) at mtx_enter+0x77 sys/kern/kern_lock.c:261 msleep_nsec(ffff8000014c2300,ffff8000014c2318,20,ffffffff833d22c8,ffffffffffffffff) at msleep_nsec+0x177 sys/kern/kern_synch.c:222 taskq_next_work(ffff8000014c2300,ffff80003c44bb88) at taskq_next_work+0x8e sys/kern/kern_task.c:399 taskq_thread(ffff8000014c2300) at taskq_thread+0xe3 sys/kern/kern_task.c:439 end trace frame: 0x0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 witness_checkorder(ffffffff8398da88,9,0) at witness_checkorder+0x10b9 sys/kern/subr_witness.c:-1 mtx_enter(ffffffff8398da78) at mtx_enter+0x4a sys/kern/kern_lock.c:260 sleep_setup(ffffffff8382fe58,220,ffffffff833f6be7) at sleep_setup+0xc6 sys/kern/kern_synch.c:302 msleep_nsec(ffffffff8382fe58,ffffffff8382fdf8,220,ffffffff833f6be7,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff80000148d000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80003c44ca88) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c44ca88) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff800039c153a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806285ab48,81,fffffd80097fb6e8,ffff80003c44ca88) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80695cbe08,ffff80003c44ca88) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80695cbe08,ffff80003c44ca88) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80695cbe08,ffff80003c44ca88) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80695cbe08,ffff80003c44ca88) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff800039c15600) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800039c15600) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9ec217eff50, count: -14