login: witness: shared lock of (rwlock) maddr while exclusively locked panic: excl->share Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 134099 66739 0 0x2 0x1 1 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833b4a35) at panic+0x1e5 sys/kern/subr_prf.c:198 witness_checkorder(ffff8000000508d0,1,0) at witness_checkorder+0x122c sys/kern/subr_witness.c:854 rw_do_enter_read(ffff8000000508b8,0) at rw_do_enter_read+0x99 sys/kern/kern_rwlock.c:355 in_hasmulti(fffffd806d6c66bc,ffff800000050858) at in_hasmulti+0x41 in_lookupmulti sys/netinet/in.c:-1 [inline] in_hasmulti(fffffd806d6c66bc,ffff800000050858) at in_hasmulti+0x41 sys/netinet/in.c:991 ip_output(fffffd806d6c6600,fffffd807eb5df00,0,0,ffff800033bdbc08,0,3c9ec9dda1bd806c) at ip_output+0x9c9 sys/netinet/ip_output.c:302 igmp_sendpkt(ffff800000050858,ffff8000015af380,17,20000e0) at igmp_sendpkt+0x193 igmpstat_inc sys/netinet/igmp_var.h:-1 [inline] igmp_sendpkt(ffff800000050858,ffff8000015af380,17,20000e0) at igmp_sendpkt+0x193 sys/netinet/igmp.c:734 in_delmulti(ffff8000015af380) at in_delmulti+0xae sys/netinet/in.c:959 ip_freemoptions(ffff800000c40f40) at ip_freemoptions+0x6d sys/netinet/ip_output.c:-1 in_pcbdetach(fffffd806b8f3e20) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605 tcp_close(ffff8000015642e0) at tcp_close+0x194 tcpstat_inc sys/netinet/tcp_var.h:-1 [inline] tcp_close(ffff8000015642e0) at tcp_close+0x194 sys/netinet/tcp_subr.c:530 tcp_detach(ffff800010fdc5f0) at tcp_detach+0x8f sys/netinet/tcp_usrreq.c:-1 soclose(ffff800010fdc5f0,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline] soclose(ffff800010fdc5f0,0) at soclose+0xb0 sys/kern/uipc_socket.c:403 soo_close(fffffd800f83c550,ffff8000fffe2d20) at soo_close+0x56 sys/kern/sys_socket.c:-1 end trace frame: 0xffff800033bdbed0, count: 0 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: excl->share ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833b4a35) at panic+0x1e5 sys/kern/subr_prf.c:198 witness_checkorder(ffff8000000508d0,1,0) at witness_checkorder+0x122c sys/kern/subr_witness.c:854 rw_do_enter_read(ffff8000000508b8,0) at rw_do_enter_read+0x99 sys/kern/kern_rwlock.c:355 in_hasmulti(fffffd806d6c66bc,ffff800000050858) at in_hasmulti+0x41 in_lookupmulti sys/netinet/in.c:-1 [inline] in_hasmulti(fffffd806d6c66bc,ffff800000050858) at in_hasmulti+0x41 sys/netinet/in.c:991 ip_output(fffffd806d6c6600,fffffd807eb5df00,0,0,ffff800033bdbc08,0,3c9ec9dda1bd806c) at ip_output+0x9c9 sys/netinet/ip_output.c:302 igmp_sendpkt(ffff800000050858,ffff8000015af380,17,20000e0) at igmp_sendpkt+0x193 igmpstat_inc sys/netinet/igmp_var.h:-1 [inline] igmp_sendpkt(ffff800000050858,ffff8000015af380,17,20000e0) at igmp_sendpkt+0x193 sys/netinet/igmp.c:734 in_delmulti(ffff8000015af380) at in_delmulti+0xae sys/netinet/in.c:959 ip_freemoptions(ffff800000c40f40) at ip_freemoptions+0x6d sys/netinet/ip_output.c:-1 in_pcbdetach(fffffd806b8f3e20) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605 tcp_close(ffff8000015642e0) at tcp_close+0x194 tcpstat_inc sys/netinet/tcp_var.h:-1 [inline] tcp_close(ffff8000015642e0) at tcp_close+0x194 sys/netinet/tcp_subr.c:530 tcp_detach(ffff800010fdc5f0) at tcp_detach+0x8f sys/netinet/tcp_usrreq.c:-1 soclose(ffff800010fdc5f0,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline] soclose(ffff800010fdc5f0,0) at soclose+0xb0 sys/kern/uipc_socket.c:403 soo_close(fffffd800f83c550,ffff8000fffe2d20) at soo_close+0x56 sys/kern/sys_socket.c:-1 fdrop(fffffd800f83c550,ffff8000fffe2d20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd800f83c550,ffff8000fffe2d20) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe2d20) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe2d20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe2d20,ffff800033bdc120,ffff800033bdc070) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800033bdc120) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800033bdc120) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7de765f084c0, count: -21 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800033bdb8a0 rbx 0xffffffff837e4e07 cpu_info_full_primary+0x2e07 rdx 0 rcx 0xffff8000fffe2d20 rax 0xffffffff837e3ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x70b6d36f90e2a9dd r11 0x659d571ccbeaedee r12 0xffffffff837e4c08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff810e0165 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800033bdb890 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=423662 pid=45820 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000fffe2d20 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff8000fffe3a18,0xffff8000fffe2568 process=0xffff8000fffef038 user=0xffff800033bd7000, vmspace=0xfffffd807882f020 estcpu=36, cpticks=3, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 75803 202062 8414 0 2 0 syz-executor 75803 363514 8414 0 3 0x4000080 fsleep syz-executor 1561 56777 29792 0 3 0x80 nanoslp syz-executor 1561 44224 29792 0 3 0x4000080 lockf syz-executor 1561 46321 29792 0 3 0x4000080 fsleep syz-executor 14658 369722 66739 0 2 0 syz-executor 14658 465421 66739 0 3 0x4000080 fsleep syz-executor 76138 405918 29905 0 2 0 syz-executor 76138 57787 29905 0 3 0x4000080 fsleep syz-executor 11118 165797 1 0 3 0x100083 ttyin getty 21446 339561 71622 0 3 0x82 nanoslp syz-executor 8414 123905 71622 0 3 0x82 nanoslp syz-executor 99050 121673 71622 0 3 0x2 biowait syz-executor 29792 241719 71622 0 3 0x82 nanoslp syz-executor 65347 351768 71622 0 3 0x82 nanoslp syz-executor 29905 82651 71622 0 3 0x82 nanoslp syz-executor 95055 228168 71622 0 3 0x82 nanoslp syz-executor 66739 134099 71622 0 7 0x3 syz-executor 71622 139804 47309 0 3 0x82 kqread syz-executor 47309 136398 99522 0 3 0x10008a sigsusp ksh 99522 363517 69998 0 3 0x98 kqread sshd-session 69998 330066 90998 0 3 0x92 kqread sshd-session 90998 296200 1 0 3 0x88 kqread sshd 28513 178 62860 74 3 0x1100092 bpf pflogd 62860 467330 1 0 3 0x80 sbwait pflogd 58012 78589 88181 73 3 0x1100090 kqread syslogd 88181 387074 1 0 3 0x100082 sbwait syslogd 18081 251913 1 0 3 0x100080 kqread resolvd 24880 33589 79285 77 3 0x100092 kqread dhcpleased 26668 471879 79285 77 3 0x100092 kqread dhcpleased 79285 330852 1 0 3 0x80 kqread dhcpleased 94054 24328 0 0 3 0x14200 bored smr 19377 177586 0 0 3 0x14200 pgzero zerothread 44227 523894 0 0 3 0x14200 aiodoned aiodoned 40286 68505 0 0 3 0x14200 syncer update 45985 262274 0 0 3 0x14200 cleaner cleaner 41216 270125 0 0 3 0x14200 reaper reaper 62495 5490 0 0 3 0x14200 pgdaemon pagedaemon 21569 159442 0 0 3 0x14200 bored viomb 30666 336000 0 0 3 0x40014200 acpi0 acpi0 48544 503412 0 0 3 0x40014200 idle1 27820 59580 0 0 3 0x14200 bored softnet1 86349 74389 0 0 3 0x14200 bored softnet0 1405 42080 0 0 3 0x14200 bored systqmp 93164 280153 0 0 3 0x14200 bored systq 35997 315522 0 0 3 0x14200 tmoslp softclockmp 64692 381842 0 0 3 0x40014200 tmoslp softclock 10805 145322 0 0 3 0x40014200 idle0 1 30255 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 99050 (syz-executor) thread 0xffff80002a281770 (121673) exclusive rrwlock inode r = 0 (0xfffffd806c6d68f8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vget+0x2a2 sys/kern/vfs_subr.c:686 #6 ufs_ihashget+0x185 sys/ufs/ufs/ufs_ihash.c:98 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1203 #8 ufs_lookup+0x1a36 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x93a sys/kern/vfs_lookup.c:566 #11 namei+0x7ca sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868 #13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c6d6ec0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vget+0x2a2 sys/kern/vfs_subr.c:686 #6 cache_lookup+0x351 sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x1e3 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x93a sys/kern/vfs_lookup.c:566 #10 namei+0x7ca sys/kern/vfs_lookup.c:250 #11 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868 #12 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #12 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 #13 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11068 12153K 12359K 166960K 12371 0 pcb 19 12K 12K 166960K 50 0 rtable 215 7K 7K 166960K 364 0 pf 36 18K 18K 166960K 59 0 ifaddr 41 7K 7K 166960K 54 0 ifgroup 53 2K 2K 166960K 70 0 sysctl 2 1K 9K 166960K 6 0 counters 70 37K 37K 166960K 90 0 ioctlops 0 0K 4K 166960K 1509 0 iov 0 0K 16K 166960K 13 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1471 93K 93K 166960K 1597 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 17 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 85K 166960K 283 0 sigio 0 0K 0K 166960K 6 0 proc 72 115K 147K 166960K 570 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 2 0K 0K 166960K 18 0 in_multi 93 6K 7K 166960K 109 0 ether_multi 1 0K 0K 166960K 2 0 mrt 2 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 395 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 233 159K 169K 166960K 4316 0 UVM aobj 8 4K 4K 166960K 9 0 pinsyscall 42 84K 104K 166960K 1414 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 80 0 NDP 12 0K 2K 166960K 33 0 temp 39 8666K 8736K 166960K 14810 0 kqueue 15 24K 28K 166960K 52 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 26 0 0 1 0 1 1 0 8 0 rtpcb 120 46 0 42 1 0 1 1 0 8 0 rtentry 176 112 0 15 6 0 6 6 0 8 0 unpcb 144 141 0 124 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 32 0 25 1 0 1 1 0 8 0 arp 136 18 0 2 1 0 1 1 0 8 0 inpcb 328 184 0 168 2 0 2 2 0 8 0 nd6 152 24 0 3 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 8 0 7 1 0 1 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 2 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 32 0 0 1 0 1 1 0 8 0 pfstkey 128 32 0 0 2 0 2 2 0 8 0 pfstate 448 31 0 0 4 0 4 4 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 459 0 50 29 0 29 29 0 8 1 art_table 40 460 0 50 5 0 5 5 0 8 0 art_node 32 112 0 24 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semapl 112 5 0 0 1 0 1 1 0 8 0 shmpl 112 5 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1835 0 323 95 0 95 95 0 8 0 ffsino 296 1835 0 323 117 0 117 117 0 8 0 nchpl 144 2247 0 545 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2112 0 0 118 0 118 118 0 8 0 namei 1024 7049 0 7049 1 0 1 1 0 8 1 percpumem 16 60 0 10 1 0 1 1 0 8 0 vcpupl 3968 1 0 0 1 0 1 1 0 8 0 vmpool 848 1 0 0 1 0 1 1 0 8 0 kstatmem 264 36 0 10 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7847 0 7846 5 1 4 4 1 8 3 plimitpl 152 43 0 25 1 0 1 1 0 8 0 sigapl 424 593 0 546 6 0 6 6 0 8 0 knotepl 120 284 0 0 9 0 9 9 0 8 0 kqueuepl 224 75 0 64 1 0 1 1 0 8 0 pipepl 344 132 0 105 3 0 3 3 0 8 0 fdescpl 528 577 0 546 3 0 3 3 0 8 0 filepl 160 2503 0 2271 16 0 16 16 0 8 5 lockfpl 104 175 0 171 2 0 2 2 0 8 1 lockfspl 48 88 0 85 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 34 0 17 1 0 1 1 0 8 0 ucredpl 104 201 0 188 1 0 1 1 0 8 0 zombiepl 144 549 0 546 1 0 1 1 0 8 0 processpl 1232 593 0 546 5 0 5 5 0 8 1 procpl 664 847 0 795 6 0 6 6 0 8 0 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 752 375 0 338 5 0 5 5 0 8 1 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 118 0 0 15 0 15 15 0 8 0 mcl2k 2048 25 0 0 4 0 4 4 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 147 0 0 10 0 10 10 0 8 0 bufpl 280 3098 0 130 212 0 212 212 0 8 0 anonpl 32 5390 0 0 44 0 44 44 0 246 0 amapchunkpl 152 13199 0 12740 28 0 28 28 0 158 7 amappl16 200 2134 0 2104 5 2 3 5 0 8 0 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 7 0 7 1 1 0 1 0 8 0 amappl13 176 431 0 429 1 0 1 1 0 8 0 amappl12 168 938 0 895 3 0 3 3 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 50 0 36 1 0 1 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 41 0 39 1 0 1 1 0 8 0 amappl7 128 78 0 77 1 0 1 1 0 8 0 amappl6 120 281 0 268 1 0 1 1 0 8 0 amappl5 112 79 0 69 1 0 1 1 0 8 0 amappl4 104 422 0 393 1 0 1 1 0 8 0 amappl3 96 2208 0 2122 3 0 3 3 0 8 0 amappl2 88 689 0 614 2 0 2 2 0 8 0 amappl1 80 9654 0 9051 15 0 15 15 0 8 1 amappl 88 3568 0 3413 5 0 5 5 0 92 0 uvmvnodes 80 106 0 0 3 0 3 3 0 8 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 8 0 1 1 0 1 1 0 8 0 uaddrrnd 24 577 0 546 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 577 0 546 1 0 1 1 0 8 0 vmmpekpl 168 6520 0 6485 2 0 2 2 0 8 0 vmmpepl 168 44068 0 42155 89 1 88 88 0 357 2 vmsppl 488 576 0 546 5 0 5 5 0 8 1 rwobjpl 80 15150 0 14121 24 0 24 24 0 8 2 pdppl 4096 1164 0 1093 95 22 73 82 0 8 2 pvpl 32 12182 0 0 99 0 99 99 0 265 0 pmappl 256 577 0 546 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 267 0 24 8 0 8 8 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:438 panic(ffffffff833b4a35) at panic+0x1e5 sys/kern/subr_prf.c:198 witness_checkorder(ffff8000000508d0,1,0) at witness_checkorder+0x122c sys/kern/subr_witness.c:854 rw_do_enter_read(ffff8000000508b8,0) at rw_do_enter_read+0x99 sys/kern/kern_rwlock.c:355 in_hasmulti(fffffd806d6c66bc,ffff800000050858) at in_hasmulti+0x41 in_lookupmulti sys/netinet/in.c:-1 [inline] in_hasmulti(fffffd806d6c66bc,ffff800000050858) at in_hasmulti+0x41 sys/netinet/in.c:991 ip_output(fffffd806d6c6600,fffffd807eb5df00,0,0,ffff800033bdbc08,0,3c9ec9dda1bd806c) at ip_output+0x9c9 sys/netinet/ip_output.c:302 igmp_sendpkt(ffff800000050858,ffff8000015af380,17,20000e0) at igmp_sendpkt+0x193 igmpstat_inc sys/netinet/igmp_var.h:-1 [inline] igmp_sendpkt(ffff800000050858,ffff8000015af380,17,20000e0) at igmp_sendpkt+0x193 sys/netinet/igmp.c:734 in_delmulti(ffff8000015af380) at in_delmulti+0xae sys/netinet/in.c:959 ip_freemoptions(ffff800000c40f40) at ip_freemoptions+0x6d sys/netinet/ip_output.c:-1 in_pcbdetach(fffffd806b8f3e20) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605 tcp_close(ffff8000015642e0) at tcp_close+0x194 tcpstat_inc sys/netinet/tcp_var.h:-1 [inline] tcp_close(ffff8000015642e0) at tcp_close+0x194 sys/netinet/tcp_subr.c:530 tcp_detach(ffff800010fdc5f0) at tcp_detach+0x8f sys/netinet/tcp_usrreq.c:-1 soclose(ffff800010fdc5f0,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline] soclose(ffff800010fdc5f0,0) at soclose+0xb0 sys/kern/uipc_socket.c:403 soo_close(fffffd800f83c550,ffff8000fffe2d20) at soo_close+0x56 sys/kern/sys_socket.c:-1 fdrop(fffffd800f83c550,ffff8000fffe2d20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd800f83c550,ffff8000fffe2d20) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe2d20) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe2d20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe2d20,ffff800033bdc120,ffff800033bdc070) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800033bdc120) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800033bdc120) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7de765f084c0, count: -21 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299ddff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 sys/dev/kcov.c:153 ktrsyscall(ffff8000ffffd230,5b,10,ffff80002a2ec450) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff8000ffffd230,5b,10,ffff80002a2ec450) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a2ec450) at syscall+0x304 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a2ec450) at syscall+0x304 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b6a36945830, count: 8 ddb{1}> trace x86_ipi_db(ffff8000299ddff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 sys/dev/kcov.c:153 ktrsyscall(ffff8000ffffd230,5b,10,ffff80002a2ec450) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff8000ffffd230,5b,10,ffff80002a2ec450) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a2ec450) at syscall+0x304 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a2ec450) at syscall+0x304 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b6a36945830, count: -7