panic: pool_do_get: shmpl free list modified: page 0xfffffd8060213000; item addr 0xfffffd8060213c40; offset 0x40=0x68c1a0f9 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 498131 22691 32767 0x10 0 0 syz-executor *212314 22691 32767 0x10 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833685a2) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff838f1ae8,1,ffff80003682be98) at pool_do_get+0x5df pool_get(ffffffff838f1ae8,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000333e82c0,ffff80003682c0f0,0,ffff80003682c040) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000333e82c0,ffff80003682c0f0,ffff80003682c040) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003682c0f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003682c0f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xce3bb5afd50, count: 7 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: pool_do_get: shmpl free list modified: page 0xfffffd8060213000; item addr 0xfffffd8060213c40; offset 0x40=0x68c1a0f9 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833685a2) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff838f1ae8,1,ffff80003682be98) at pool_do_get+0x5df pool_get(ffffffff838f1ae8,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000333e82c0,ffff80003682c0f0,0,ffff80003682c040) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000333e82c0,ffff80003682c0f0,ffff80003682c040) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003682c0f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003682c0f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xce3bb5afd50, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003682bcc0 rbx 0xffff8000299eeddf rdx 0 rcx 0xffff8000333e82c0 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xc2f5b1ab077dac3 r11 0xa5a62e7a43d98a64 r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff81b97275 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003682bcb0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=212314 pid=22691 tcnt=3 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000333e87f0,0xffff8000333e8568 process=0xffff8000fffeab68 user=0xffff800036827000, vmspace=0xfffffd806a637d80 estcpu=20, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 41009 190187 14641 0 3 0x2 biowait syz-executor 22691 498131 13345 32767 7 0x10 syz-executor *22691 212314 13345 32767 7 0x4000010 syz-executor 22691 389372 13345 32767 3 0x4000090 fsleep syz-executor 27877 480312 42189 32767 2 0x10 syz-executor 27877 94910 42189 32767 3 0x4000090 fsleep syz-executor 58851 399051 17871 32767 2 0x10 syz-executor 58851 395889 17871 32767 3 0x4000090 kqread syz-executor 12135 213354 3871 32767 2 0x4000010 syz-executor 12135 9258 3871 32767 3 0x4000090 fsleep syz-executor 12135 237846 3871 32767 3 0x4000090 fsleep syz-executor 30101 444542 34932 32767 2 0x10 syz-executor 30101 13001 34932 32767 3 0x4000090 msgwait syz-executor 30101 516359 34932 32767 3 0x4000090 msgwait syz-executor 8210 166809 64818 32767 3 0x90 nanoslp syz-executor 8210 91991 64818 32767 3 0x4000090 kqread syz-executor 8210 429340 64818 32767 3 0x4000090 fsleep syz-executor 17871 437638 90133 32767 3 0x90 nanoslp syz-executor 34932 82437 4051 32767 3 0x90 nanoslp syz-executor 42189 7346 20154 32767 3 0x90 nanoslp syz-executor 64818 362049 75478 32767 3 0x90 nanoslp syz-executor 72825 436 5747 32767 3 0x10 biowait syz-executor 13345 242130 69912 32767 3 0x90 nanoslp syz-executor 3871 88400 92030 32767 3 0x90 nanoslp syz-executor 90133 347273 14641 0 3 0x82 wait syz-executor 4051 238547 14641 0 3 0x82 wait syz-executor 20154 367502 14641 0 3 0x82 wait syz-executor 75478 313252 14641 0 3 0x82 wait syz-executor 5747 73056 14641 0 3 0x82 wait syz-executor 92030 398474 14641 0 3 0x82 wait syz-executor 69912 5802 14641 0 3 0x82 wait syz-executor 14641 399262 35640 0 3 0x82 kqread syz-executor 35640 183305 25644 0 3 0x10008a sigsusp ksh 25644 494283 64501 0 3 0x98 kqread sshd-session 64501 514470 64696 0 3 0x92 kqread sshd-session 71991 177567 1 0 3 0x100083 ttyin getty 64696 33743 1 0 3 0x88 kqread sshd 46021 221370 22652 73 3 0x1100090 kqread syslogd 22652 22323 1 0 3 0x100082 sbwait syslogd 2398 333761 1 0 3 0x100080 kqread resolvd 20417 261070 99131 77 3 0x100092 kqread dhcpleased 73339 329932 99131 77 3 0x100092 kqread dhcpleased 99131 298947 1 0 3 0x80 kqread dhcpleased 89073 502549 0 0 3 0x14200 bored smr 34040 499838 0 0 2 0x14200 zerothread 44541 368013 0 0 3 0x14200 aiodoned aiodoned 97265 157649 0 0 3 0x14200 syncer update 11668 275018 0 0 3 0x14200 cleaner cleaner 45707 127655 0 0 3 0x14200 reaper reaper 69435 2487 0 0 3 0x14200 pgdaemon pagedaemon 85693 15496 0 0 3 0x14200 bored viomb 71374 296140 0 0 3 0x40014200 acpi0 acpi0 91425 50766 0 0 3 0x40014200 idle1 813 458416 0 0 3 0x14200 bored softnet1 62706 159318 0 0 3 0x14200 bored softnet0 98576 104661 0 0 3 0x14200 smrbar systqmp 36505 498544 0 0 3 0x14200 bored systq 33104 33790 0 0 3 0x14200 tmoslp softclockmp 28949 72037 0 0 3 0x40014200 tmoslp softclock 56309 334130 0 0 3 0x40014200 idle0 1 338256 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex shmpl r = 0 (0xffffffff838f1b00) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 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 pool_get+0x124 sys/kern/subr_pool.c:581 #4 shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 #5 sys_shmget+0x195 sys/kern/sysv_shm.c:482 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 #7 Xsyscall+0x128 Process 41009 (syz-executor) thread 0xffff8000333e9a18 (190187) exclusive rrwlock inode r = 0 (0xfffffd806e30b5b0) #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+0xa3 sys/kern/vfs_vops.c:527 #4 ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline] #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:159 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232 #6 ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3113 #10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806f2c36a0) #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+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1 #6 namei+0x7ca sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3098 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 #9 Xsyscall+0x128 Process 22691 (syz-executor) thread 0xffff8000333e82c0 (212314) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff838d7368) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] #1 syscall+0xaf4 sys/arch/amd64/amd64/trap.c:746 #2 Xsyscall+0x128 exclusive mutex shmpl r = 0 (0xffffffff838f1b00) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 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 pool_get+0x124 sys/kern/subr_pool.c:581 #4 shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 #5 sys_shmget+0x195 sys/kern/sysv_shm.c:482 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 #7 Xsyscall+0x128 Process 72825 (syz-executor) thread 0xffff8000fffeea78 (436) exclusive rrwlock inode r = 0 (0xfffffd80695d4a18) #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+0xa3 sys/kern/vfs_vops.c:527 #4 ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline] #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:159 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232 #6 ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3113 #10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c8b81f0) #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+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1 #6 namei+0x7ca sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3098 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 #9 Xsyscall+0x128 Process 98576 (systqmp) thread 0xffff8000ffffe7c8 (104661) shared rwlock systqmp r = 0 (0xffffffff83771568) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10182 10952K 10966K 166960K 11269 0 pcb 17 12K 12K 166960K 17 0 rtable 187 5K 6K 166960K 264 0 pf 29 16K 16K 166960K 31 0 ifaddr 38 6K 7K 166960K 44 0 ifgroup 46 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 5 0 counters 66 36K 36K 166960K 68 0 ioctlops 0 0K 2K 166960K 30 0 iov 0 0K 12K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1336 84K 84K 166960K 1369 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 23 82K 117K 166960K 207 0 sigio 0 0K 0K 166960K 35 0 proc 58 99K 131K 166960K 488 0 subproc 63 3K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 17 0 in_multi 88 6K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 350 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 242 161K 192K 166960K 3391 0 UVM aobj 8 2K 2K 166960K 13 0 pinsyscall 44 88K 110K 166960K 1231 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 7 0 NDP 10 0K 2K 166960K 27 0 temp 38 8639K 8703K 166960K 4018 0 kqueue 15 24K 29K 166960K 40 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 45 0 40 1 0 1 1 0 8 0 rtentry 176 95 0 10 5 0 5 5 0 8 1 unpcb 144 76 0 56 1 0 1 1 0 8 0 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 26 0 20 2 0 2 2 0 8 1 arp 136 10 0 1 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 108 0 94 2 0 2 2 0 8 0 nd6 144 16 0 2 1 0 1 1 0 8 0 kcovpl 48 9 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 436 0 0 28 0 28 28 0 8 0 art_table 40 437 0 0 5 0 5 5 0 8 0 art_node 32 95 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 1 0 1 1 0 8 0 semapl 112 6 0 0 1 0 1 1 0 8 0 shmpl 112 10 0 5 1 0 1 1 0 8 0 pool(0xffffffff838f1ae8:shmpl): page inconsistency: page 0xfffffd8060213000; 29 on list, 5 missing, 35 items per page dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1641 0 130 95 0 95 95 0 8 0 ffsino 296 1641 0 130 117 0 117 117 0 8 0 nchpl 144 1916 0 235 63 0 63 63 0 8 0 uvmvnodes 80 1731 0 0 36 0 36 36 0 8 0 vnodes 216 1731 0 0 97 0 97 97 0 8 0 namei 1024 5728 0 5726 2 0 2 2 0 8 1 percpumem 16 49 0 1 1 0 1 1 0 8 0 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 6962 0 6960 3 1 2 2 1 8 1 plimitpl 152 48 0 23 2 0 2 2 0 8 0 sigapl 424 481 0 430 7 0 7 7 0 8 0 knotepl 120 301 0 0 10 0 10 10 0 8 0 kqueuepl 224 40 0 28 2 0 2 2 0 8 0 pipepl 344 140 0 113 3 0 3 3 0 8 0 fdescpl 528 465 0 430 3 0 3 3 0 8 0 filepl 160 1769 0 1521 11 0 11 11 0 8 0 lockfpl 104 27 0 25 1 0 1 1 0 8 0 lockfspl 48 13 0 11 1 0 1 1 0 8 0 sessionpl 144 24 0 9 1 0 1 1 0 8 0 pgrppl 48 37 0 14 1 0 1 1 0 8 0 ucredpl 104 169 0 151 1 0 1 1 0 8 0 zombiepl 144 430 0 430 1 0 1 1 0 8 1 processpl 1232 481 0 430 5 0 5 5 0 8 0 procpl 664 583 0 522 6 0 6 6 0 8 0 sockpl 752 230 0 191 5 0 5 5 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 112 0 0 14 0 14 14 0 8 0 mcl2k 2048 24 0 0 3 0 3 3 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 243 0 0 16 0 16 16 0 8 0 bufpl 280 3052 0 123 210 0 210 210 0 8 0 anonpl 32 6296 0 0 51 0 51 51 0 246 0 amapchunkpl 152 10256 0 9618 33 3 30 30 0 158 3 amappl16 200 1981 0 1962 5 0 5 5 0 8 2 amappl15 192 29 0 29 1 0 1 1 0 8 1 amappl14 184 103 0 93 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 0 1 1 0 8 1 amappl12 168 1093 0 1059 2 0 2 2 0 8 0 amappl11 160 47 0 36 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 0 1 1 0 8 1 amappl9 144 252 0 252 1 0 1 1 0 8 1 amappl8 136 59 0 58 1 0 1 1 0 8 0 amappl7 128 92 0 82 1 0 1 1 0 8 0 amappl6 120 184 0 181 1 0 1 1 0 8 0 amappl5 112 112 0 106 1 0 1 1 0 8 0 amappl4 104 278 0 262 1 0 1 1 0 8 0 amappl3 96 1518 0 1422 3 0 3 3 0 8 0 amappl2 88 703 0 626 2 0 2 2 0 8 0 amappl1 80 8571 0 8015 14 0 14 14 0 8 0 amappl 88 2734 0 2557 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 12 0 5 1 0 1 1 0 8 0 uaddrrnd 24 465 0 430 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 465 0 430 1 0 1 1 0 8 0 vmmpekpl 168 5556 0 5513 2 0 2 2 0 8 0 vmmpepl 168 36640 0 34655 99 0 99 99 0 357 3 vmsppl 488 464 0 430 7 1 6 6 0 8 1 rwobjpl 80 14811 0 12256 54 0 54 54 0 8 0 pdppl 4096 938 0 860 108 20 88 94 0 8 10 pvpl 32 12846 0 0 104 0 104 104 0 265 0 pmappl 256 464 0 430 4 1 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 282 0 23 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837a0ff0) 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+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff838d7160) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838d7160) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 intr_handler(ffff800036826e30,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x75233526e970, count: 8 ddb{0}> trace x86_ipi_db(ffffffff837a0ff0) 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+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff838d7160) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838d7160) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 intr_handler(ffff800036826e30,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x75233526e970, count: -7 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(ffffffff833685a2) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff838f1ae8,1,ffff80003682be98) at pool_do_get+0x5df pool_get(ffffffff838f1ae8,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000333e82c0,ffff80003682c0f0,0,ffff80003682c040) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000333e82c0,ffff80003682c0f0,ffff80003682c040) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003682c0f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003682c0f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xce3bb5afd50, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833685a2) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff838f1ae8,1,ffff80003682be98) at pool_do_get+0x5df pool_get(ffffffff838f1ae8,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000333e82c0,ffff80003682c0f0,0,ffff80003682c040) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000333e82c0,ffff80003682c0f0,ffff80003682c040) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003682c0f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003682c0f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xce3bb5afd50, count: -8