panic: tcp_output Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *353607 92377 32767 0x10 0x4000000 1 syz-executor.3 236954 84509 32767 0x10 0x4000000 0 syz-executor.6 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8257e05d) at panic+0x177 sys/kern/subr_prf.c:198 tcp_output(ffff800000d16730) at tcp_output+0x2cd2 sys/netinet/tcp_output.c:727 tcp_send(fffffd806f4583d8,fffffd8069f3ff00,0,fffffd80694b5b00) at tcp_send+0xc4 sys/netinet/tcp_usrreq.c:944 sosend(fffffd806f4583d8,0,ffff80002e5b5dc0,0,fffffd80694b5b00,0) at sosend+0x62a pru_send sys/sys/protosw.h:331 [inline] sosend(fffffd806f4583d8,0,ffff80002e5b5dc0,0,fffffd80694b5b00,0) at sosend+0x62a sys/kern/uipc_socket.c:646 sendit(ffff8000ffff5500,3,ffff80002e5b5f40,0,ffff80002e5b6030) at sendit+0x65d sys/kern/uipc_syscalls.c:694 sys_sendmsg(ffff8000ffff5500,ffff80002e5b5fe8,ffff80002e5b6030) at sys_sendmsg+0x198 sys/kern/uipc_syscalls.c:601 syscall(ffff80002e5b60b0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e5b60b0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1e74a4b92f0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: tcp_output ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8257e05d) at panic+0x177 sys/kern/subr_prf.c:198 tcp_output(ffff800000d16730) at tcp_output+0x2cd2 sys/netinet/tcp_output.c:727 tcp_send(fffffd806f4583d8,fffffd8069f3ff00,0,fffffd80694b5b00) at tcp_send+0xc4 sys/netinet/tcp_usrreq.c:944 sosend(fffffd806f4583d8,0,ffff80002e5b5dc0,0,fffffd80694b5b00,0) at sosend+0x62a pru_send sys/sys/protosw.h:331 [inline] sosend(fffffd806f4583d8,0,ffff80002e5b5dc0,0,fffffd80694b5b00,0) at sosend+0x62a sys/kern/uipc_socket.c:646 sendit(ffff8000ffff5500,3,ffff80002e5b5f40,0,ffff80002e5b6030) at sendit+0x65d sys/kern/uipc_syscalls.c:694 sys_sendmsg(ffff8000ffff5500,ffff80002e5b5fe8,ffff80002e5b6030) at sys_sendmsg+0x198 sys/kern/uipc_syscalls.c:601 syscall(ffff80002e5b60b0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e5b60b0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1e74a4b92f0, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e5b5a20 rbx 0xffff800020dd9b8f rdx 0 rcx 0 rax 0xffff8000ffff5500 r8 0x101010101010101 r9 0x8080808080808080 r10 0x60ce699b5a1e3367 r11 0xdd1de7641abaebb r12 0xffff800020dd9990 r13 0 r14 0 r15 0x1 rip 0xffffffff824835f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e5b5a10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=353607 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff57a0,0xffff8000ffff5cf0 process=0xffff800021298438 user=0xffff80002e5b1000, vmspace=0xfffffd806a95b188 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 49142 209965 35695 32767 3 0x90 nanoslp syz-executor.1 49142 279295 35695 32767 3 0x4000090 fsleep syz-executor.1 1248 340455 8060 32767 3 0x90 nanoslp syz-executor.7 1248 30713 8060 32767 3 0x4000090 fsleep syz-executor.7 1248 411612 8060 32767 3 0x4000090 fsleep syz-executor.7 1248 458166 8060 32767 3 0x4000090 fsleep syz-executor.7 92377 192041 32315 32767 2 0x10 syz-executor.3 *92377 353607 32315 32767 7 0x4000010 syz-executor.3 92377 456592 32315 32767 3 0x4000090 fsleep syz-executor.3 92377 256806 32315 32767 2 0x4000010 syz-executor.3 92377 415154 32315 32767 2 0x4000010 syz-executor.3 92736 199018 61624 32767 2 0x10 syz-executor.0 92736 386953 61624 32767 3 0x4000090 fsleep syz-executor.0 54831 23849 82110 32767 2 0x10 syz-executor.5 54831 12678 82110 32767 3 0x4000090 fsleep syz-executor.5 73078 502268 38748 32767 2 0x10 syz-executor.2 73078 29546 38748 32767 3 0x4000090 fsleep syz-executor.2 73078 46777 38748 32767 3 0x4000090 fsleep syz-executor.2 84509 172335 66727 32767 2 0x10 syz-executor.6 84509 236954 66727 32767 7 0x4000010 syz-executor.6 99930 443702 79233 32767 2 0x10 syz-executor.4 99930 395794 79233 32767 2 0x4000010 syz-executor.4 35695 83182 97037 32767 3 0x90 nanoslp syz-executor.1 97037 405309 20422 0 3 0x82 wait syz-executor.1 32315 125315 54634 32767 3 0x90 nanoslp syz-executor.3 54634 327808 20422 0 3 0x82 wait syz-executor.3 38748 371558 99254 32767 3 0x90 nanoslp syz-executor.2 99254 418729 20422 0 3 0x82 wait syz-executor.2 98444 201631 0 0 3 0x14200 bored sosplice 82110 155771 59415 32767 3 0x90 nanoslp syz-executor.5 66727 509005 69943 32767 3 0x90 nanoslp syz-executor.6 59415 312922 20422 0 3 0x82 wait syz-executor.5 79233 458603 94487 32767 3 0x90 nanoslp syz-executor.4 8060 37191 295 32767 3 0x90 nanoslp syz-executor.7 94487 63744 20422 0 3 0x82 wait syz-executor.4 69943 464905 20422 0 3 0x82 wait syz-executor.6 295 17270 20422 0 3 0x82 wait syz-executor.7 61624 179597 10417 32767 3 0x90 nanoslp syz-executor.0 10417 304556 20422 0 3 0x82 wait syz-executor.0 20422 243371 94810 0 3 0x82 wait syz-fuzzer 20422 365189 94810 0 3 0x4000082 thrsleep syz-fuzzer 20422 10424 94810 0 3 0x4000082 thrsleep syz-fuzzer 20422 426229 94810 0 3 0x4000082 wait syz-fuzzer 20422 286184 94810 0 3 0x4000082 thrsleep syz-fuzzer 20422 7299 94810 0 3 0x4000082 thrsleep syz-fuzzer 20422 15016 94810 0 3 0x4000082 kqread syz-fuzzer 20422 310414 94810 0 3 0x4000082 thrsleep syz-fuzzer 20422 430168 94810 0 3 0x4000082 wait syz-fuzzer 20422 428595 94810 0 3 0x4000082 wait syz-fuzzer 20422 64451 94810 0 3 0x4000082 wait syz-fuzzer 20422 126484 94810 0 3 0x4000082 wait syz-fuzzer 20422 402774 94810 0 3 0x4000082 wait syz-fuzzer 20422 68050 94810 0 3 0x4000082 thrsleep syz-fuzzer 20422 342307 94810 0 3 0x4000082 thrsleep syz-fuzzer 20422 471229 94810 0 3 0x4000082 wait syz-fuzzer 94810 328507 77537 0 3 0x10008a sigsusp ksh 77537 244923 91728 0 3 0x9a kqread sshd 32310 19628 1 0 3 0x100083 ttyin getty 91728 487338 1 0 3 0x88 kqread sshd 52908 502144 429 73 3 0x1100090 kqread syslogd 429 281692 1 0 3 0x100082 netio syslogd 70060 369629 1 0 3 0x100080 kqread resolvd 23904 206167 86743 77 3 0x100092 kqread dhcpleased 54258 185431 86743 77 3 0x100092 kqread dhcpleased 86743 520900 1 0 3 0x80 kqread dhcpleased 92533 493622 0 0 3 0x14200 bored smr 7926 302400 0 0 2 0x14200 zerothread 85738 499668 0 0 3 0x14200 aiodoned aiodoned 58528 218264 0 0 3 0x14200 syncer update 58703 145300 0 0 3 0x14200 cleaner cleaner 60863 331273 0 0 3 0x14200 reaper reaper 80464 113894 0 0 3 0x14200 pgdaemon pagedaemon 46130 134963 0 0 3 0x14200 bored viomb 73044 258447 0 0 3 0x40014200 acpi0 acpi0 72629 87032 0 0 3 0x40014200 idle1 84678 356092 0 0 3 0x14200 bored softnet 32528 226766 0 0 3 0x14200 bored softnet 98146 312919 0 0 3 0x14200 bored softnet 35821 194003 0 0 3 0x14200 bored softnet 17235 349509 0 0 3 0x14200 bored systqmp 92501 402015 0 0 3 0x14200 bored systq 52295 231673 0 0 3 0x40014200 bored softclock 16305 282069 0 0 3 0x40014200 idle0 1 17259 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 92377 (syz-executor.3) thread 0xffff8000ffff5500 (353607) exclusive rwlock netlock r = 0 (0xffffffff829ae840) #0 witness_lock+0x44d #1 sosend+0x500 sys/kern/uipc_socket.c:632 #2 sendit+0x65d sys/kern/uipc_syscalls.c:694 #3 sys_sendmsg+0x198 sys/kern/uipc_syscalls.c:601 #4 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #4 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #5 Xsyscall+0x128 Process 92377 (syz-executor.3) thread 0xffff8000ffff4000 (256806) shared rwlock vmmaplk r = 0 (0xfffffd806a95b1a0) #0 witness_lock+0x44d #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1771 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:673 #3 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #4 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #5 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #6 recall_trap+0x8 Process 84509 (syz-executor.6) thread 0xffff8000ffff2a88 (236954) exclusive rrwlock inode r = 0 (0xfffffd807641d1b8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vn_write+0x123 sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x19c sys/kern/sys_generic.c:375 #7 sys_pad_pwrite+0x92 sys_pwrite sys/kern/vfs_syscalls.c:3366 [inline] #7 sys_pad_pwrite+0x92 sys/kern/vfs_syscalls.c:3438 #8 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #8 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10212 6412K 6419K 78643K 11325 0 pcb 13 16K 18K 78643K 19 0 rtable 244 6K 7K 78643K 1022 0 ifaddr 82 17K 17K 78643K 135 0 sysctl 2 0K 1K 78643K 5 0 counters 56 35K 35K 78643K 70 0 ioctlops 0 0K 2K 78643K 178 0 iov 0 0K 32K 78643K 1440 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1270 79K 79K 78643K 2659 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 66 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 4192 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 26 97K 117K 78643K 8560 0 sigio 0 0K 0K 78643K 178 0 proc 56 78K 115K 78643K 1142 0 subproc 104 6K 6K 78643K 195 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 563 0 in_multi 99 6K 7K 78643K 249 0 ether_multi 1 0K 0K 78643K 22 0 mrt 2 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 253 1129K 1129K 78643K 253 0 exec 0 0K 2K 78643K 10285 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 62K 78643K 8 0 UVM amap 339 88K 102K 78643K 53567 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 182 0 NDP 11 0K 2K 78643K 48 0 temp 124 4726K 4854K 78643K 22774 0 kqueue 12 18K 26K 78643K 692 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 433 0 430 3 2 1 2 0 8 0 rtentry 112 196 0 81 4 0 4 4 0 8 0 unpcb 144 17038 0 17022 63 58 5 9 0 8 4 syncache 296 113 0 113 20 19 1 1 0 8 1 tcpqe 32 81 0 81 14 14 0 1 0 8 0 tcpcb 768 3498 0 3487 97 92 5 22 0 8 3 arp 120 34 0 15 1 0 1 1 0 8 0 ipq 40 13 0 12 4 3 1 1 0 8 0 ipqe 40 48 0 47 4 3 1 1 0 8 0 inpcb 368 6499 0 6486 91 88 3 20 0 8 1 nd6 48 51 0 23 1 0 1 1 0 8 0 kcovpl 48 15 0 7 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 807 0 327 32 1 31 31 0 8 0 art_table 32 808 0 327 4 0 4 4 0 8 0 art_node 16 195 0 90 1 0 1 1 0 8 0 sysvmsgpl 40 46 0 39 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 4190 0 4180 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 14846 0 13393 92 0 92 92 0 8 0 ffsino 272 14846 0 13393 98 0 98 98 0 8 0 nchpl 144 29274 0 27633 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 93899 0 93899 3 2 1 2 0 8 1 percpumem 16 47 0 7 1 0 1 1 0 8 0 kstatmem 264 36 0 14 2 0 2 2 0 8 0 scxspl 216 74946 0 74946 28 25 3 8 0 8 3 plimitpl 152 2023 0 2000 9 8 1 2 0 8 0 sigapl 424 8832 0 8777 7 0 7 7 0 8 0 futexpl 64 97984 0 97975 2 1 1 1 0 8 0 knotepl 120 593 0 0 10 0 10 10 0 8 0 kqueuepl 216 2515 0 2507 40 39 1 7 0 8 0 pipepl 320 6626 0 6597 76 67 9 11 0 8 6 fdescpl 496 8814 0 8777 7 1 6 6 0 8 0 filepl 152 72271 0 72028 103 85 18 20 0 8 8 lockfpl 104 2488 0 2485 2 1 1 2 0 8 0 lockfspl 48 956 0 953 1 0 1 1 0 8 0 sessionpl 144 30 0 14 1 0 1 1 0 8 0 pgrppl 48 60 0 44 1 0 1 1 0 8 0 ucredpl 104 9661 0 9643 1 0 1 1 0 8 0 zombiepl 144 8777 0 8777 2 1 1 1 0 8 1 processpl 1064 8832 0 8777 5 1 4 5 0 8 0 procpl 672 25808 0 25724 17 9 8 9 0 8 1 sosppl 168 144 0 144 9 8 1 1 0 8 1 sockpl 488 24226 0 24195 412 400 12 37 0 8 8 mcl64k 65536 31 0 0 4 2 2 3 0 8 0 mcl16k 16384 25 0 0 3 0 3 3 0 8 0 mcl12k 12288 33 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 33 0 0 3 0 3 3 0 8 0 mcl4k 4096 71 0 0 7 3 4 5 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 316 0 0 37 4 33 37 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 694 0 0 36 1 35 36 0 8 0 bufpl 288 17437 0 11107 453 0 453 453 0 8 0 anonpl 24 1739228 0 1725855 244 150 94 128 0 186 0 amapchunkpl 152 154608 0 153912 85 57 28 39 0 158 1 amappl16 200 25071 0 24684 134 113 21 45 0 8 0 amappl15 192 2225 0 2216 1 0 1 1 0 8 0 amappl14 184 2150 0 2135 1 0 1 1 0 8 0 amappl13 176 1463 0 1462 2 1 1 1 0 8 0 amappl12 168 1269 0 1262 1 0 1 1 0 8 0 amappl11 160 1313 0 1294 1 0 1 1 0 8 0 amappl10 152 28 0 23 1 0 1 1 0 8 0 amappl9 144 1157 0 1148 1 0 1 1 0 8 0 amappl8 136 1782 0 1668 7 2 5 5 0 8 0 amappl7 128 1069 0 1049 1 0 1 1 0 8 0 amappl6 120 915 0 894 2 1 1 2 0 8 0 amappl5 112 6006 0 5985 1 0 1 1 0 8 0 amappl4 104 3633 0 3589 2 0 2 2 0 8 0 amappl3 96 29772 0 29699 2 0 2 2 0 8 0 amappl2 88 2319 0 2282 2 1 1 2 0 8 0 amappl1 80 221184 0 220377 21 4 17 20 0 8 0 amappl 88 51984 0 51780 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 8815 0 8778 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8815 0 8778 1 0 1 1 0 8 0 vmmpekpl 168 89958 0 89892 4 0 4 4 0 8 0 vmmpepl 168 868444 0 865406 213 80 133 144 0 357 0 vmsppl 368 8814 0 8778 4 0 4 4 0 8 0 rwobjpl 56 220242 0 212681 122 14 108 112 0 8 0 pdppl 4096 17637 0 17556 256 175 81 91 0 8 0 pvpl 32 3295218 0 3276333 435 272 163 257 0 265 0 pmappl 248 8814 0 8778 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1126 0 278 25 0 25 25 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff829b8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b4d158) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82b4d158) at __mp_lock+0x129 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82b4d158,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3bb sys/kern/sched_bsd.c:415 sleep_finish(ffff800022d66600,1) at sleep_finish+0x180 sys/kern/kern_synch.c:417 tsleep(fffffd80694e75b0,11,ffffffff8261c2d8,0) at tsleep+0x12c sys/kern/kern_synch.c:155 biowait(fffffd80694e75b0) at biowait+0x91 sys/kern/vfs_bio.c:1268 bwrite(fffffd80694e75b0) at bwrite+0x21b sys/kern/vfs_bio.c:769 ffs_write(ffff800022d667f0) at ffs_write+0x6a5 VOP_WRITE(fffffd8076744af8,ffff800022d66990,15,fffffd807f7d7000) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd8068fb8318,ffff800022d66990,1) at vn_write+0x1a1 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000ffff2a88,3,ffff800022d66990,1,ffff800022d66a80) at dofilewritev+0x19c sys/kern/sys_generic.c:375 end trace frame: 0xffff800022d66a20, count: 0 ddb{0}> trace x86_ipi_db(ffffffff829b8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b4d158) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82b4d158) at __mp_lock+0x129 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82b4d158,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3bb sys/kern/sched_bsd.c:415 sleep_finish(ffff800022d66600,1) at sleep_finish+0x180 sys/kern/kern_synch.c:417 tsleep(fffffd80694e75b0,11,ffffffff8261c2d8,0) at tsleep+0x12c sys/kern/kern_synch.c:155 biowait(fffffd80694e75b0) at biowait+0x91 sys/kern/vfs_bio.c:1268 bwrite(fffffd80694e75b0) at bwrite+0x21b sys/kern/vfs_bio.c:769 ffs_write(ffff800022d667f0) at ffs_write+0x6a5 VOP_WRITE(fffffd8076744af8,ffff800022d66990,15,fffffd807f7d7000) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd8068fb8318,ffff800022d66990,1) at vn_write+0x1a1 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000ffff2a88,3,ffff800022d66990,1,ffff800022d66a80) at dofilewritev+0x19c sys/kern/sys_generic.c:375 sys_pad_pwrite(ffff8000ffff2a88,ffff800022d66a38,ffff800022d66a80) at sys_pad_pwrite+0x92 sys_pwrite sys/kern/vfs_syscalls.c:3366 [inline] sys_pad_pwrite(ffff8000ffff2a88,ffff800022d66a38,ffff800022d66a80) at sys_pad_pwrite+0x92 sys/kern/vfs_syscalls.c:3438 syscall(ffff800022d66b00) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800022d66b00) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa40591f8de0, count: -17 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8257e05d) at panic+0x177 sys/kern/subr_prf.c:198 tcp_output(ffff800000d16730) at tcp_output+0x2cd2 sys/netinet/tcp_output.c:727 tcp_send(fffffd806f4583d8,fffffd8069f3ff00,0,fffffd80694b5b00) at tcp_send+0xc4 sys/netinet/tcp_usrreq.c:944 sosend(fffffd806f4583d8,0,ffff80002e5b5dc0,0,fffffd80694b5b00,0) at sosend+0x62a pru_send sys/sys/protosw.h:331 [inline] sosend(fffffd806f4583d8,0,ffff80002e5b5dc0,0,fffffd80694b5b00,0) at sosend+0x62a sys/kern/uipc_socket.c:646 sendit(ffff8000ffff5500,3,ffff80002e5b5f40,0,ffff80002e5b6030) at sendit+0x65d sys/kern/uipc_syscalls.c:694 sys_sendmsg(ffff8000ffff5500,ffff80002e5b5fe8,ffff80002e5b6030) at sys_sendmsg+0x198 sys/kern/uipc_syscalls.c:601 syscall(ffff80002e5b60b0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e5b60b0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1e74a4b92f0, count: 6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8257e05d) at panic+0x177 sys/kern/subr_prf.c:198 tcp_output(ffff800000d16730) at tcp_output+0x2cd2 sys/netinet/tcp_output.c:727 tcp_send(fffffd806f4583d8,fffffd8069f3ff00,0,fffffd80694b5b00) at tcp_send+0xc4 sys/netinet/tcp_usrreq.c:944 sosend(fffffd806f4583d8,0,ffff80002e5b5dc0,0,fffffd80694b5b00,0) at sosend+0x62a pru_send sys/sys/protosw.h:331 [inline] sosend(fffffd806f4583d8,0,ffff80002e5b5dc0,0,fffffd80694b5b00,0) at sosend+0x62a sys/kern/uipc_socket.c:646 sendit(ffff8000ffff5500,3,ffff80002e5b5f40,0,ffff80002e5b6030) at sendit+0x65d sys/kern/uipc_syscalls.c:694 sys_sendmsg(ffff8000ffff5500,ffff80002e5b5fe8,ffff80002e5b6030) at sys_sendmsg+0x198 sys/kern/uipc_syscalls.c:601 syscall(ffff80002e5b60b0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e5b60b0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1e74a4b92f0, count: -9