witness: lock order reversal: 1st 0xffff8000299dee00 &cq->cq_mtx (&cq->cq_mtx) 2nd 0xffffffff838f5900 &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+0x119 sys/kern/kern_synch.c:217 #3 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 #4 dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #4 dtclose+0x105 sys/dev/dt/dt_dev.c:232 #5 spec_close+0x45f sys/kern/spec_vnops.c:-1 #6 VOP_CLOSE+0x133 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+0x126 sys/kern/kern_descrip.c:1267 #9 closef+0x192 sys/kern/kern_descrip.c:1251 #10 syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 #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+0x172 x86_atomic_clearbits_u32 machine/atomic.h:-1 [inline] #2 mi_switch+0x172 sys/kern/sched_bsd.c:374 #3 sleep_finish+0x2da sys/kern/kern_synch.c:366 #4 sys_futex+0xa24 futex_wait sys/kern/sys_futex.c:301 [inline] #4 sys_futex+0xa24 sys/kern/sys_futex.c:151 #5 syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 #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(ffffffff838f5900,9,0) at witness_checkorder+0x10fb sys/kern/subr_witness.c:-1 mtx_enter(ffffffff838f58f0) at mtx_enter+0x4a sys/kern/kern_lock.c:260 sleep_setup(ffff8000299dee50,220,ffffffff833aa7a4) at sleep_setup+0xc6 sys/kern/kern_synch.c:302 msleep_nsec(ffff8000299dee50,ffff8000299dedf0,220,ffffffff833aa7a4,ffffffffffffffff) at msleep_nsec+0x119 sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff800000afb000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80003c433218) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c433218) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c495b80) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805fa922c0,81,fffffd80097fb410,ffff80003c433218) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ab3c918,ffff80003c433218) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ab3c918,ffff80003c433218) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806ab3c918,ffff80003c433218) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806ab3c918,ffff80003c433218) at closef+0x192 sys/kern/kern_descrip.c:1251 syscall(ffff80003c495de0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c495de0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x57444ac7150, count: -14 ddb{0}> show registers rdi 0 rsi 0x80000 acpi_pdirpa+0x6be71 rbp 0xffff80003c495880 rbx 0xfffffd8004707330 rdx 0xffff80000002a680 rcx 0xffff80003c433218 rax 0x7ffff acpi_pdirpa+0x6be70 r8 0xffff80003c495760 r9 0x8080808080808080 r10 0x91bec19ec8addae3 r11 0x99f1aa68abf58e09 r12 0 r13 0xfffffd8003f5a300 r14 0x3 r15 0xffffffff rip 0xffffffff814c7145 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c495870 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=286405 pid=15073 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c432548,0xffffffff839b4a40 process=0xffff80003b01d380 user=0xffff80003c490000, vmspace=0xfffffd806c0677a0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 15073 202991 69056 0 2 0 syz-executor 15073 317861 69056 0 3 0x4000080 piperd syz-executor *15073 286405 69056 0 7 0x4000000 syz-executor 30971 477134 94193 0 3 0x90 nanoslp syz-executor 30971 481912 94193 0 3 0x4000090 piperd syz-executor 13859 364101 43861 0 3 0x80 nanoslp syz-executor 13859 279329 43861 0 3 0x4000080 msgwait syz-executor 13859 401230 43861 0 3 0x4000080 fsleep syz-executor 31226 519630 88935 0 3 0x80 nanoslp syz-executor 31226 372087 88935 0 3 0x4000080 ttyin syz-executor 31226 351799 88935 0 3 0x4000080 fsleep syz-executor 1787 288586 2537 0 3 0x80 nanoslp syz-executor 1787 351211 2537 0 3 0x4000080 kqread syz-executor 1787 186196 2537 0 3 0x4000080 fsleep syz-executor 12367 396617 0 0 3 0x14200 bored sosplice 90356 437972 38176 0 3 0x100082 sbwait ndp 38176 267157 23455 0 3 0x10008a sigsusp sh 88935 255642 36346 0 3 0x82 nanoslp syz-executor 2537 461342 36346 0 3 0x82 nanoslp syz-executor 23455 506906 36346 0 3 0x82 wait syz-executor 43861 205753 36346 0 3 0x82 nanoslp syz-executor 41998 79595 36346 0 3 0x82 nanoslp syz-executor 94193 8372 36346 0 3 0x82 nanoslp syz-executor 69056 513348 36346 0 3 0x82 nanoslp syz-executor 25908 324142 36346 0 7 0x3 syz-executor 36346 99784 93699 0 2 0x82 syz-executor 93699 514580 25653 0 3 0x10008a sigsusp ksh 25653 287815 91009 0 3 0x98 kqread sshd-session 91009 206918 79085 0 3 0x92 kqread sshd-session 360 137698 1 0 3 0x100083 ttyin getty 79085 371702 1 0 3 0x88 kqread sshd 48666 305539 31079 74 3 0x1100092 bpf pflogd 31079 31724 1 0 3 0x80 sbwait pflogd 85089 327221 22122 73 3 0x1100090 kqread syslogd 22122 216176 1 0 3 0x100082 sbwait syslogd 50527 416214 1 0 3 0x100080 kqread resolvd 39970 457173 70291 77 3 0x100092 kqread dhcpleased 23943 90358 70291 77 3 0x100092 kqread dhcpleased 70291 235249 1 0 3 0x80 kqread dhcpleased 81188 163986 0 0 3 0x14200 pause smr 35666 114255 0 0 3 0x14200 pgzero zerothread 95514 438522 0 0 3 0x14200 aiodoned aiodoned 76352 331675 0 0 3 0x14200 syncer update 35652 51525 0 0 3 0x14200 cleaner cleaner 98982 9788 0 0 3 0x14200 reaper reaper 78892 90233 0 0 3 0x14200 pgdaemon pagedaemon 71862 520401 0 0 3 0x14200 bored viomb 16665 198601 0 0 3 0x40014200 acpi0 acpi0 92632 40796 0 0 3 0x40014200 idle1 92278 125568 0 0 3 0x14200 bored softnet3 44029 394585 0 0 3 0x14200 bored softnet2 75929 512004 0 0 3 0x14200 bored softnet1 83122 418321 0 0 3 0x14200 bored softnet0 85308 463661 0 0 3 0x14200 smrbar systqmp 74746 36694 0 0 3 0x14200 bored systq 77264 304301 0 0 3 0x14200 tmoslp softclockmp 30469 112246 0 0 3 0x40014200 tmoslp softclock 55331 435819 0 0 3 0x40014200 idle0 1 481886 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299dee00) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 mtx_enter_try+0x1ad sys/kern/kern_lock.c:311 #2 mtx_enter+0x13b 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:576 #5 dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #5 dtclose+0x105 sys/dev/dt/dt_dev.c:232 #6 spec_close+0x45f sys/kern/spec_vnops.c:-1 #7 VOP_CLOSE+0x133 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+0x126 sys/kern/kern_descrip.c:1267 #10 closef+0x192 sys/kern/kern_descrip.c:1251 #11 syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] #11 syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 #12 Xsyscall+0x128 Process 15073 (syz-executor) thread 0xffff80003c433218 (286405) exclusive rwlock dtlk r = 0 (0xffffffff83831868) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x377 sys/kern/kern_rwlock.c:310 #2 dt_ioctl_record_stop+0x68 sys/dev/dt/dt_dev.c:-1 #3 dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #3 dtclose+0x105 sys/dev/dt/dt_dev.c:232 #4 spec_close+0x45f sys/kern/spec_vnops.c:-1 #5 VOP_CLOSE+0x133 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+0x126 sys/kern/kern_descrip.c:1267 #8 closef+0x192 sys/kern/kern_descrip.c:1251 #9 syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] #9 syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 #10 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a13010) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 vn_closefile+0x41 sys/kern/vfs_vnops.c:608 #2 fdrop+0x126 sys/kern/kern_descrip.c:1267 #3 closef+0x192 sys/kern/kern_descrip.c:1251 #4 syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] #4 syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 #5 Xsyscall+0x128 exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299dee00) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 mtx_enter_try+0x1ad sys/kern/kern_lock.c:311 #2 mtx_enter+0x13b 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:576 #5 dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #5 dtclose+0x105 sys/dev/dt/dt_dev.c:232 #6 spec_close+0x45f sys/kern/spec_vnops.c:-1 #7 VOP_CLOSE+0x133 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+0x126 sys/kern/kern_descrip.c:1267 #10 closef+0x192 sys/kern/kern_descrip.c:1251 #11 syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] #11 syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 #12 Xsyscall+0x128 Process 85308 (systqmp) thread 0xffff8000ffffe000 (463661) shared rwlock systqmp r = 0 (0xffffffff83854e08) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10221 11130K 11429K 166960K 11873 0 pcb 17 12K 12K 166960K 92 0 rtable 219 7K 8K 166960K 395 0 pf 36 18K 21K 166960K 75 0 ifaddr 43 7K 8K 166960K 59 0 ifgroup 58 2K 2K 166960K 89 0 sysctl 3 1K 9K 166960K 7 0 counters 68 36K 37K 166960K 100 0 ioctlops 0 0K 4K 166960K 1566 0 iov 0 0K 20K 166960K 48 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1406 88K 89K 166960K 1703 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 16 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 463 0 sigio 0 0K 0K 166960K 72 0 proc 72 91K 128K 166960K 569 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 36 0 in_multi 99 7K 7K 166960K 108 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 11 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 414 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 257 162K 172K 166960K 6100 0 UVM aobj 13 2K 2K 166960K 13 0 pinsyscall 44 88K 107K 166960K 1571 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 16 0 NDP 12 0K 2K 166960K 38 0 temp 50 8677K 8742K 166960K 28273 0 kqueue 15 24K 28K 166960K 86 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 60 0 56 1 0 1 1 0 8 0 rtentry 176 124 0 26 6 0 6 6 0 8 0 unpcb 144 210 0 192 2 0 2 2 0 8 1 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 736 187 0 183 7 3 4 7 0 8 3 arp 128 22 0 4 1 0 1 1 0 8 0 inpcb 328 620 0 613 7 1 6 7 0 8 5 nd6 144 23 0 0 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1192 12 0 12 1 0 1 1 0 8 1 pppxif 1504 1 0 1 1 1 0 1 0 8 0 pffrag 232 3 0 0 1 0 1 1 0 482 0 pffrnode 88 3 0 0 1 0 1 1 0 8 0 pffrent 40 3 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 41 0 1 1 0 1 1 0 8 0 pfstkey 128 41 0 1 2 0 2 2 0 8 0 pfstate 384 40 0 1 4 0 4 4 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 494 0 54 31 0 31 31 0 8 1 art_table 40 495 0 54 5 0 5 5 0 8 0 art_node 32 124 0 25 1 0 1 1 0 8 0 sysvmsgpl 40 39 0 36 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2138 0 628 95 0 95 95 0 8 0 ffsino 288 2138 0 628 109 0 109 109 0 8 0 nchpl 144 2823 0 1129 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 uvmvnodes 80 2477 0 0 51 0 51 51 0 8 0 vnodes 216 2477 0 0 138 0 138 138 0 8 0 namei 1024 9369 0 9369 1 0 1 1 0 8 1 percpumem 16 65 0 16 1 0 1 1 0 8 0 kstatmem 264 46 0 20 2 0 2 2 0 8 0 scxspl 216 17977 0 17977 3 2 1 2 1 8 1 plimitpl 152 142 0 125 1 0 1 1 0 8 0 sigapl 424 771 0 720 7 0 7 7 0 8 0 knotepl 120 515 0 0 16 0 16 16 0 8 0 kqueuepl 224 127 0 115 1 0 1 1 0 8 0 pipepl 336 200 0 170 6 0 6 6 0 8 3 fdescpl 520 752 0 720 3 0 3 3 0 8 0 filepl 160 4124 0 3894 14 0 14 14 0 8 3 lockfpl 104 211 0 209 1 0 1 1 0 8 0 lockfspl 48 97 0 95 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 43 0 26 1 0 1 1 0 8 0 ucredpl 104 463 0 448 1 0 1 1 0 8 0 zombiepl 144 721 0 720 1 0 1 1 0 8 0 processpl 1240 771 0 720 5 0 5 5 0 8 0 procpl 656 1401 0 1341 6 0 6 6 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 728 899 0 870 10 1 9 10 0 8 5 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 108 0 0 14 0 14 14 0 8 0 mcl2k 2048 36 0 0 5 0 5 5 0 8 0 mtagpl 96 69 0 0 2 0 2 2 0 8 0 mbufpl 256 260 0 0 16 0 16 16 0 8 0 bufpl 280 7830 0 1688 439 0 439 439 0 8 0 anonpl 32 11979 0 0 97 0 97 97 0 246 0 amapchunkpl 152 18926 0 18401 31 2 29 31 0 158 5 amappl16 200 2116 0 2087 27 1 26 26 0 8 19 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 111 0 98 1 0 1 1 0 8 0 amappl13 176 3 0 2 1 0 1 1 0 8 0 amappl12 168 1407 0 1373 3 1 2 2 0 8 0 amappl11 160 47 0 33 1 0 1 1 0 8 0 amappl10 152 6 0 6 2 2 0 1 0 8 0 amappl9 144 257 0 256 2 1 1 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 107 0 94 1 0 1 1 0 8 0 amappl6 120 244 0 240 1 0 1 1 0 8 0 amappl5 112 127 0 118 1 0 1 1 0 8 0 amappl4 104 313 0 292 1 0 1 1 0 8 0 amappl3 96 3639 0 3519 5 1 4 4 0 8 0 amappl2 88 647 0 580 2 0 2 2 0 8 0 amappl1 80 9621 0 8994 15 1 14 15 0 8 0 amappl 88 5339 0 5163 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 12 0 0 1 0 1 1 0 8 0 uaddrrnd 24 752 0 720 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 752 0 720 1 0 1 1 0 8 0 vmmpekpl 168 7985 0 7945 3 0 3 3 0 8 0 vmmpepl 168 52950 0 50900 113 0 113 113 0 357 7 vmsppl 480 751 0 720 5 0 5 5 0 8 0 rwobjpl 72 18862 0 15374 70 0 70 70 0 8 0 pdppl 4096 1511 0 1440 101 28 73 85 0 8 2 pvpl 32 18411 0 0 149 0 149 149 0 265 0 pmappl 256 751 0 720 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 401 0 34 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(ffffffff838f5900,9,0) at witness_checkorder+0x10fb sys/kern/subr_witness.c:-1 mtx_enter(ffffffff838f58f0) at mtx_enter+0x4a sys/kern/kern_lock.c:260 sleep_setup(ffff8000299dee50,220,ffffffff833aa7a4) at sleep_setup+0xc6 sys/kern/kern_synch.c:302 msleep_nsec(ffff8000299dee50,ffff8000299dedf0,220,ffffffff833aa7a4,ffffffffffffffff) at msleep_nsec+0x119 sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff800000afb000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80003c433218) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c433218) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c495b80) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805fa922c0,81,fffffd80097fb410,ffff80003c433218) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ab3c918,ffff80003c433218) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ab3c918,ffff80003c433218) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806ab3c918,ffff80003c433218) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806ab3c918,ffff80003c433218) at closef+0x192 sys/kern/kern_descrip.c:1251 syscall(ffff80003c495de0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c495de0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x57444ac7150, 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 mtx_enter(ffff8000299dedf0) at mtx_enter+0xd2 sys/kern/kern_lock.c:264 clockintr_dispatch(ffff80002a300b00) at clockintr_dispatch+0x3b4 sys/kern/kern_clockintr.c:215 lapic_clockintr(0,0) at lapic_clockintr+0x51 sys/arch/amd64/amd64/lapic.c:489 Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a __mp_lock(ffffffff83a12e08) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83a12e08) at __mp_lock+0x192 sys/kern/kern_lock.c:165 ktrgenio(ffff80002a2ba7c8,f8,1,ffff800000b387e0,4) at ktrgenio+0x228 ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrgenio(ffff80002a2ba7c8,f8,1,ffff800000b387e0,4) at ktrgenio+0x228 sys/kern/kern_ktrace.c:264 dofilewritev(ffff80002a2ba7c8,f8,ffff80002a300da8,0,ffff80002a300e60) at dofilewritev+0x4d9 sys/kern/sys_generic.c:398 sys_write(ffff80002a2ba7c8,ffff80002a300f10,ffff80002a300e60) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a300f10) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a300f10) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73b3c58497c0, count: -13