uvm_fault(0xfffffd806ba498b0, 0x18, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x6e: movq 0(%r14),%rax TID PID UID PRFLAGS PFLAGS CPU COMMAND mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014ee730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001580200) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80003c997250) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c997250) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800038559670) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bc4b710,81,fffffd8007bfb820,ffff80003c997250) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069217360,ffff80003c997250) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069217360,ffff80003c997250) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069217360,ffff80003c997250) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069217360,ffff80003c997250) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c997250) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c997250,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c997250,ffff8000385599d0,ffff800038559920) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000385599d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000385599d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d9c57db9f90, count: 1 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xfffffd806ba498b0, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014ee730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001580200) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80003c997250) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c997250) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800038559670) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bc4b710,81,fffffd8007bfb820,ffff80003c997250) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069217360,ffff80003c997250) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069217360,ffff80003c997250) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069217360,ffff80003c997250) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069217360,ffff80003c997250) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c997250) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c997250,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c997250,ffff8000385599d0,ffff800038559920) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000385599d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000385599d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d9c57db9f90, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff800038559520 rbx 0 rdx 0 rcx 0xffff80003c997250 rax 0xffff80003c997200 r8 0 r9 0 r10 0x87215afb06c70485 r11 0x551ca429a92f38a6 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff82e36b0e mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff8000385594f0 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=489429 pid=46966 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=76, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c997250 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c9967f0,0xffff80002a7f42c8 process=0xffff8000ffff6d20 user=0xffff800038554000, vmspace=0xfffffd806ba498b0 estcpu=26, cpticks=6, pctcpu=0.3, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 22322 296009 44530 0 2 0 syz-executor 22322 433181 44530 0 3 0x4000080 fsleep syz-executor 57690 42001 46533 0 2 0 syz-executor 57690 287071 46533 0 2 0x4000000 syz-executor 95797 499871 5298 0 2 0 syz-executor 95797 235359 5298 0 3 0x4000080 fsleep syz-executor 95797 203409 5298 0 3 0x4000080 fsleep syz-executor 759 496821 68486 0 2 0 syz-executor 759 108160 68486 0 3 0x4000080 kqpoll syz-executor 68781 432022 98294 60928 2 0x10 syz-executor 68781 255633 98294 60928 3 0x4000090 fsleep syz-executor 10110 514189 34145 0 2 0 syz-executor 10110 450894 34145 0 3 0x4000080 fsleep syz-executor 2443 153360 11741 0 4 0x82000 syz-executor 2443 345784 11741 0 2 0x4082000 syz-executor 2443 510450 11741 0 3 0x4002000 suspend syz-executor 23571 110093 0 0 3 0x14200 acct acct 11990 11440 0 0 3 0x14200 bored sosplice 5298 142310 54902 0 3 0x82 nanoslp syz-executor 46533 449017 54902 0 3 0x82 nanoslp syz-executor 11741 169111 54902 0 3 0x82 nanoslp syz-executor 53593 477396 54902 0 3 0x82 nanoslp syz-executor 34145 196358 54902 0 3 0x82 nanoslp syz-executor 68486 311875 54902 0 3 0x82 nanoslp syz-executor 44530 190987 54902 0 3 0x82 nanoslp syz-executor 98294 356912 54902 0 3 0x82 nanoslp syz-executor 54902 185677 47620 0 3 0x82 kqread syz-executor 47620 206696 48625 0 3 0x10008a sigsusp ksh 48625 43291 69599 0 3 0x98 kqread sshd-session 69599 206451 84111 0 3 0x92 kqread sshd-session 70527 45006 1 0 3 0x100083 ttyopn getty 84111 293405 1 0 3 0x88 kqread sshd 68915 342583 87293 73 3 0x1100090 kqread syslogd 87293 159185 1 0 3 0x100082 sbwait syslogd 2752 21000 1 0 3 0x100080 kqread resolvd 61326 166946 73491 77 3 0x100092 kqread dhcpleased 87457 110805 73491 77 3 0x100092 kqread dhcpleased 73491 435467 1 0 3 0x80 kqread dhcpleased 37264 399983 0 0 3 0x14200 bored smr 64023 179404 0 0 2 0x14200 zerothread 96061 204753 0 0 3 0x14200 aiodoned aiodoned 39279 489540 0 0 3 0x14200 syncer update 52201 501002 0 0 3 0x14200 cleaner cleaner 602 368956 0 0 2 0x14200 reaper 54812 470616 0 0 3 0x14200 pgdaemon pagedaemon 10485 135809 0 0 3 0x14200 bored viomb 47402 505202 0 0 3 0x40014200 acpi0 acpi0 69186 338893 0 0 3 0x14200 bored softnet7 96308 447543 0 0 3 0x14200 bored softnet6 27779 7201 0 0 3 0x14200 bored softnet5 84454 524250 0 0 3 0x14200 bored softnet4 18210 455200 0 0 3 0x14200 bored softnet3 32546 152336 0 0 3 0x14200 bored softnet2 15528 502725 0 0 3 0x14200 bored softnet1 76675 109307 0 0 3 0x14200 bored softnet0 81780 471343 0 0 3 0x14200 bored systqmp 18982 304178 0 0 3 0x14200 bored systq 74247 418582 0 0 3 0x40014200 tmoslp softclock 60932 410721 0 0 3 0x40014200 idle0 1 301156 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10227 11173K 11349K 166960K 11742 0 pcb 17 14K 15K 166960K 87 0 rtable 225 8K 8K 166960K 325 0 pf 31 13K 15K 166960K 71 0 ifaddr 42 7K 8K 166960K 65 0 ifgroup 50 2K 2K 166960K 103 0 sysctl 3 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 58 0 ioctlops 0 0K 4K 166960K 83 0 iov 0 0K 24K 166960K 59 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1342 84K 85K 166960K 1605 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 9K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 18 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 416 0 sigio 0 0K 0K 166960K 9 0 proc 60 59K 91K 166960K 516 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 40 0 in_multi 99 7K 7K 166960K 117 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 3 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 2K 166960K 382 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 235 164K 168K 166960K 5286 0 UVM aobj 44 2K 2K 166960K 45 0 pinsyscall 39 78K 96K 166960K 1438 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 15 0 NDP 11 0K 2K 166960K 41 0 temp 46 8640K 8706K 166960K 9819 0 kqueue 13 20K 30K 166960K 86 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 63 0 60 1 0 1 1 0 8 0 rtentry 136 110 0 14 4 0 4 4 0 8 0 unpcb 144 445 0 426 9 3 6 6 0 8 5 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 736 261 0 257 10 3 7 7 0 8 6 arp 96 13 0 2 1 0 1 1 0 8 0 inpcb 328 514 0 506 14 5 9 12 0 8 8 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 104 18 0 1 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 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1072 16 0 16 2 1 1 1 0 8 1 pppxif 1384 7 0 7 2 1 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 pfrule 1344 3 0 3 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 509 0 69 31 2 29 30 0 8 1 art_table 40 510 0 69 5 0 5 5 0 8 0 art_node 32 110 0 24 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 1 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 42 0 1 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2105 0 602 95 0 95 95 0 8 0 ffsino 256 2105 0 602 95 0 95 95 0 8 0 nchpl 144 2713 0 1032 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 uvmvnodes 80 2319 0 0 48 0 48 48 0 8 0 vnodes 216 2319 0 0 129 0 129 129 0 8 0 namei 1024 8923 0 8922 3 2 1 2 0 8 0 kstatmem 264 50 0 28 2 0 2 2 0 8 0 scxspl 216 9807 0 9807 15 7 8 8 1 8 8 plimitpl 152 145 0 129 1 0 1 1 0 8 0 sigapl 424 699 0 647 7 1 6 7 0 8 0 knotepl 120 15508 0 15461 18 8 10 10 0 8 8 kqueuepl 184 133 0 122 1 0 1 1 0 8 0 pipepl 304 118 0 91 3 0 3 3 0 8 0 fdescpl 448 677 0 647 5 1 4 5 0 8 0 filepl 120 3965 0 3744 16 2 14 14 0 8 6 lockfpl 104 111 0 109 1 0 1 1 0 8 0 lockfspl 48 50 0 48 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 486 0 474 1 0 1 1 0 8 0 zombiepl 144 726 0 725 1 0 1 1 0 8 0 processpl 1152 699 0 647 5 1 4 5 0 8 0 procpl 664 1176 0 1114 6 0 6 6 0 8 0 sockpl 552 1033 0 1003 17 7 10 12 0 8 7 mcl64k 65536 29 0 29 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 7 0 7 2 1 1 1 0 8 1 mcl4k 4096 2801 0 2752 14 7 7 14 0 8 0 mcl2k2 2112 16 0 16 2 2 0 2 0 8 0 mcl2k 2048 525 0 522 2 1 1 2 0 8 0 mtagpl 96 6 0 5 2 1 1 1 0 8 0 mbufpl 256 6801 0 6614 16 0 16 16 0 8 2 bufpl 280 4453 0 153 308 0 308 308 0 8 0 anonpl 24 123318 0 119982 69 23 46 46 0 187 14 amapchunkpl 152 16513 0 16003 28 4 24 26 0 158 2 amappl16 200 2262 0 2219 27 14 13 16 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 107 0 97 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 1281 0 1251 3 1 2 3 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 8 0 8 2 1 1 1 0 8 1 amappl9 144 255 0 254 1 0 1 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 98 0 87 1 0 1 1 0 8 0 amappl6 120 168 0 165 1 0 1 1 0 8 0 amappl5 112 157 0 151 1 0 1 1 0 8 0 amappl4 104 259 0 245 1 0 1 1 0 8 0 amappl3 96 2818 0 2720 3 0 3 3 0 8 0 amappl2 88 904 0 832 2 0 2 2 0 8 0 amappl1 80 9058 0 8507 14 2 12 14 0 8 0 amappl 88 4592 0 4423 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 44 0 1 1 0 1 1 0 8 0 uaddrrnd 24 677 0 647 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 677 0 647 1 0 1 1 0 8 0 vmmpekpl 168 6744 0 6717 2 0 2 2 0 8 0 vmmpepl 168 48549 0 46648 104 9 95 95 0 357 8 vmsppl 368 676 0 647 4 1 3 4 0 8 0 rwobjpl 40 17520 0 14293 35 0 35 35 0 8 0 pdppl 4096 1361 0 1294 97 30 67 83 0 8 0 pvpl 32 307651 0 298878 140 26 114 114 0 265 25 pmappl 216 676 0 647 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 385 0 52 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014ee730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001580200) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80003c997250) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c997250) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800038559670) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bc4b710,81,fffffd8007bfb820,ffff80003c997250) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069217360,ffff80003c997250) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069217360,ffff80003c997250) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069217360,ffff80003c997250) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069217360,ffff80003c997250) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c997250) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c997250,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c997250,ffff8000385599d0,ffff800038559920) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000385599d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000385599d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d9c57db9f90, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014ee730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001580200) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80003c997250) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c997250) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800038559670) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bc4b710,81,fffffd8007bfb820,ffff80003c997250) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069217360,ffff80003c997250) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069217360,ffff80003c997250) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069217360,ffff80003c997250) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069217360,ffff80003c997250) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c997250) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c997250,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c997250,ffff8000385599d0,ffff800038559920) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000385599d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000385599d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d9c57db9f90, count: -14