uvm_fault(0xfffffd806ccd5180, 0x18, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x6e: movq 0(%r14),%r15 TID PID UID PRFLAGS PFLAGS CPU COMMAND mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001621c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001616580) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80002a77a548) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a77a548) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c904e10) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8065f75880,81,fffffd8007ffd6e8,ffff80002a77a548) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cfb71f8,ffff80002a77a548) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cfb71f8,ffff80002a77a548) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cfb71f8,ffff80002a77a548) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cfb71f8,ffff80002a77a548) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80002a77a548) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80002a77a548,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a77a548,ffff80003c905170,ffff80003c9050c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c905170) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c905170) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d11ace24c60, 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(0xfffffd806ccd5180, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001621c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001616580) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80002a77a548) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a77a548) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c904e10) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8065f75880,81,fffffd8007ffd6e8,ffff80002a77a548) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cfb71f8,ffff80002a77a548) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cfb71f8,ffff80002a77a548) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cfb71f8,ffff80002a77a548) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cfb71f8,ffff80002a77a548) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80002a77a548) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80002a77a548,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a77a548,ffff80003c905170,ffff80003c9050c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c905170) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c905170) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d11ace24c60, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c904cc0 rbx 0 rdx 0 rcx 0xffff80002a77a548 rax 0xffff80002a77a500 r8 0xffffffffffffffff r9 0 r10 0x8c72465c3b784a1f r11 0xa0a7d69b52607df8 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff821730ce mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c904c90 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=123225 pid=16560 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a77a548 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a8814e8,0xffff80002a880d30 process=0xffff8000344e2898 user=0xffff80003c900000, vmspace=0xfffffd806ccd5180 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19470 259885 78243 0 2 0xc80 syz-executor 19470 215588 78243 0 3 0x4000080 fsleep syz-executor 19470 305053 78243 0 3 0x4000080 fsleep syz-executor 17386 13750 66714 0 2 0xc80 syz-executor 17386 5741 66714 0 3 0x4000080 kqread syz-executor 17386 113095 66714 0 3 0x4000080 fsleep syz-executor 17386 122040 66714 0 3 0x4000080 fsleep syz-executor 88243 516549 37716 0 3 0x80 nanoslp syz-executor 88243 468168 37716 0 3 0x4000080 kqsel syz-executor 88243 326908 37716 0 3 0x4000080 fsleep syz-executor 13773 310973 50227 0 3 0x80 nanoslp syz-executor 13773 138003 50227 0 3 0x4000080 netacc syz-executor 13773 97017 50227 0 3 0x4000080 fsleep syz-executor 61923 451476 82733 0 3 0x3000 suspend syz-executor 61923 113574 82733 0 2 0x4081000 syz-executor 61923 287811 82733 0 3 0x4081000 inode syz-executor 37716 96426 22539 0 3 0x82 nanoslp syz-executor 82733 426883 22539 0 3 0x82 nanoslp syz-executor 47573 301608 0 0 3 0x14200 acct acct 78243 286558 22539 0 2 0xc82 syz-executor 50227 462263 22539 0 3 0x82 nanoslp syz-executor 66714 497169 22539 0 2 0xc82 syz-executor 67080 269401 22539 0 2 0x2 syz-executor 67408 496836 22539 0 3 0x82 nanoslp syz-executor 27545 390386 22539 0 3 0x82 nanoslp syz-executor 22539 343023 5621 0 3 0x82 kqread syz-executor 5621 419424 24089 0 3 0x10008a sigsusp ksh 24089 210610 77387 0 3 0x98 kqread sshd-session 77387 303799 9814 0 3 0x92 kqread sshd-session 25928 406642 1 0 3 0x100083 ttyopn getty 9814 175713 1 0 3 0x88 kqread sshd 91397 504784 41967 73 3 0x1100090 kqread syslogd 41967 521812 1 0 3 0x100082 sbwait syslogd 1447 221999 1 0 3 0x100080 kqread resolvd 57717 466840 29236 77 3 0x100092 kqread dhcpleased 83062 287862 29236 77 3 0x100092 kqread dhcpleased 29236 115105 1 0 3 0x80 kqread dhcpleased 47987 494354 0 0 3 0x14200 bored smr 16639 263980 0 0 2 0x14200 zerothread 95465 192782 0 0 3 0x14200 aiodoned aiodoned 37655 450248 0 0 3 0x14200 syncer update 21356 442684 0 0 3 0x14200 cleaner cleaner 32346 217202 0 0 3 0x14200 reaper reaper 23988 21403 0 0 3 0x14200 pgdaemon pagedaemon 91576 185215 0 0 3 0x14200 bored viomb 94498 418729 0 0 3 0x40014200 acpi0 acpi0 10745 60302 0 0 3 0x14200 bored softnet0 9848 235014 0 0 3 0x14200 bored systqmp 70601 516407 0 0 3 0x14200 bored systq 43563 35905 0 0 3 0x40014200 tmoslp softclock 95557 190405 0 0 3 0x40014200 idle0 1 490499 0 0 3 0x80082 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 11071 12290K 12840K 166960K 14033 0 pcb 19 16K 26K 166960K 283 0 rtable 200 8K 8K 166960K 610 0 pf 31 13K 16K 166960K 141 0 ifaddr 35 6K 7K 166960K 114 0 ifgroup 50 2K 2K 166960K 188 0 sysctl 4 1K 9K 166960K 12 0 counters 33 17K 18K 166960K 106 0 ioctlops 0 0K 4K 166960K 272 0 iov 0 0K 16K 166960K 175 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1455 91K 92K 166960K 2391 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 0K 166960K 48 0 dirhash 12 2K 3K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 110K 166960K 1077 0 sigio 0 0K 0K 166960K 49 0 proc 60 59K 91K 166960K 676 0 subproc 72 4K 4K 166960K 100 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 290 0 in_multi 74 5K 7K 166960K 175 0 ether_multi 1 0K 0K 166960K 9 0 mrt 0 0K 0K 166960K 29 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 507 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 233 159K 175K 166960K 11145 0 UVM aobj 45 22K 22K 166960K 48 0 pinsyscall 38 76K 92K 166960K 2249 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 83 0 NDP 11 0K 2K 166960K 79 0 temp 79 9076K 9140K 166960K 35664 0 kqueue 15 24K 31K 166960K 216 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 119 0 116 1 0 1 1 0 8 0 rtentry 136 173 0 93 4 0 4 4 0 8 0 unpcb 144 637 0 620 4 0 4 4 0 8 3 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpqe 32 3 0 3 1 0 1 1 0 8 1 tcpcb 736 435 0 425 7 0 7 7 0 8 5 arp 96 25 0 11 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 5 0 2 1 0 1 1 0 8 0 inpcb 328 1591 0 1575 12 2 10 12 0 8 7 ip6q 72 5 0 2 1 0 1 1 0 8 0 ip6af 40 8 0 5 1 0 1 1 0 8 0 nd6 112 37 0 18 1 0 1 1 0 8 0 pkpcb 40 40 0 40 1 0 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 56 0 56 1 0 1 1 0 8 1 pppxif 1384 7 0 7 1 0 1 1 0 8 1 pfrktable 1344 3 0 3 1 0 1 1 0 8 1 pfanchor 1288 3 0 3 1 0 1 1 0 8 1 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 1 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1360 3 0 2 1 0 1 1 0 8 0 rttmr 136 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 796 0 459 29 1 28 29 0 8 6 art_table 40 799 0 459 5 0 5 5 0 8 0 art_node 32 171 0 100 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 43 0 33 1 0 1 1 0 8 0 shmpl 112 36 0 3 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3353 0 1896 92 0 92 92 0 8 0 ffsino 256 3353 0 1896 92 0 92 92 0 8 0 nchpl 144 4774 0 3072 64 0 64 64 0 8 0 rtmask 32 14 0 14 1 0 1 1 0 8 1 vnodes 216 4033 0 0 225 0 225 225 0 8 0 namei 1024 16131 0 16130 3 2 1 2 0 8 0 vcpupl 3904 9 0 0 2 0 2 2 0 8 0 vmpool 808 9 0 0 1 0 1 1 0 8 0 kstatmem 264 114 0 92 2 0 2 2 0 8 0 scsiplug 72 9 0 9 1 0 1 1 0 8 1 scxspl 216 22799 0 22799 9 1 8 8 1 8 8 plimitpl 152 169 0 152 1 0 1 1 0 8 0 sigapl 424 1358 0 1315 6 0 6 6 0 8 0 knotepl 120 43415 0 43364 17 7 10 16 0 8 6 kqueuepl 184 432 0 420 6 2 4 4 0 8 3 pipepl 304 324 0 296 8 0 8 8 0 8 5 fdescpl 448 1344 0 1315 5 0 5 5 0 8 1 filepl 120 8940 0 8710 16 1 15 15 0 8 6 lockfpl 104 402 0 391 1 0 1 1 0 8 0 lockfspl 48 143 0 133 1 0 1 1 0 8 0 sessionpl 144 30 0 22 1 0 1 1 0 8 0 pgrppl 48 55 0 39 1 0 1 1 0 8 0 ucredpl 104 1181 0 1170 1 0 1 1 0 8 0 zombiepl 144 1318 0 1315 1 0 1 1 0 8 0 processpl 1152 1358 0 1315 4 0 4 4 0 8 0 procpl 664 2735 0 2681 6 0 6 6 0 8 0 sosppl 176 11 0 11 1 0 1 1 0 8 1 sockpl 552 2548 0 2512 17 5 12 17 0 8 7 mcl64k 65536 41 0 40 2 1 1 1 0 8 0 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 16 0 16 2 1 1 1 0 8 1 mcl4k 4096 3678 0 3624 16 8 8 15 0 8 0 mcl2k 2048 1387 0 1383 5 0 5 5 0 8 3 mtagpl 96 17 0 13 2 1 1 1 0 8 0 mbufpl 256 21009 0 20857 278 256 22 278 0 8 6 bufpl 280 8284 0 2066 445 0 445 445 0 8 0 anonpl 24 215837 0 210817 70 3 67 67 0 187 30 amapchunkpl 152 36898 0 36406 35 0 35 35 0 158 14 amappl16 200 4026 0 3894 22 9 13 15 0 8 6 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 443 0 442 1 0 1 1 0 8 0 amappl13 176 127 0 116 1 0 1 1 0 8 0 amappl12 168 1600 0 1572 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 59 0 49 1 0 1 1 0 8 0 amappl9 144 255 0 255 1 1 0 1 0 8 0 amappl8 136 110 0 108 1 0 1 1 0 8 0 amappl7 128 44 0 41 1 0 1 1 0 8 0 amappl6 120 359 0 349 1 0 1 1 0 8 0 amappl5 112 94 0 86 1 0 1 1 0 8 0 amappl4 104 521 0 487 3 1 2 2 0 8 0 amappl3 96 6364 0 6275 3 0 3 3 0 8 0 amappl2 88 1438 0 1375 2 0 2 2 0 8 0 amappl1 80 14437 0 13897 14 1 13 13 0 8 0 amappl 88 10247 0 10079 5 0 5 5 0 92 1 uvmvnodes 80 123 0 0 3 0 3 3 0 8 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 7 0 7 2 1 1 1 0 8 1 dma128 128 256 0 256 2 1 1 1 0 8 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 47 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1344 0 1315 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1344 0 1315 1 0 1 1 0 8 0 vmmpekpl 168 12274 0 12217 3 0 3 3 0 8 0 vmmpepl 168 91440 0 89516 97 0 97 97 0 357 10 vmsppl 368 1343 0 1315 4 1 3 4 0 8 0 rwobjpl 40 26210 0 25084 14 1 13 13 0 8 0 pdppl 4096 2712 0 2639 112 35 77 79 0 8 4 pvpl 32 601044 0 590517 156 0 156 156 0 265 61 pmappl 216 1352 0 1315 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 663 0 308 18 0 18 18 0 8 5 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001621c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001616580) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80002a77a548) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a77a548) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c904e10) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8065f75880,81,fffffd8007ffd6e8,ffff80002a77a548) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cfb71f8,ffff80002a77a548) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cfb71f8,ffff80002a77a548) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cfb71f8,ffff80002a77a548) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cfb71f8,ffff80002a77a548) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80002a77a548) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80002a77a548,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a77a548,ffff80003c905170,ffff80003c9050c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c905170) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c905170) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d11ace24c60, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001621c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001616580) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80002a77a548) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a77a548) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c904e10) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8065f75880,81,fffffd8007ffd6e8,ffff80002a77a548) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cfb71f8,ffff80002a77a548) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cfb71f8,ffff80002a77a548) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cfb71f8,ffff80002a77a548) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cfb71f8,ffff80002a77a548) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80002a77a548) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80002a77a548,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a77a548,ffff80003c905170,ffff80003c9050c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c905170) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c905170) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d11ace24c60, count: -14