uvm_fault(0xfffffd806d20fa28, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at dt_ioctl_record_stop+0x108: movq 0(%r14),%r14
TID PID UID PRFLAGS PFLAGS CPU COMMAND
dt_ioctl_record_stop(ffff80000160e300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593
dtclose(11e60,1,2000,ffff80003c8fbca8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e60,1,2000,ffff80003c8fbca8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239
spec_close(ffff80003c8e6c40) at spec_close+0x466 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd8069ab65f0,1,fffffd8007ffd8f0,ffff80003c8fbca8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156
vn_closefile(fffffd806c959538,ffff80003c8fbca8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffd806c959538,ffff80003c8fbca8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621
fdrop(fffffd806c959538,ffff80003c8fbca8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffffd806c959538,ffff80003c8fbca8) at closef+0x190 sys/kern/kern_descrip.c:1265
fdfree(ffff80003c8fbca8) at fdfree+0x115 sys/kern/kern_descrip.c:1196
exit1(ffff80003c8fbca8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215
sys_exit(ffff80003c8fbca8,ffff80003c8e6fa0,ffff80003c8e6ef0) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80003c8e6fa0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c8e6fa0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e9037069d30, count: 3
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(0xfffffd806d20fa28, 0x0, 0, 1) -> e
ddb> trace
dt_ioctl_record_stop(ffff80000160e300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593
dtclose(11e60,1,2000,ffff80003c8fbca8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e60,1,2000,ffff80003c8fbca8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239
spec_close(ffff80003c8e6c40) at spec_close+0x466 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd8069ab65f0,1,fffffd8007ffd8f0,ffff80003c8fbca8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156
vn_closefile(fffffd806c959538,ffff80003c8fbca8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffd806c959538,ffff80003c8fbca8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621
fdrop(fffffd806c959538,ffff80003c8fbca8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffffd806c959538,ffff80003c8fbca8) at closef+0x190 sys/kern/kern_descrip.c:1265
fdfree(ffff80003c8fbca8) at fdfree+0x115 sys/kern/kern_descrip.c:1196
exit1(ffff80003c8fbca8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215
sys_exit(ffff80003c8fbca8,ffff80003c8e6fa0,ffff80003c8e6ef0) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80003c8e6fa0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c8e6fa0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e9037069d30, count: -12
ddb> show registers
rdi 0
rsi 0
rbp 0xffff80003c8e6b70
rbx 0x1
rdx 0
rcx 0xffff80003c8fbca8
rax 0xffffffff83944eb0 dt_prov_static
r8 0
r9 0
r10 0x49091fee1bb4eb26
r11 0x1139d6ee9999c2ef
r12 0
r13 0
r14 0
r15 0xffff80000166be00
rip 0xffffffff827dbbe8 dt_ioctl_record_stop+0x108
cs 0x8
rflags 0x10207 __ALIGN_SIZE+0xf207
rsp 0xffff80003c8e6b40
ss 0x10
dt_ioctl_record_stop+0x108: movq 0(%r14),%r14
ddb> show proc
PROC (syz-executor) tid=133487 pid=20492 tcnt=0 stat=onproc
flags process=1018<EXITING,SUGID,SINGLEEXIT> proc=2000<WEXIT>
runpri=32, usrpri=80, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0xffff80003c8fbca8 scnt=-1 ecnt=1
forw=0xffffffffffffffff, list=0xffff80003c8fa7e8,0xffff80003c8fa560
process=0xffff8000ffff8918 user=0xffff80003c8e2000, vmspace=0xfffffd806d20fa28
estcpu=30, cpticks=13, pctcpu=0.4, user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
1468 154718 36966 0 2 0 syz-executor
1468 207791 36966 0 3 0x4000080 fsleep syz-executor
1468 68445 36966 0 3 0x4000080 fsleep syz-executor
258 94779 77134 0 2 0 syz-executor
258 195318 77134 0 3 0x4000080 fsleep syz-executor
95137 183969 20482 0 2 0x10 syz-executor
95137 209432 20482 0 3 0x4000090 fsleep syz-executor
95137 148434 20482 0 3 0x4000090 fsleep syz-executor
95137 407460 20482 0 3 0x4000090 fsleep syz-executor
31816 390189 4247 0 2 0 syz-executor
31816 50670 4247 0 3 0x4000080 fsleep syz-executor
48478 449050 97570 0 2 0 syz-executor
48478 178390 97570 0 3 0x4000080 fsleep syz-executor
48478 220756 97570 0 3 0x4000080 fsleep syz-executor
5153 140338 98608 0 2 0x1 syz-executor
5153 406798 98608 0 3 0x4000080 fsleep syz-executor
5153 254200 98608 0 3 0x4000080 fsleep syz-executor
37963 137501 33038 0 2 0x1 syz-executor
37963 368444 33038 0 3 0x4000080 fsleep syz-executor
37963 151361 33038 0 3 0x4000080 fsleep syz-executor
19591 256195 1 0 3 0x100083 ttyin getty
4694 303757 0 0 3 0x14200 acct acct
33038 108412 4999 0 3 0x82 nanoslp syz-executor
98608 117388 4999 0 3 0x82 nanoslp syz-executor
77134 329167 4999 0 3 0x82 nanoslp syz-executor
97570 520212 4999 0 3 0x82 nanoslp syz-executor
96191 411224 4999 0 3 0x82 nanoslp syz-executor
20482 38662 4999 0 3 0x82 nanoslp syz-executor
4247 84659 4999 0 3 0x82 nanoslp syz-executor
36966 312157 4999 0 3 0x82 nanoslp syz-executor
4999 128938 38169 0 3 0x82 kqread syz-executor
38169 283139 56281 0 3 0x10008a sigsusp ksh
56281 159653 69204 0 3 0x98 kqread sshd-session
69204 268717 29708 0 3 0x92 kqread sshd-session
29708 102746 1 0 3 0x88 kqread sshd
58703 286166 25960 73 3 0x1100090 kqread syslogd
25960 290523 1 0 3 0x100082 sbwait syslogd
86062 57954 1 0 3 0x100080 kqread resolvd
52622 125991 39018 77 3 0x100092 kqread dhcpleased
24924 171532 39018 77 3 0x100092 kqread dhcpleased
39018 327470 1 0 3 0x80 kqread dhcpleased
3690 21329 0 0 3 0x14200 bored smr
83158 19782 0 0 2 0x14200 zerothread
27393 43537 0 0 3 0x14200 aiodoned aiodoned
1408 85807 0 0 3 0x14200 syncer update
66084 341884 0 0 3 0x14200 cleaner cleaner
44047 181625 0 0 2 0x14200 reaper
46200 8790 0 0 3 0x14200 pgdaemon pagedaemon
12655 283173 0 0 3 0x14200 bored viomb
50268 502735 0 0 3 0x40014200 acpi0 acpi0
67127 133145 0 0 2 0x14200 softnet0
31620 477324 0 0 3 0x14200 bored systqmp
20239 512063 0 0 3 0x14200 bored systq
812 284003 0 0 3 0x40014200 tmoslp softclock
24608 437256 0 0 3 0x40014200 idle0
1 205245 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 11044 12118K 12398K 166960K 12633 0
pcb 18 13K 13K 166960K 85 0
rtable 183 14K 15K 166960K 388 0
pf 29 12K 15K 166960K 56 0
ifaddr 32 5K 7K 166960K 57 0
ifgroup 46 2K 2K 166960K 80 0
sysctl 4 1K 9K 166960K 13 0
counters 32 17K 18K 166960K 49 0
ioctlops 0 0K 4K 166960K 95 0
iov 0 0K 12K 166960K 16 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1359 86K 86K 166960K 1655 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 20K 24K 166960K 11 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 0K 166960K 81 0
dirhash 12 2K 2K 166960K 24 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 18 65K 93K 166960K 424 0
sigio 0 0K 0K 166960K 1 0
proc 60 59K 100K 166960K 531 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 34 0
in_multi 66 4K 7K 166960K 110 0
ether_multi 1 0K 0K 166960K 8 0
mrt 0 0K 0K 166960K 16 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 2K 166960K 388 0
fusefs mount 1 32K 32K 166960K 1 0
pfkey data 0 0K 0K 166960K 2 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 230 151K 165K 166960K 5403 0
UVM aobj 12 2K 2K 166960K 12 0
pinsyscall 39 78K 94K 166960K 1528 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 10 0K 2K 166960K 38 0
temp 46 9108K 9236K 166960K 14821 0
kqueue 14 22K 28K 166960K 78 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 47 0 44 1 0 1 1 0 8 0
rtentry 136 114 0 37 4 0 4 4 0 8 0
unpcb 144 228 0 209 1 0 1 1 0 8 0
syncache 336 5 0 4 2 1 1 1 0 8 0
tcpcb 736 76 0 70 1 0 1 1 0 8 0
arp 96 18 0 6 1 0 1 1 0 8 0
inpcb 328 358 0 348 9 5 4 7 0 8 2
ip6q 72 1 0 1 1 1 0 1 0 8 0
ip6af 40 2 0 2 1 1 0 1 0 8 0
nd6 112 25 0 10 1 0 1 1 0 8 0
pkpcb 40 67 0 67 1 1 0 1 0 8 0
kcovpl 48 8 0 0 1 0 1 1 0 8 0
ppxss 1072 13 0 13 1 0 1 1 0 8 1
pfstscr 40 1 0 0 1 0 1 1 0 8 0
pfrktable 1344 2 0 2 1 1 0 1 0 8 0
pfstitem 24 2 0 0 1 0 1 1 0 8 0
pfstkey 128 2 0 0 1 0 1 1 0 8 0
pfstate 384 1 0 0 1 0 1 1 0 8 0
pfrule 1360 1 0 1 1 1 0 1 0 8 0
rttmr 136 2 0 2 1 1 0 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 498 0 178 30 5 25 30 0 8 0
art_table 40 499 0 178 5 0 5 5 0 8 0
art_node 32 114 0 44 1 0 1 1 0 8 0
sysvmsgpl 40 7 0 5 1 0 1 1 0 8 0
semupl 112 1 0 1 1 1 0 1 0 8 0
semapl 72 79 0 69 1 0 1 1 0 8 0
shmpl 112 9 0 0 1 0 1 1 0 8 0
dirhash 1024 25 0 8 3 0 3 3 0 8 0
dino2pl 256 2098 0 641 92 0 92 92 0 8 0
ffsino 256 2098 0 641 92 0 92 92 0 8 0
nchpl 144 2715 0 1015 64 0 64 64 0 8 0
rtmask 32 3 0 3 1 0 1 1 0 8 1
vnodes 216 2376 0 0 132 0 132 132 0 8 0
namei 1024 8340 0 8340 3 2 1 2 0 8 1
kstatmem 264 45 0 24 2 0 2 2 0 8 0
scsiplug 72 2 0 2 1 1 0 1 0 8 0
scxspl 216 8757 0 8757 4 3 1 4 1 8 1
plimitpl 152 96 0 79 1 0 1 1 0 8 0
sigapl 424 721 0 677 6 1 5 6 0 8 0
knotepl 120 13301 0 13017 23 14 9 16 0 8 0
kqueuepl 184 103 0 93 1 0 1 1 0 8 0
pipepl 304 135 0 108 3 0 3 3 0 8 0
fdescpl 448 707 0 677 5 1 4 5 0 8 0
filepl 120 3458 0 3233 12 4 8 11 0 8 0
lockfpl 104 105 0 102 1 0 1 1 0 8 0
lockfspl 48 48 0 45 1 0 1 1 0 8 0
sessionpl 144 37 0 28 1 0 1 1 0 8 0
pgrppl 48 46 0 29 1 0 1 1 0 8 0
ucredpl 104 396 0 383 1 0 1 1 0 8 0
zombiepl 144 688 0 687 3 2 1 1 0 8 0
processpl 1152 721 0 677 4 0 4 4 0 8 0
procpl 664 1158 0 1100 6 1 5 6 0 8 0
sosppl 176 2 0 2 1 1 0 1 0 8 0
sockpl 552 705 0 673 10 5 5 8 0 8 2
mcl64k 65536 86 0 86 3 2 1 1 0 8 1
mcl16k 16384 4 0 4 1 1 0 1 0 8 0
mcl12k 12288 1 0 1 1 1 0 1 0 8 0
mcl8k 8192 9 0 9 1 1 0 1 0 8 0
mcl4k 4096 2896 0 2842 13 5 8 13 0 8 0
mcl2k 2048 340 0 336 3 1 2 3 0 8 0
mtagpl 96 9 0 6 1 0 1 1 0 8 0
mbufpl 256 7520 0 7382 23 11 12 23 0 8 0
bufpl 280 2920 0 102 202 0 202 202 0 8 0
anonpl 24 120945 0 117695 45 11 34 45 0 186 7
amapchunkpl 152 16933 0 16430 27 2 25 26 0 158 4
amappl16 200 2078 0 2049 14 11 3 14 0 8 0
amappl15 192 19 0 19 1 1 0 1 0 8 0
amappl14 184 415 0 414 1 0 1 1 0 8 0
amappl13 176 148 0 138 1 0 1 1 0 8 0
amappl12 168 954 0 925 2 0 2 2 0 8 0
amappl11 160 8 0 8 1 1 0 1 0 8 0
amappl10 152 61 0 51 1 0 1 1 0 8 0
amappl9 144 279 0 278 1 0 1 1 0 8 0
amappl8 136 94 0 93 1 0 1 1 0 8 0
amappl7 128 155 0 143 1 0 1 1 0 8 0
amappl6 120 151 0 149 1 0 1 1 0 8 0
amappl5 112 92 0 85 1 0 1 1 0 8 0
amappl4 104 263 0 247 1 0 1 1 0 8 0
amappl3 96 3291 0 3175 4 0 4 4 0 8 0
amappl2 88 523 0 466 2 0 2 2 0 8 0
amappl1 80 11299 0 10737 13 1 12 13 0 8 0
amappl 88 4656 0 4489 4 0 4 4 0 92 0
uvmvnodes 80 115 0 0 3 0 3 3 0 8 0
dma8192 8192 1 0 1 1 1 0 1 0 8 0
dma4096 4096 1 0 1 1 1 0 1 0 8 0
dma1024 1024 2 0 1 1 0 1 1 0 8 0
dma256 256 6 0 6 1 1 0 1 0 8 0
dma128 128 254 0 254 1 1 0 1 0 8 0
dma64 64 7 0 7 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 11 0 0 1 0 1 1 0 8 0
uaddrrnd 24 707 0 677 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 707 0 677 1 0 1 1 0 8 0
vmmpekpl 168 7397 0 7363 2 0 2 2 0 8 0
vmmpepl 168 52776 0 50915 91 9 82 91 0 357 0
vmsppl 368 706 0 677 4 1 3 4 0 8 0
rwobjpl 40 17264 0 16269 13 2 11 13 0 8 0
pdppl 4096 1420 0 1354 100 34 66 80 0 8 0
pvpl 32 318000 0 309562 104 6 98 104 0 265 5
pmappl 216 706 0 677 3 0 3 3 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 382 0 69 10 0 10 10 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
dt_ioctl_record_stop(ffff80000160e300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593
dtclose(11e60,1,2000,ffff80003c8fbca8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e60,1,2000,ffff80003c8fbca8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239
spec_close(ffff80003c8e6c40) at spec_close+0x466 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd8069ab65f0,1,fffffd8007ffd8f0,ffff80003c8fbca8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156
vn_closefile(fffffd806c959538,ffff80003c8fbca8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffd806c959538,ffff80003c8fbca8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621
fdrop(fffffd806c959538,ffff80003c8fbca8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffffd806c959538,ffff80003c8fbca8) at closef+0x190 sys/kern/kern_descrip.c:1265
fdfree(ffff80003c8fbca8) at fdfree+0x115 sys/kern/kern_descrip.c:1196
exit1(ffff80003c8fbca8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215
sys_exit(ffff80003c8fbca8,ffff80003c8e6fa0,ffff80003c8e6ef0) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80003c8e6fa0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c8e6fa0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e9037069d30, count: -12
ddb> machine ddbcpu 1
No such command
ddb> trace
dt_ioctl_record_stop(ffff80000160e300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593
dtclose(11e60,1,2000,ffff80003c8fbca8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e60,1,2000,ffff80003c8fbca8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239
spec_close(ffff80003c8e6c40) at spec_close+0x466 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd8069ab65f0,1,fffffd8007ffd8f0,ffff80003c8fbca8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156
vn_closefile(fffffd806c959538,ffff80003c8fbca8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffd806c959538,ffff80003c8fbca8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621
fdrop(fffffd806c959538,ffff80003c8fbca8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffffd806c959538,ffff80003c8fbca8) at closef+0x190 sys/kern/kern_descrip.c:1265
fdfree(ffff80003c8fbca8) at fdfree+0x115 sys/kern/kern_descrip.c:1196
exit1(ffff80003c8fbca8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215
sys_exit(ffff80003c8fbca8,ffff80003c8e6fa0,ffff80003c8e6ef0) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80003c8e6fa0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c8e6fa0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e9037069d30, count: -12