login: witness: lock order reversal: 1st 0xffff8000299dee30 &cq->cq_mtx (&cq->cq_mtx) 2nd 0xffffffff839fecd8 &sched_lock (&sched_lock) lock order [1] &cq->cq_mtx (&cq->cq_mtx) -> [2] &sched_lock (&sched_lock) #0 mtx_enter+0x95 sys/kern/kern_lock.c:406 #1 sleep_setup+0xed sys/kern/kern_synch.c:304 #2 msleep_nsec+0x10b sys/kern/kern_synch.c:217 #3 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 #4 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #4 dtclose+0x109 sys/dev/dt/dt_dev.c:239 #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:775 #11 Xsyscall+0x128 lock order [2] &sched_lock (&sched_lock) -> [1] &cq->cq_mtx (&cq->cq_mtx) #0 mtx_enter+0x95 sys/kern/kern_lock.c:406 #1 clockintr_cancel+0x2f sys/kern/kern_clockintr.c:323 #2 mi_switch+0x187 sys/kern/sched_bsd.c:376 #3 sleep_finish+0x2d8 sys/kern/kern_synch.c:369 #4 sys_futex+0xb90 futex_wait sys/kern/sys_futex.c:306 [inline] #4 sys_futex+0xb90 sys/kern/sys_futex.c:155 #5 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 #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(ffffffff839fecd8,9,0) at witness_checkorder+0x10d1 sys/kern/subr_witness.c:-1 mtx_enter(ffffffff839fecc8) at mtx_enter+0x95 sys/kern/kern_lock.c:406 sleep_setup(ffff8000299dee80,220,ffffffff834340da) at sleep_setup+0xed sys/kern/kern_synch.c:304 msleep_nsec(ffff8000299dee80,ffff8000299dee20,220,ffffffff834340da,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff8000016ca000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80002ebc87f8) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002ebc87f8) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c460fd0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805d03bc20,81,fffffd80097fd548,ffff80002ebc87f8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806dc8d9d0,ffff80002ebc87f8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806dc8d9d0,ffff80002ebc87f8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806dc8d9d0,ffff80002ebc87f8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806dc8d9d0,ffff80002ebc87f8) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff80003c461230) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c461230) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x60428aef930, count: -14 ddb{0}> show registers rdi 0 rsi 0x80000 acpi_pdirpa+0x6be71 rbp 0xffff80003c460ca0 rbx 0 rdx 0xffff800001584140 rcx 0xffff80002ebc87f8 rax 0x7ffff acpi_pdirpa+0x6be70 r8 0xffff80003c460b80 r9 0x8080808080808080 r10 0x541f1edb14fb3eed r11 0x22dec4c7e7ffa6ea r12 0xfffffd8003f4ae40 r13 0xfffffd80046f5330 r14 0x3 r15 0xffffffff83418d8b substchar+0x86a5 rip 0xffffffff83191cb5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c460c90 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=431732 pid=80098 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=84, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002ebc9788,0xffff8000ffff2028 process=0xffff80002a3c09b8 user=0xffff80003c45c000, vmspace=0xfffffd80639ef9c0 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 5373 461026 97890 0 2 0x100002 sh 51750 508847 35366 0 2 0 syz-executor 51750 39400 35366 0 3 0x4000080 bell syz-executor 51750 299089 35366 0 2 0x4000000 syz-executor 52645 445308 31294 0 2 0 syz-executor 52645 411544 31294 0 3 0x4000000 biowait syz-executor 12409 238014 34138 0 2 0 syz-executor 12409 351025 34138 0 3 0x4000080 fsleep syz-executor 12409 259512 34138 0 3 0x4000080 fsleep syz-executor 12409 228560 34138 0 3 0x4000080 fsleep syz-executor 90628 241512 12978 0 2 0 syz-executor 90628 15825 12978 0 3 0x4000080 fsleep syz-executor 90628 383294 12978 0 3 0x4000080 fsleep syz-executor 80098 244100 52740 0 2 0 syz-executor *80098 431732 52740 0 7 0x4000000 syz-executor 39708 502943 22326 0 2 0 syz-executor 39708 464992 22326 0 3 0x4000080 fsleep syz-executor 97890 245743 93998 0 3 0x82 wait syz-executor 99240 378491 1 0 3 0x100083 ttyin getty 35366 364762 93998 0 3 0x82 nanoslp syz-executor 22326 285743 93998 0 3 0x82 nanoslp syz-executor 28190 478787 93998 0 3 0x2 biowait syz-executor 8237 252325 0 0 3 0x14200 acct acct 12978 228504 93998 0 3 0x82 nanoslp syz-executor 34138 310909 93998 0 3 0x82 nanoslp syz-executor 31294 467427 93998 0 3 0x82 nanoslp syz-executor 52740 86251 93998 0 3 0x82 nanoslp syz-executor 93998 114904 43307 0 2 0x2 syz-executor 43307 494752 56080 0 3 0x10008a sigsusp ksh 56080 163197 89066 0 3 0x98 kqread sshd-session 89066 463670 34033 0 3 0x92 kqread sshd-session 34033 351718 1 0 3 0x88 kqread sshd 32150 45745 54178 74 3 0x1100092 bpf pflogd 54178 515401 1 0 3 0x80 sbwait pflogd 15776 238759 63663 73 3 0x1100090 kqread syslogd 63663 135206 1 0 3 0x100082 sbwait syslogd 98565 371244 1 0 3 0x100080 kqread resolvd 81698 355589 54633 77 3 0x100092 kqread dhcpleased 38583 64084 54633 77 3 0x100092 kqread dhcpleased 54633 320192 1 0 3 0x80 kqread dhcpleased 21519 307745 0 0 3 0x14200 bored smr 86808 438504 0 0 2 0x14200 zerothread 82595 405257 0 0 3 0x14200 aiodoned aiodoned 67545 168803 0 0 3 0x14200 syncer update 95818 48766 0 0 3 0x14200 cleaner cleaner 48144 288246 0 0 3 0x14200 reaper reaper 816 460254 0 0 3 0x14200 pgdaemon pagedaemon 40858 510818 0 0 3 0x14200 bored viomb 34190 449318 0 0 3 0x40014200 acpi0 acpi0 92680 840 0 0 7 0x40014200 idle1 50606 201482 0 0 3 0x14200 bored softnet1 66889 420855 0 0 3 0x14200 bored softnet0 40591 168968 0 0 3 0x14200 bored systqmp 20003 226671 0 0 3 0x14200 bored systq 37131 263660 0 0 3 0x14200 tmoslp softclockmp 67622 55776 0 0 3 0x40014200 tmoslp softclock 76436 390029 0 0 3 0x40014200 idle0 1 414900 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299dee30) #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+0x4b4 sys/kern/kern_lock.c:487 #2 clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 #3 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 #4 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #4 dtclose+0x109 sys/dev/dt/dt_dev.c:239 #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:775 #11 Xsyscall+0x128 Process 52645 (syz-executor) thread 0xffff80002ebc8d28 (411544) exclusive rrwlock inode r = 0 (0xfffffd805e6ea0f0) #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+0xbd 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:775 #9 Xsyscall+0x128 Process 80098 (syz-executor) thread 0xffff80002ebc87f8 (431732) exclusive rwlock dtlk r = 0 (0xffffffff837e50e8) #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:572 #3 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #3 dtclose+0x109 sys/dev/dt/dt_dev.c:239 #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:775 #10 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a09780) #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:775 #5 Xsyscall+0x128 exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299dee30) #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+0x4b4 sys/kern/kern_lock.c:487 #2 clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 #3 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 #4 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #4 dtclose+0x109 sys/dev/dt/dt_dev.c:239 #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:775 #11 Xsyscall+0x128 Process 28190 (syz-executor) thread 0xffff80002ebcd778 (478787) exclusive rrwlock inode r = 0 (0xfffffd806f0b3800) #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+0xbd sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vget+0x2a2 sys/kern/vfs_subr.c:686 #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:775 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e9d8358) #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+0xbd 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:775 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11161 12322K 16220K 166960K 20015 0 pcb 17 20K 22K 166960K 1431 0 rtable 219 13K 14K 166960K 1669 0 pf 34 17K 81K 166960K 552 0 ifaddr 37 7K 9K 166960K 408 0 ifgroup 55 2K 3K 166960K 733 0 sysctl 4 1K 9K 166960K 46 0 counters 70 37K 39K 166960K 898 0 ioctlops 0 0K 4K 166960K 2860 0 iov 0 0K 24K 166960K 433 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1572 99K 99K 166960K 5829 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 416 0 dirhash 12 2K 3K 166960K 111 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 4981 0 sigio 0 0K 0K 166960K 196 0 proc 73 115K 164K 166960K 1535 0 subproc 72 4K 4K 166960K 248 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 879 0 in_multi 63 4K 7K 166960K 559 0 ether_multi 1 0K 0K 166960K 73 0 mrt 1 0K 0K 166960K 33 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 1533 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 13 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 250 161K 184K 166960K 45403 0 UVM aobj 100 39K 39K 166960K 107 0 pinsyscall 42 84K 102K 166960K 6661 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 483 0 NDP 12 0K 2K 166960K 305 0 temp 79 8680K 8936K 166960K 256803 0 kqueue 13 20K 32K 166960K 924 0 SYN cache 2 8K 16K 166960K 3 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 470 0 467 3 2 1 2 0 8 0 rtentry 176 572 0 496 6 1 5 6 0 8 0 unpcb 144 4576 0 4558 38 34 4 6 0 8 3 syncache 336 25 0 25 10 9 1 1 0 8 1 tcpqe 32 50 0 50 8 7 1 1 0 8 1 tcpcb 736 1506 0 1498 28 26 2 7 0 8 1 arp 136 135 0 118 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 328 6349 0 6333 65 61 4 15 0 8 2 nd6 152 89 0 75 2 0 2 2 0 8 0 pkpcb 40 107 0 107 7 7 0 1 0 8 0 kcovpl 48 27 0 19 1 0 1 1 0 8 0 mppekey 1024 3 0 3 3 3 0 1 0 8 0 ppxss 1192 325 0 325 7 6 1 1 0 8 1 pppxif 1504 45 0 45 9 9 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 59 0 52 1 0 1 1 0 482 0 pffrnode 88 40 0 34 1 0 1 1 0 8 0 pffrent 40 175 0 167 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 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfstlim 224 1 0 0 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 1 1 1 0 1 0 8 0 pfstitem 24 2 0 2 1 1 0 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 448 1 0 1 1 1 0 1 0 8 0 pfrule 1360 2 0 2 2 2 0 1 0 8 0 rttmr 136 4 0 4 3 3 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 2065 0 1753 38 15 23 31 0 8 0 art_table 40 2068 0 1753 5 0 5 5 0 8 0 art_node 32 572 0 506 2 0 2 2 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semupl 112 5 0 5 4 4 0 1 0 8 0 semapl 112 407 0 397 1 0 1 1 0 8 0 shmpl 112 82 0 2 3 0 3 3 0 8 0 dirhash 1024 84 0 67 3 0 3 3 0 8 0 dino2pl 256 11038 0 9501 98 1 97 97 0 8 0 ffsino 296 11038 0 9501 119 0 119 119 0 8 0 nchpl 144 17537 0 15782 66 0 66 66 0 8 0 rtmask 32 37 0 37 9 9 0 1 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 66052 0 66052 7 6 1 2 0 8 1 percpumem 16 464 0 414 1 0 1 1 0 8 0 vcpupl 3968 18 0 1 3 0 3 3 0 8 0 vmpool 848 22 0 5 2 0 2 2 0 8 0 kstatmem 264 492 0 464 5 2 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 14 0 14 8 7 1 1 0 8 1 scxspl 216 154272 0 154270 16 15 1 8 1 8 0 plimitpl 152 2075 0 2057 1 0 1 1 0 8 0 sigapl 424 5256 0 5208 8 2 6 8 0 8 0 knotepl 120 800 0 0 24 0 24 24 0 8 0 kqueuepl 224 2221 0 2211 36 35 1 7 0 8 0 pipepl 344 1013 0 986 25 21 4 15 0 8 0 fdescpl 528 5203 0 5172 3 0 3 3 0 8 0 filepl 160 40539 0 40317 58 46 12 21 0 8 0 lockfpl 104 2126 0 2123 4 3 1 2 0 8 0 lockfspl 48 711 0 708 1 0 1 1 0 8 0 sessionpl 144 62 0 53 1 0 1 1 0 8 0 pgrppl 48 168 0 151 1 0 1 1 0 8 0 ucredpl 104 6274 0 6259 1 0 1 1 0 8 0 zombiepl 144 5612 0 5612 1 0 1 1 0 8 1 processpl 1232 5256 0 5208 7 1 6 6 0 8 0 procpl 664 13150 0 13092 9 3 6 8 0 8 0 sosppl 176 33 0 33 9 9 0 1 0 8 0 sockpl 752 11772 0 11735 112 101 11 21 0 8 6 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 116 0 0 15 0 15 15 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 156 0 0 13 2 11 11 0 8 0 mtagpl 96 309 0 0 8 0 8 8 0 8 0 mbufpl 256 1848 0 0 116 0 116 116 0 8 0 bufpl 280 64593 0 58457 439 0 439 439 0 8 0 anonpl 32 19022 0 0 153 0 153 153 0 246 0 amapchunkpl 152 162437 0 161828 91 58 33 44 0 158 6 amappl16 200 21810 0 21484 173 135 38 44 0 8 6 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 29 0 28 1 0 1 1 0 8 0 amappl13 176 762 0 760 1 0 1 1 0 8 0 amappl12 168 5741 0 5700 3 0 3 3 0 8 0 amappl11 160 16 0 15 5 4 1 1 0 8 0 amappl10 152 51 0 37 1 0 1 1 0 8 0 amappl9 144 250 0 250 1 1 0 1 0 8 0 amappl8 136 26 0 23 1 0 1 1 0 8 0 amappl7 128 157 0 154 1 0 1 1 0 8 0 amappl6 120 534 0 517 1 0 1 1 0 8 0 amappl5 112 96 0 85 1 0 1 1 0 8 0 amappl4 104 646 0 615 1 0 1 1 0 8 0 amappl3 96 28578 0 28486 4 1 3 3 0 8 0 amappl2 88 5413 0 5332 2 0 2 2 0 8 0 amappl1 80 34940 0 34350 16 2 14 15 0 8 0 amappl 88 43497 0 43325 5 0 5 5 0 92 0 uvmvnodes 80 233 0 0 5 0 5 5 0 8 0 dma65536 65536 3 0 3 2 2 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 2 0 2 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 3 0 3 3 3 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 259 0 259 6 5 1 1 0 8 1 dma64 64 9 0 9 3 2 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 22 0 21 1 0 1 1 0 8 0 aobjpl 72 106 0 7 2 0 2 2 0 8 0 uaddrrnd 24 5203 0 5172 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5203 0 5172 1 0 1 1 0 8 0 vmmpekpl 168 42663 0 42608 4 1 3 4 0 8 0 vmmpepl 168 345792 0 343564 166 52 114 126 0 357 3 vmsppl 488 5202 0 5172 9 4 5 5 0 8 0 rwobjpl 80 89903 0 88325 55 16 39 43 0 8 1 pdppl 4096 10457 0 10371 167 77 90 92 0 8 4 pvpl 32 27493 0 0 221 0 221 221 0 265 0 pmappl 256 5224 0 5177 4 0 4 4 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 520 0 150 11 0 11 11 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(ffffffff839fecd8,9,0) at witness_checkorder+0x10d1 sys/kern/subr_witness.c:-1 mtx_enter(ffffffff839fecc8) at mtx_enter+0x95 sys/kern/kern_lock.c:406 sleep_setup(ffff8000299dee80,220,ffffffff834340da) at sleep_setup+0xed sys/kern/kern_synch.c:304 msleep_nsec(ffff8000299dee80,ffff8000299dee20,220,ffffffff834340da,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff8000016ca000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80002ebc87f8) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002ebc87f8) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c460fd0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805d03bc20,81,fffffd80097fd548,ffff80002ebc87f8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806dc8d9d0,ffff80002ebc87f8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806dc8d9d0,ffff80002ebc87f8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806dc8d9d0,ffff80002ebc87f8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806dc8d9d0,ffff80002ebc87f8) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff80003c461230) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c461230) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x60428aef930, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff8000299ddff0) 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_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 mtx_enter(ffff8000299dee20) at mtx_enter+0x375 sys/kern/kern_lock.c:455 clockintr_dispatch(ffff80002a21cbd0) at clockintr_dispatch+0x401 sys/kern/kern_clockintr.c:215 lapic_clockintr(0,0) at lapic_clockintr+0x51 sys/arch/amd64/amd64/lapic.c:482 Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299ddff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -10