panic: tcp_output: template len != hdrlen - optlen Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 46791 62469 0 0x2 0 1 syz-executor.0 *149106 35909 0 0x12 0 0 sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff824145c2) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ad9ee0) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ad9ee0) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaedc88,9,fffffd8077371c00,0,0,ffff800020e409d0) at tcp_usrreq+0xa55 sosend(fffffd806eaedc88,0,ffff800020e62f58,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e409d0,4,ffff800020e62f58,0,ffff800020e63040) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e409d0,ffff800020e62ff0,ffff800020e63040) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e630c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e630c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffb9610, count: 6 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 tcp_output: template len != hdrlen - optlen ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff824145c2) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ad9ee0) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ad9ee0) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaedc88,9,fffffd8077371c00,0,0,ffff800020e409d0) at tcp_usrreq+0xa55 sosend(fffffd806eaedc88,0,ffff800020e62f58,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e409d0,4,ffff800020e62f58,0,ffff800020e63040) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e409d0,ffff800020e62ff0,ffff800020e63040) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e630c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e630c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffb9610, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e62ac0 rbx 0xffff800020e62b70 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff8239351f kprintf+0x16f r9 0x1 r10 0x2 r11 0x737bdbcf048cc5b7 r12 0x3000000008 r13 0xffff800020e62ad0 r14 0x100 r15 0x1 rip 0xffffffff81ef4318 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e62ab0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (sshd) pid=149106 stat=onproc flags process=12 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020e41390,0xffff800020e40c50 process=0xffff800020e38ba0 user=0xffff800020e5e000, vmspace=0xfffffd806e8ff8a8 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 83936 503082 0 0 3 0x14280 nfsidl nfsio 41532 51689 0 0 3 0x14280 nfsidl nfsio 71021 436446 0 0 3 0x14280 nfsidl nfsio 62418 95241 0 0 3 0x14280 nfsidl nfsio 97824 236686 0 0 3 0x14280 nfsidl nfsio 54195 227766 0 0 3 0x14280 nfsidl nfsio 16289 428468 0 0 3 0x14280 nfsidl nfsio 33551 328914 0 0 3 0x14280 nfsidl nfsio 41793 235731 0 0 3 0x14280 nfsidl nfsio 12921 43152 0 0 3 0x14280 nfsidl nfsio 13862 364586 0 0 3 0x14280 nfsidl nfsio 45295 99729 0 0 3 0x14280 nfsidl nfsio 76415 359533 0 0 3 0x14280 nfsidl nfsio 30811 113826 0 0 3 0x14280 nfsidl nfsio 48656 104923 0 0 3 0x14280 nfsidl nfsio 56198 88542 0 0 3 0x14280 nfsidl nfsio 15487 374600 0 0 3 0x14280 nfsidl nfsio 63808 427924 0 0 3 0x14280 nfsidl nfsio 27307 214362 0 0 3 0x14280 nfsidl nfsio 38808 288839 0 0 3 0x14280 nfsidl nfsio 15178 462122 1 0 3 0x100083 ttyin getty 74438 509104 9428 0 3 0x82 nanosleep syz-executor.1 62469 46791 9428 0 7 0x2 syz-executor.0 9428 271454 38562 0 3 0x82 kqread syz-fuzzer 9428 501321 38562 0 3 0x4000082 nanosleep syz-fuzzer 9428 436690 38562 0 3 0x4000082 thrsleep syz-fuzzer 9428 122844 38562 0 3 0x4000082 thrsleep syz-fuzzer 9428 66210 38562 0 3 0x4000082 thrsleep syz-fuzzer 9428 339315 38562 0 3 0x4000082 thrsleep syz-fuzzer 9428 73347 38562 0 3 0x4000082 thrsleep syz-fuzzer 9428 138871 38562 0 3 0x4000082 thrsleep syz-fuzzer 9428 289267 38562 0 3 0x4000082 nanosleep syz-fuzzer 9428 479682 38562 0 3 0x4000082 thrsleep syz-fuzzer 38562 367601 35909 0 3 0x10008a pause ksh *35909 149106 10222 0 7 0x12 sshd 10222 303278 1 0 3 0x80 select sshd 27360 460157 12882 74 3 0x100092 bpf pflogd 12882 257714 1 0 3 0x80 netio pflogd 3966 297456 55658 73 3 0x100090 kqread syslogd 55658 300324 1 0 3 0x100082 netio syslogd 38989 494100 1 77 3 0x100090 poll dhclient 52710 176975 1 0 3 0x80 poll dhclient 12953 308561 0 0 3 0x14200 bored smr 85340 354781 0 0 3 0x14200 pgzero zerothread 79886 139499 0 0 3 0x14200 aiodoned aiodoned 1796 366223 0 0 3 0x14200 syncer update 15240 289160 0 0 3 0x14200 cleaner cleaner 1841 124948 0 0 3 0x14200 reaper reaper 765 147823 0 0 3 0x14200 pgdaemon pagedaemon 40322 206764 0 0 3 0x14200 bored crynlk 74169 514925 0 0 3 0x14200 bored crypto 22642 250909 0 0 3 0x40014200 acpi0 acpi0 15122 101545 0 0 3 0x40014200 idle1 5158 432767 0 0 3 0x14200 bored softnet 39819 18442 0 0 3 0x14200 bored systqmp 4471 279279 0 0 3 0x14200 bored systq 47232 479195 0 0 3 0x40014200 bored softclock 94322 250858 0 0 3 0x40014200 idle0 1 129546 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 62469 (syz-executor.0) thread 0xffff800020dddad8 (46791) exclusive rrwlock inode r = 0 (0xfffffd8068611920) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vget+0x1c8 sys/kern/vfs_subr.c:671 #6 ufs_ihashget+0x141 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x74 sys/ufs/ffs/ffs_vfsops.c:1329 #8 ufs_lookup+0x14b7 sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:90 #10 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568 #11 namei+0x63c sys/kern/vfs_lookup.c:249 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1853 #13 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b2163c8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1853 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #9 Xsyscall+0x128 Process 35909 (sshd) thread 0xffff800020e409d0 (149106) exclusive rwlock netlock r = 0 (0xffffffff8273c6c8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x559 sys/kern/uipc_socket.c:543 #3 dofilewritev+0x1b6 sys/kern/sys_generic.c:365 #4 sys_write+0x83 sys/kern/sys_generic.c:285 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #6 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9511 6428K 6789K 78643K 10987 0 pcb 13 8K 8K 78643K 55 0 rtable 94 5K 5K 78643K 269 0 ifaddr 66 13K 14K 78643K 119 0 sysctl 2 0K 0K 78643K 2 0 counters 41 33K 33K 78643K 51 0 ioctlops 0 0K 4K 78643K 1503 0 iov 0 0K 12K 78643K 28 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1355 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 33 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 274 0 sigio 0 0K 0K 78643K 8 0 proc 61 63K 95K 78643K 467 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 10 0 in_multi 35 1K 2K 78643K 64 0 ether_multi 1 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 227 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 126 39K 39K 78643K 1848 0 UVM aobj 9 2K 2K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 36 0 NDP 10 0K 0K 78643K 19 0 temp 92 3860K 3924K 78643K 4172 0 kqueue 3 4K 8K 78643K 6 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 47 0 14 2 0 2 2 0 8 0 unpcb 120 96 0 86 1 0 1 1 0 8 0 syncache 264 7 0 7 2 2 0 1 0 8 0 tcpcb 544 95 0 91 1 0 1 1 0 8 0 inpcb 296 655 0 648 2 0 2 2 0 8 1 nd6 48 8 0 5 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 10 0 6 1 0 1 1 0 8 0 pfstitem 24 15 0 3 1 0 1 1 0 8 0 pfstkey 112 15 0 3 1 0 1 1 0 8 0 pfstate 328 15 0 3 2 0 2 2 0 8 0 pfsrctr 152 1 0 0 1 0 1 1 0 8 0 pfrule 1360 27 0 19 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 44 12 1 11 12 0 8 0 art_table 32 190 0 44 2 0 2 2 0 8 0 art_node 16 46 0 16 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 2 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 30 0 20 1 0 1 1 0 8 0 shmpl 112 9 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1756 0 351 89 0 89 89 0 8 0 ffsino 272 1756 0 351 95 0 95 95 0 8 0 nchpl 144 2337 0 722 61 0 61 61 0 8 0 uvmvnodes 72 1892 0 0 35 0 35 35 0 8 0 vnodes 208 1892 0 0 100 0 100 100 0 8 0 namei 1024 6356 0 6356 1 0 1 1 0 8 1 percpumem 16 36 0 5 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 1 2 1 1 1 0 8 0 scxspl 192 6657 0 6657 8 7 1 7 0 8 1 plimitpl 152 30 0 22 1 0 1 1 0 8 0 sigapl 424 510 0 460 6 0 6 6 0 8 0 futexpl 56 3795 0 3795 1 0 1 1 0 8 1 knotepl 112 64 0 45 1 0 1 1 0 8 0 kqueuepl 144 34 0 32 1 0 1 1 0 8 0 pipelkpl 48 110 0 100 1 0 1 1 0 8 0 pipepl 120 220 0 201 1 0 1 1 0 8 0 fdescpl 496 475 0 460 3 0 3 3 0 8 0 filepl 152 2793 0 2693 5 0 5 5 0 8 1 lockfpl 104 32 0 31 1 0 1 1 0 8 0 lockfspl 48 14 0 13 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 21 0 10 1 0 1 1 0 8 0 ucredpl 96 262 0 252 1 0 1 1 0 8 0 zombiepl 144 460 0 459 1 0 1 1 0 8 0 processpl 984 510 0 459 7 0 7 7 0 8 0 procpl 624 1077 0 1017 6 0 6 6 0 8 1 srpgc 64 2 0 2 1 1 0 1 0 8 0 sockpl 400 776 0 757 5 1 4 4 0 8 2 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 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 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 161 0 0 20 0 20 20 0 8 0 mtagpl 96 20 0 0 1 0 1 1 0 8 0 mbufpl 256 199 0 0 12 0 12 12 0 8 0 bufpl 280 3709 0 135 256 0 256 256 0 8 0 anonpl 16 62049 0 45492 82 5 77 81 0 124 10 amapchunkpl 152 2567 0 2423 11 4 7 11 0 158 0 amappl16 192 2292 0 1400 55 8 47 55 0 8 2 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 28 0 22 1 0 1 1 0 8 0 amappl13 168 151 0 147 1 0 1 1 0 8 0 amappl12 160 15 0 12 1 0 1 1 0 8 0 amappl11 152 62 0 46 1 0 1 1 0 8 0 amappl10 144 28 0 22 1 0 1 1 0 8 0 amappl9 136 505 0 503 1 0 1 1 0 8 0 amappl8 128 465 0 435 2 0 2 2 0 8 0 amappl7 120 118 0 107 1 0 1 1 0 8 0 amappl6 112 22 0 19 2 1 1 1 0 8 0 amappl5 104 373 0 357 1 0 1 1 0 8 0 amappl4 96 615 0 585 1 0 1 1 0 8 0 amappl3 88 105 0 100 1 0 1 1 0 8 0 amappl2 80 2853 0 2791 2 0 2 2 0 8 0 amappl1 72 20380 0 19953 23 13 10 18 0 8 0 amappl 80 1316 0 1273 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 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 64 10 0 2 1 0 1 1 0 8 0 uaddrrnd 24 478 0 462 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 478 0 462 1 0 1 1 0 8 0 vmmpekpl 168 7511 0 7478 2 0 2 2 0 8 0 vmmpepl 168 65028 0 63080 120 14 106 117 0 357 13 vmsppl 368 477 0 462 2 0 2 2 0 8 0 pdppl 4096 963 0 925 6 0 6 6 0 8 0 pvpl 32 194102 0 174397 192 4 188 192 0 265 27 pmappl 232 477 0 462 3 1 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 261 0 5 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff824145c2) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ad9ee0) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ad9ee0) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaedc88,9,fffffd8077371c00,0,0,ffff800020e409d0) at tcp_usrreq+0xa55 sosend(fffffd806eaedc88,0,ffff800020e62f58,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e409d0,4,ffff800020e62f58,0,ffff800020e63040) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e409d0,ffff800020e62ff0,ffff800020e63040) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e630c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e630c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffb9610, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d70ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828adbe0) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828adbe0) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828adbe0,1) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800020edf2e0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020edf2e0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020edf2e0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806b66b8e0,11,ffffffff8246b1d7,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd806b66b8e0) at biowait+0xa6 sys/kern/vfs_bio.c:1256 bwrite(fffffd806b66b8e0) at bwrite+0x1e4 sys/kern/vfs_bio.c:765 ufs_dirremove(fffffd80685a1270,fffffd8068611888,800c,1) at ufs_dirremove+0x291 ufs_rmdir(ffff800020edf508) at ufs_rmdir+0x247 sys/ufs/ufs/ufs_vnops.c:1328 VOP_RMDIR(fffffd80685a1270,fffffd8063ed0500,ffff800020edf608) at VOP_RMDIR+0xf8 sys/kern/vfs_vops.c:474 end trace frame: 0xffff800020edf6a0, count: 0 ddb{1}> trace x86_ipi_db(ffff800020d70ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828adbe0) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828adbe0) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828adbe0,1) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800020edf2e0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020edf2e0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020edf2e0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806b66b8e0,11,ffffffff8246b1d7,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd806b66b8e0) at biowait+0xa6 sys/kern/vfs_bio.c:1256 bwrite(fffffd806b66b8e0) at bwrite+0x1e4 sys/kern/vfs_bio.c:765 ufs_dirremove(fffffd80685a1270,fffffd8068611888,800c,1) at ufs_dirremove+0x291 ufs_rmdir(ffff800020edf508) at ufs_rmdir+0x247 sys/ufs/ufs/ufs_vnops.c:1328 VOP_RMDIR(fffffd80685a1270,fffffd8063ed0500,ffff800020edf608) at VOP_RMDIR+0xf8 sys/kern/vfs_vops.c:474 dounlinkat(ffff800020dddad8,ffffff9c,7f7fffff4150,8) at dounlinkat+0x14c sys/kern/vfs_syscalls.c:1886 syscall(ffff800020edf780) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020edf780) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff4140, count: -17