panic: mtx 0xffffffff839269b8: locking against myself Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *355966 3951 32767 0x10 0 1 syz-executor 276591 5948 32767 0x10 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833f6e92) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff839269b8) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff839269b8) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd8007da5770) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd8007da5770) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd8007da5770) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd806bbf5008,0,ffff80003340b238,ffff80003340b21c,0,2,69970fd5c25fcf84,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff80003340b450,ffff80003340b488,ffff80003340b2d0,ffff80003340b2b8) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff80003340b450,ffff80003340b488,ffff80003340b3d0) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806bc05980,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff80003340b5e0,200000000140) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80003340b5e0) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7c27d811a1d0, count: 2 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: mtx 0xffffffff839269b8: locking against myself ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833f6e92) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff839269b8) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff839269b8) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd8007da5770) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd8007da5770) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd8007da5770) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd806bbf5008,0,ffff80003340b238,ffff80003340b21c,0,2,69970fd5c25fcf84,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff80003340b450,ffff80003340b488,ffff80003340b2d0,ffff80003340b2b8) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff80003340b450,ffff80003340b488,ffff80003340b3d0) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806bc05980,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff80003340b5e0,200000000140) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80003340b5e0) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7c27d811a1d0, count: -13 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003340af70 rbx 0xffff8000299dedd7 rdx 0 rcx 0xffff80003c44b9c8 rax 0xffff8000299ddff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x6cd8e9285bf0d726 r11 0x722b5a2437669fe r12 0xffff8000299debd8 r13 0 r14 0 r15 0x1 rip 0xffffffff811a76d5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003340af60 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=355966 pid=3951 tcnt=4 stat=onproc flags process=10 proc=0 runpri=55, usrpri=55, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c44aa68,0xffff80003c44a038 process=0xffff80003c4466f0 user=0xffff800033406000, vmspace=0xfffffd806bc05980 estcpu=5, cpticks=4, pctcpu=0.0, user=3, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND * 3951 355966 26673 32767 7 0x10 syz-executor 3951 511685 26673 32767 3 0x4000090 fsleep syz-executor 3951 507829 26673 32767 3 0x4000090 fsleep syz-executor 3951 281430 26673 32767 3 0x4000010 biowait syz-executor 14689 298716 26804 32767 2 0x10 syz-executor 14689 345025 26804 32767 3 0x4000090 fsleep syz-executor 14689 303165 26804 32767 2 0x4000010 syz-executor 56019 292181 80299 32767 2 0x10 syz-executor 56019 517474 80299 32767 2 0x4000010 syz-executor 22966 480022 41733 32767 2 0x10 syz-executor 22966 141299 41733 32767 3 0x4000090 sbwait syz-executor 1581 483076 32954 32767 2 0x10 syz-executor 1581 364555 32954 32767 3 0x4000090 fsleep syz-executor 5948 276591 46626 32767 7 0x10 syz-executor 5948 178589 46626 32767 3 0x4000090 ttyin syz-executor 5948 265768 46626 32767 3 0x4000090 fsleep syz-executor 5948 66608 46626 32767 3 0x4000090 fsleep syz-executor 80520 457123 72782 32767 3 0x90 nanoslp syz-executor 80520 289320 72782 32767 3 0x4000090 kqread syz-executor 80520 127652 72782 32767 3 0x4000090 fsleep syz-executor 20414 317275 47067 32767 2 0x400010 syz-executor 20414 207098 47067 32767 3 0x4400090 kqread syz-executor 20414 100519 47067 32767 3 0x4400090 fsleep syz-executor 20414 111660 47067 32767 3 0x4400090 fsleep syz-executor 65292 222984 0 0 3 0x14200 bored sosplice 26804 67965 81181 32767 2 0x10 syz-executor 41733 10114 39946 32767 3 0x90 nanoslp syz-executor 32954 389359 86300 32767 3 0x90 nanoslp syz-executor 26673 172877 65341 32767 3 0x90 nanoslp syz-executor 80299 255874 40773 32767 3 0x90 nanoslp syz-executor 47067 84113 27979 32767 3 0x90 nanoslp syz-executor 46626 511686 64903 32767 2 0x10 syz-executor 72782 33247 85169 32767 3 0x90 nanoslp syz-executor 39946 395160 60732 0 3 0x82 wait syz-executor 86300 84976 60732 0 3 0x82 wait syz-executor 81181 157355 60732 0 3 0x82 wait syz-executor 65341 255703 60732 0 3 0x82 wait syz-executor 40773 476086 60732 0 3 0x82 wait syz-executor 27979 141577 60732 0 3 0x82 wait syz-executor 85169 283791 60732 0 3 0x82 wait syz-executor 64903 434433 60732 0 3 0x82 wait syz-executor 60732 511106 91624 0 3 0x82 kqread syz-executor 91624 371178 72339 0 3 0x10008a sigsusp ksh 72339 72511 88838 0 3 0x98 kqread sshd-session 88838 269891 87848 0 3 0x92 kqread sshd-session 86136 438590 1 0 3 0x100083 ttyin getty 87848 234670 1 0 3 0x88 kqread sshd 5685 115767 839 73 3 0x1100090 kqread syslogd 839 203390 1 0 3 0x100082 sbwait syslogd 55080 213140 1 0 3 0x100080 kqread resolvd 41071 144388 59231 77 3 0x100092 kqread dhcpleased 97377 180725 59231 77 3 0x100092 kqread dhcpleased 59231 14712 1 0 3 0x80 kqread dhcpleased 89401 293598 0 0 3 0x14200 bored smr 6081 55044 0 0 2 0x14200 zerothread 97191 343183 0 0 3 0x14200 aiodoned aiodoned 8673 100466 0 0 3 0x14200 syncer update 10100 461431 0 0 3 0x14200 cleaner cleaner 6250 379510 0 0 3 0x14200 reaper reaper 89783 518699 0 0 3 0x14200 pgdaemon pagedaemon 93459 288557 0 0 3 0x14200 bored viomb 34047 380592 0 0 3 0x40014200 acpi0 acpi0 95033 267432 0 0 3 0x40014200 idle1 37906 28895 0 0 3 0x14200 bored softnet7 80907 383153 0 0 3 0x14200 bored softnet6 81754 477929 0 0 3 0x14200 bored softnet5 55002 206376 0 0 3 0x14200 bored softnet4 71460 43490 0 0 3 0x14200 bored softnet3 35515 335099 0 0 3 0x14200 bored softnet2 65623 74880 0 0 3 0x14200 bored softnet1 23122 467027 0 0 3 0x14200 bored softnet0 94880 129006 0 0 3 0x14200 bored systqmp 85917 210906 0 0 3 0x14200 bored systq 6045 305592 0 0 3 0x14200 tmoslp softclockmp 29264 416401 0 0 3 0x40014200 tmoslp softclock 30933 305905 0 0 3 0x40014200 idle0 1 36766 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &uvm.pageqlock r = 0 (0xffffffff839269c8) #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+0x62 sys/kern/kern_lock.c:261 #3 uvn_get+0x679 sys/uvm/uvm_vnode.c:1117 #4 uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 #5 uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 #6 uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 #7 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #8 usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 #9 recall_trap+0x8 Process 3951 (syz-executor) thread 0xffff80003c44b9c8 (355966) exclusive rwlock uobjlk r = 0 (0xfffffd805ded6648) #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 uvn_io+0x667 sys/uvm/uvm_vnode.c:1297 #3 uvn_get+0x31d sys/uvm/uvm_vnode.c:1102 #4 uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 #5 uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 #6 uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 #7 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #8 usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 #9 recall_trap+0x8 exclusive mutex &uvm.pageqlock r = 0 (0xffffffff839269c8) #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+0x62 sys/kern/kern_lock.c:261 #3 uvn_get+0x679 sys/uvm/uvm_vnode.c:1117 #4 uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 #5 uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 #6 uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 #7 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #8 usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 #9 recall_trap+0x8 Process 3951 (syz-executor) thread 0xffff80003c4ae2c0 (281430) exclusive rrwlock inode r = 0 (0xfffffd800c08d9a0) #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 rrw_enter+0xc6 sys/kern/kern_rwlock.c:605 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 sys_ftruncate+0x1c4 sys/kern/vfs_syscalls.c:2912 #6 syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10219 10960K 10968K 166960K 11298 0 pcb 17 12K 12K 166960K 17 0 rtable 209 6K 6K 166960K 263 0 pf 31 16K 16K 166960K 31 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 3 1K 9K 166960K 8 0 counters 68 36K 36K 166960K 68 0 ioctlops 0 0K 2K 166960K 30 0 iov 0 0K 16K 166960K 44 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1335 84K 84K 166960K 1356 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 116 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 26 97K 125K 166960K 283 0 sigio 0 0K 0K 166960K 10 0 proc 58 79K 127K 166960K 498 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 29 0 in_multi 99 7K 7K 166960K 107 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 349 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 273 161K 170K 166960K 4029 0 UVM aobj 14 2K 3K 166960K 15 0 pinsyscall 47 94K 112K 166960K 1295 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 8 0 NDP 11 0K 2K 166960K 27 0 temp 37 8674K 8738K 166960K 4346 0 kqueue 15 20K 30K 166960K 46 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 46 0 43 1 0 1 1 0 8 0 rtentry 176 97 0 1 5 0 5 5 0 8 0 unpcb 144 217 0 192 4 0 4 4 0 8 3 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 198 0 191 7 0 7 7 0 8 5 arp 128 10 0 0 1 0 1 1 0 8 0 inpcb 328 397 0 381 7 0 7 7 0 8 4 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 144 18 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 0 29 0 29 29 0 8 0 art_table 40 454 0 0 5 0 5 5 0 8 0 art_node 32 97 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semapl 112 114 0 104 1 0 1 1 0 8 0 shmpl 112 12 0 1 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 1761 0 252 95 0 95 95 0 8 0 ffsino 288 1761 0 252 109 0 109 109 0 8 0 nchpl 144 2150 0 467 63 0 63 63 0 8 0 uvmvnodes 80 1842 0 0 38 0 38 38 0 8 0 vnodes 216 1842 0 0 103 0 103 103 0 8 0 namei 1024 6642 0 6642 2 0 2 2 0 8 2 percpumem 16 49 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 7580 0 7578 3 2 1 2 1 8 0 plimitpl 152 115 0 88 2 0 2 2 0 8 0 sigapl 424 563 0 502 8 0 8 8 0 8 1 knotepl 120 318 0 0 10 0 10 10 0 8 0 kqueuepl 224 65 0 49 2 0 2 2 0 8 1 pipepl 336 112 0 85 3 0 3 3 0 8 0 fdescpl 520 540 0 502 4 0 4 4 0 8 0 filepl 160 2603 0 2311 15 0 15 15 0 8 1 lockfpl 104 53 0 49 1 0 1 1 0 8 0 lockfspl 48 19 0 15 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 40 0 16 1 0 1 1 0 8 0 ucredpl 104 310 0 291 1 0 1 1 0 8 0 zombiepl 144 502 0 502 1 0 1 1 0 8 1 processpl 1240 563 0 502 7 1 6 6 0 8 0 procpl 656 788 0 711 7 0 7 7 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 728 662 0 618 13 0 13 13 0 8 8 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 120 0 0 15 0 15 15 0 8 0 mcl2k 2048 29 0 0 4 0 4 4 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 245 0 0 16 0 16 16 0 8 0 bufpl 280 3057 0 116 211 0 211 211 0 8 0 anonpl 32 11498 0 0 93 0 93 93 0 246 0 amapchunkpl 152 12782 0 12048 34 4 30 30 0 158 1 amappl16 200 2617 0 2527 27 6 21 27 0 8 16 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 108 0 98 1 0 1 1 0 8 0 amappl13 176 1 0 1 1 1 0 1 0 8 0 amappl12 168 1142 0 1103 2 0 2 2 0 8 0 amappl11 160 56 0 46 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 285 0 285 1 1 0 1 0 8 0 amappl8 136 34 0 33 1 0 1 1 0 8 0 amappl7 128 117 0 107 1 0 1 1 0 8 0 amappl6 120 170 0 166 1 0 1 1 0 8 0 amappl5 112 113 0 106 1 0 1 1 0 8 0 amappl4 104 263 0 248 1 0 1 1 0 8 0 amappl3 96 2147 0 2005 4 0 4 4 0 8 0 amappl2 88 606 0 552 2 0 2 2 0 8 0 amappl1 80 8861 0 8288 14 0 14 14 0 8 0 amappl 88 3371 0 3164 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 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 540 0 502 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 540 0 502 1 0 1 1 0 8 0 vmmpekpl 168 5835 0 5801 2 0 2 2 0 8 0 vmmpepl 168 41262 0 39027 116 0 116 116 0 357 18 vmsppl 480 539 0 502 7 1 6 6 0 8 0 rwobjpl 72 16257 0 13474 57 0 57 57 0 8 2 pdppl 4096 1087 0 1004 111 26 85 97 0 8 2 pvpl 32 18414 0 0 150 1 149 149 0 265 0 pmappl 256 539 0 502 4 1 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 405 0 29 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8388aff0) 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 __mp_lock(ffffffff83a12fc8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83a12fc8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003a842f00,ffff800000079a80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x35 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x35 sys/dev/kcov.c:230 sys_nanosleep(ffff80003c44b218,ffff80003a843150,ffff80003a8430a0) at sys_nanosleep+0xa5 sys/kern/kern_time.c:293 syscall(ffff80003a843150) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a843150) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x797da7c76950, count: 5 ddb{0}> trace x86_ipi_db(ffffffff8388aff0) 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 __mp_lock(ffffffff83a12fc8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83a12fc8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003a842f00,ffff800000079a80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x35 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x35 sys/dev/kcov.c:230 sys_nanosleep(ffff80003c44b218,ffff80003a843150,ffff80003a8430a0) at sys_nanosleep+0xa5 sys/kern/kern_time.c:293 syscall(ffff80003a843150) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a843150) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x797da7c76950, count: -10 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833f6e92) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff839269b8) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff839269b8) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd8007da5770) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd8007da5770) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd8007da5770) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd806bbf5008,0,ffff80003340b238,ffff80003340b21c,0,2,69970fd5c25fcf84,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff80003340b450,ffff80003340b488,ffff80003340b2d0,ffff80003340b2b8) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff80003340b450,ffff80003340b488,ffff80003340b3d0) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806bc05980,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff80003340b5e0,200000000140) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80003340b5e0) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7c27d811a1d0, count: 2 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833f6e92) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff839269b8) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff839269b8) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd8007da5770) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd8007da5770) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd8007da5770) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd806bbf5008,0,ffff80003340b238,ffff80003340b21c,0,2,69970fd5c25fcf84,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff80003340b450,ffff80003340b488,ffff80003340b2d0,ffff80003340b2b8) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff80003340b450,ffff80003340b488,ffff80003340b3d0) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806bc05980,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff80003340b5e0,200000000140) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80003340b5e0) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7c27d811a1d0, count: -13