panic: mutex 0xfffffd8069f95308 not held in mtx_leave Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 81372 58573 73 0x1100010 0 1 syslogd db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83078e14) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_leave(fffffd8069f95308) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8069f95220,fffffd8069f95308,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8069f951f0,fffffd80780a6968,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd8069f951f0,ffff8000371bb720,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd8069f951f0,ffff8000371bb720,21000,3,7,5002,92956d88bc807af5,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff80003299c020,ffff8000371bb890,ffff8000371bb7e0) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff8000371bb890) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371bb890) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x795b51c106a0, count: 5 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: mutex 0xfffffd8069f95308 not held in mtx_leave ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83078e14) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_leave(fffffd8069f95308) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8069f95220,fffffd8069f95308,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8069f951f0,fffffd80780a6968,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd8069f951f0,ffff8000371bb720,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd8069f951f0,ffff8000371bb720,21000,3,7,5002,92956d88bc807af5,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff80003299c020,ffff8000371bb890,ffff8000371bb7e0) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff8000371bb890) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371bb890) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x795b51c106a0, count: -10 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000371bb300 rbx 0xffffffff834aedbf cpu_info_full_primary+0x2dbf rdx 0 rcx 0xffff80003299c020 rax 0xffffffff834adff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x6c734f23fcff940e r11 0xee0bbf39335c391e r12 0xffffffff834aebc0 cpu_info_full_primary+0x2bc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371bb2f0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=290202 pid=40678 tcnt=2 stat=sleep flags process=10 proc=20 runpri=86, usrpri=86, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003299c2a8,0xffff80003299d6f8 process=0xffff8000371d1240 user=0xffff8000371b6000, vmspace=0xfffffd8069f951f0 estcpu=36, cpticks=2, pctcpu=0.0, user=1, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 18456 144165 9501 32767 2 0x10 syz-executor 18456 385975 9501 32767 2 0x4000010 syz-executor 18456 233704 9501 32767 3 0x4000090 fsleep syz-executor 55320 264047 33819 0 2 0x2 arp 87034 363270 93803 32767 2 0x10 syz-executor 87034 374881 93803 32767 3 0x4000090 fsleep syz-executor 87034 105836 93803 32767 3 0x4000090 fsleep syz-executor 95788 144722 40759 32767 2 0x10 syz-executor 95788 90243 40759 32767 3 0x4000090 fsleep syz-executor *40678 290202 56966 32767 3 0x30 syz-executor 40678 10613 56966 32767 2 0x4000010 syz-executor 11355 37675 41196 0 2 0x2 ifconfig 33819 160352 73648 0 3 0x10008a sigsusp sh 41196 324218 22539 0 3 0x10008a sigsusp sh 26357 212504 6749 32767 3 0x90 nanoslp syz-executor 26357 121956 6749 32767 3 0x4000090 kqsel syz-executor 26357 514245 6749 32767 3 0x4000090 fsleep syz-executor 56966 448651 77704 32767 3 0x90 nanoslp syz-executor 40759 266574 96185 32767 3 0x90 nanoslp syz-executor 9501 31759 58059 32767 3 0x90 nanoslp syz-executor 93803 468049 34158 32767 3 0x90 nanoslp syz-executor 6749 238531 77692 32767 3 0x90 nanoslp syz-executor 73648 416649 14383 0 3 0x80 wait syz-executor 22539 438969 81387 0 3 0x80 wait syz-executor 34158 415463 7144 0 3 0x82 wait syz-executor 77704 317283 7144 0 3 0x82 wait syz-executor 58059 260758 7144 0 3 0x82 wait syz-executor 96185 171729 7144 0 3 0x82 wait syz-executor 14383 377053 7144 0 3 0x82 wait syz-executor 81387 173868 7144 0 3 0x82 wait syz-executor 77692 374966 7144 0 3 0x82 wait syz-executor 32039 387113 7144 0 3 0x82 wait syz-executor 95302 321393 0 0 3 0x14200 bored sosplice 7144 429481 13029 0 3 0x82 kqread syz-executor 13029 219303 32016 0 3 0x10008a sigsusp ksh 32016 320453 49545 0 3 0x98 kqread sshd-session 49545 361901 56655 0 3 0x92 kqread sshd-session 34888 290905 1 0 3 0x100083 ttyin getty 56655 483157 1 0 3 0x88 kqread sshd 58573 81372 93511 73 7 0x1100010 syslogd 93511 338533 1 0 3 0x100082 sbwait syslogd 40677 419335 1 0 3 0x100080 kqread resolvd 67073 471559 46015 77 3 0x100092 kqread dhcpleased 97158 335529 46015 77 3 0x100092 kqread dhcpleased 46015 459395 1 0 3 0x80 kqread dhcpleased 84147 54951 0 0 3 0x14200 bored smr 75178 96479 0 0 3 0x14200 pgzero zerothread 37030 161215 0 0 3 0x14200 aiodoned aiodoned 1071 99204 0 0 3 0x14200 syncer update 96678 358014 0 0 3 0x14200 cleaner cleaner 53851 444647 0 0 3 0x14200 reaper reaper 89799 444450 0 0 3 0x14200 pgdaemon pagedaemon 61084 380855 0 0 3 0x14200 bored viomb 41653 70011 0 0 3 0x40014200 acpi0 acpi0 25812 24514 0 0 3 0x40014200 idle1 44628 130537 0 0 3 0x14200 bored softnet3 85699 346108 0 0 3 0x14200 bored softnet2 49761 220856 0 0 3 0x14200 bored softnet1 77068 255432 0 0 3 0x14200 bored softnet0 48881 188833 0 0 3 0x14200 bored systqmp 59311 155201 0 0 3 0x14200 bored systq 96775 397663 0 0 3 0x14200 tmoslp softclockmp 21095 204802 0 0 3 0x40014200 tmoslp softclock 75804 56794 0 0 3 0x40014200 idle0 1 357048 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &map->flags_lock r = 0 (0xfffffd8069f95348) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 vm_map_lock_ln+0x153 sys/uvm/uvm_map.c:5258 #4 uvm_mapanon+0x292 #5 uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 #6 sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 #7 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #7 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #8 Xsyscall+0x128 Process 40678 (syz-executor) thread 0xffff80003299d6e8 (10613) exclusive rwlock amaplk r = 0 (0xfffffd80578f1080) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 uvm_fault_check+0x521 sys/uvm/uvm_fault.c:782 #2 uvm_fault+0x112 sys/uvm/uvm_fault.c:600 #3 uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 #4 uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 #5 sys_mlock+0x23d sys/uvm/uvm_mmap.c:837 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 shared rwlock vmmaplk r = 0 (0xfffffd8069f952e8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1785 #3 uvm_fault_check+0x47 sys/uvm/uvm_fault.c:672 #4 uvm_fault+0x112 sys/uvm/uvm_fault.c:600 #5 uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 #6 uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 #7 sys_mlock+0x23d sys/uvm/uvm_mmap.c:837 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff835a2200) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 __mp_acquire_count+0x58 #2 mi_switch+0x4b7 sys/kern/sched_bsd.c:441 #3 sleep_finish+0x21e sys/kern/kern_synch.c:416 #4 rw_enter+0x348 sys/kern/kern_rwlock.c:285 #5 vm_map_lock_ln+0x142 sys/uvm/uvm_map.c:5257 #6 uvm_map_pageable+0x187 sys/uvm/uvm_map.c:2216 #7 sys_mlock+0x23d sys/uvm/uvm_mmap.c:837 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 58573 (syslogd) thread 0xffff8000ffffd6d8 (81372) exclusive rrwlock inode r = 0 (0xfffffd806e66ec50) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 sys_fsync+0x152 sys/kern/vfs_syscalls.c:2926 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10207 11048K 11059K 166960K 11572 0 pcb 17 12K 12K 166960K 17 0 rtable 174 4K 7K 166960K 3211 0 pf 29 16K 16K 166960K 220 0 ifaddr 33 6K 8K 166960K 421 0 ifgroup 46 2K 2K 166960K 427 0 sysctl 3 0K 2K 166960K 6 0 counters 62 36K 36K 166960K 252 0 ioctlops 0 0K 2K 166960K 143 0 iov 0 0K 24K 166960K 225 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1462 92K 92K 166960K 3166 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 33 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 65 0 dirhash 18 3K 3K 166960K 81 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 27 101K 157K 166960K 3100 0 sigio 0 0K 0K 166960K 30 0 proc 65 91K 176K 166960K 3255 0 subproc 104 6K 12K 166960K 1586 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 344 0 in_multi 67 5K 7K 166960K 1181 0 ether_multi 1 0K 0K 166960K 11 0 mrt 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 2K 166960K 1850 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 251 74K 132K 166960K 24076 0 UVM aobj 125 7K 7K 166960K 133 0 pinsyscall 48 96K 130K 166960K 6663 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 4 0K 0K 166960K 135 0 NDP 18 1K 2K 166960K 305 0 temp 76 6824K 6889K 166960K 27861 0 kqueue 13 20K 32K 166960K 289 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 24 0 0 1 0 1 1 0 8 0 rtpcb 120 359 0 356 1 0 1 1 0 8 0 rtentry 112 1146 0 1066 6 2 4 4 0 8 1 unpcb 144 1300 0 1285 13 10 3 6 0 8 2 syncache 336 48 0 48 11 10 1 1 0 8 1 tcpqe 32 20 0 20 8 8 0 1 0 8 0 tcpcb 808 1059 0 1047 18 16 2 8 0 8 0 arp 120 207 0 194 1 0 1 1 0 8 0 ipq 40 5 0 4 1 0 1 1 0 8 0 ipqe 40 7 0 6 1 0 1 1 0 8 0 inpcb 336 2717 0 2700 19 16 3 7 0 8 0 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 136 316 0 301 1 0 1 1 0 8 0 kcovpl 48 122 0 114 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4653 0 4326 67 44 23 31 0 8 2 art_table 32 4654 0 4326 5 1 4 4 0 8 1 art_node 16 1145 0 1072 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 9 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 62 0 52 1 0 1 1 0 8 0 shmpl 112 130 0 8 4 0 4 4 0 8 0 dirhash 1024 63 0 42 3 0 3 3 0 8 0 dino2pl 256 4088 0 2346 109 0 109 109 0 8 0 ffsino 272 4088 0 2346 118 1 117 117 0 8 0 nchpl 144 6275 0 4416 69 0 69 69 0 8 0 uvmvnodes 80 5683 0 0 116 0 116 116 0 8 0 vnodes 216 5683 0 0 316 0 316 316 0 8 0 namei 1024 30603 0 30603 18 16 2 2 0 8 2 percpumem 16 140 0 95 1 0 1 1 0 8 0 kstatmem 264 210 0 190 2 0 2 2 0 8 0 scxspl 216 56027 0 56027 24 22 2 8 1 8 2 plimitpl 152 970 0 944 2 0 2 2 0 8 0 sigapl 424 3175 0 3117 14 6 8 9 0 8 0 futexpl 64 22445 0 22440 9 8 1 1 0 8 0 knotepl 120 581 0 0 18 1 17 18 0 8 0 kqueuepl 216 573 0 563 7 6 1 4 0 8 0 pipepl 320 780 0 753 10 5 5 6 0 8 2 fdescpl 496 3156 0 3117 11 4 7 7 0 8 0 filepl 152 16250 0 16007 28 13 15 18 0 8 3 lockfpl 104 518 0 516 2 1 1 2 0 8 0 lockfspl 48 141 0 139 1 0 1 1 0 8 0 sessionpl 144 147 0 131 1 0 1 1 0 8 0 pgrppl 48 404 0 380 1 0 1 1 0 8 0 ucredpl 104 3063 0 3046 1 0 1 1 0 8 0 zombiepl 144 3118 0 3117 1 0 1 1 0 8 0 processpl 1160 3175 0 3117 6 0 6 6 0 8 0 procpl 648 5565 0 5499 8 2 6 7 0 8 0 srpgc 96 8 0 8 2 1 1 1 0 8 1 sosppl 168 16 0 16 7 7 0 1 0 8 0 sockpl 664 4406 0 4371 35 24 11 15 0 8 6 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 10 0 0 2 0 2 2 0 8 0 mcl4k 4096 159 0 0 19 0 19 19 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 76 0 0 6 0 6 6 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 810 0 0 42 0 42 42 0 8 0 bufpl 280 10204 0 2945 519 0 519 519 0 8 0 anonpl 24 514374 0 508788 121 37 84 91 0 185 26 amapchunkpl 152 77029 0 76404 61 25 36 43 0 158 10 amappl16 200 11061 0 11015 97 84 13 28 0 8 8 amappl15 192 31 0 31 1 1 0 1 0 8 0 amappl14 184 358 0 348 1 0 1 1 0 8 0 amappl13 176 12 0 12 3 3 0 1 0 8 0 amappl12 168 5289 0 5252 3 0 3 3 0 8 0 amappl11 160 50 0 39 1 0 1 1 0 8 0 amappl10 152 55 0 55 1 1 0 1 0 8 0 amappl9 144 145 0 145 1 1 0 1 0 8 0 amappl8 136 43 0 41 1 0 1 1 0 8 0 amappl7 128 325 0 314 1 0 1 1 0 8 0 amappl6 120 1102 0 1097 1 0 1 1 0 8 0 amappl5 112 535 0 525 1 0 1 1 0 8 0 amappl4 104 684 0 667 1 0 1 1 0 8 0 amappl3 96 14780 0 14661 4 0 4 4 0 8 0 amappl2 88 2297 0 2229 2 0 2 2 0 8 0 amappl1 80 29549 0 28997 18 3 15 17 0 8 1 amappl 88 22757 0 22561 7 1 6 6 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 132 0 8 3 0 3 3 0 8 0 uaddrrnd 24 3156 0 3117 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3156 0 3117 1 0 1 1 0 8 0 vmmpekpl 168 29886 0 29819 6 2 4 5 0 8 0 vmmpepl 168 212760 0 210750 144 42 102 115 0 357 9 vmsppl 448 3155 0 3117 7 1 6 6 0 8 0 rwobjpl 56 68901 0 62182 102 5 97 97 0 8 0 pdppl 4096 6319 0 6234 428 325 103 115 0 8 18 pvpl 32 37297 0 0 302 2 300 300 0 265 0 pmappl 248 3155 0 3117 7 3 4 4 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 874 0 431 13 0 13 13 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:437 panic(ffffffff83078e14) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_leave(fffffd8069f95308) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8069f95220,fffffd8069f95308,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8069f951f0,fffffd80780a6968,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd8069f951f0,ffff8000371bb720,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd8069f951f0,ffff8000371bb720,21000,3,7,5002,92956d88bc807af5,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff80003299c020,ffff8000371bb890,ffff8000371bb7e0) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff8000371bb890) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371bb890) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x795b51c106a0, count: -10 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 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(ffffffff835a1ff8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835a1ff8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff835a1ff8,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x4b7 sys/kern/sched_bsd.c:441 sleep_finish(0,1) at sleep_finish+0x21e sys/kern/kern_synch.c:416 vwaitforio(fffffd806e74f990,0,ffffffff8309de7e,ffffffffffffffff) at vwaitforio+0xd2 ffs_fsync(ffff80002a06a2e0) at ffs_fsync+0x376 sys/ufs/ffs/ffs_vnops.c:482 VOP_FSYNC(fffffd806e74f990,fffffd807f7d3958,1,ffff8000ffffd6d8) at VOP_FSYNC+0x108 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffffd6d8,ffff80002a06a490,ffff80002a06a3e0) at sys_fsync+0x16f sys/kern/vfs_syscalls.c:2926 syscall(ffff80002a06a490) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a06a490) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d552da5baa0, count: 2 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 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(ffffffff835a1ff8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835a1ff8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff835a1ff8,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x4b7 sys/kern/sched_bsd.c:441 sleep_finish(0,1) at sleep_finish+0x21e sys/kern/kern_synch.c:416 vwaitforio(fffffd806e74f990,0,ffffffff8309de7e,ffffffffffffffff) at vwaitforio+0xd2 ffs_fsync(ffff80002a06a2e0) at ffs_fsync+0x376 sys/ufs/ffs/ffs_vnops.c:482 VOP_FSYNC(fffffd806e74f990,fffffd807f7d3958,1,ffff8000ffffd6d8) at VOP_FSYNC+0x108 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffffd6d8,ffff80002a06a490,ffff80002a06a3e0) at sys_fsync+0x16f sys/kern/vfs_syscalls.c:2926 syscall(ffff80002a06a490) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a06a490) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d552da5baa0, count: -13