panic: pool_do_get: shmpl free list modified: page 0xfffffd806c6e6000; item addr 0xfffffd806c6e6620; offset 0x40=0x692baced Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 27605 87169 32767 0x10 0 0 syz-executor * 64372 87613 32767 0x10 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8339f4f3) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff839eb220,2,ffff80003840c958) at pool_do_get+0x5df pool_get(ffffffff839eb220,2) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000fffeba10,ffff80003840cbb0,40,ffff80003840cb00) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000fffeba10,ffff80003840cbb0,ffff80003840cb00) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003840cbb0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003840cbb0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39581ca6170, 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 0xfffffd806c6e6000; item addr 0xfffffd806c6e6620; offset 0x40=0x692baced ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8339f4f3) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff839eb220,2,ffff80003840c958) at pool_do_get+0x5df pool_get(ffffffff839eb220,2) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000fffeba10,ffff80003840cbb0,40,ffff80003840cb00) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000fffeba10,ffff80003840cbb0,ffff80003840cb00) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003840cbb0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003840cbb0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39581ca6170, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003840c780 rbx 0xffff8000299eee07 rdx 0xffff80000143d7c0 rcx 0xffff8000fffeba10 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xa0455b1a6bf65d57 r11 0x2060d54658a13c1 r12 0xffff8000299eec08 r13 0 r14 0 r15 0x1 rip 0xffffffff813d7965 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003840c770 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=64372 pid=87613 tcnt=2 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=0xffff8000fffeb248,0xffff8000fffeb788 process=0xffff80003bc21830 user=0xffff800038407000, vmspace=0xfffffd806cdca9a8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 56806 236293 60330 32767 2 0x10 syz-executor 87169 27605 27880 32767 7 0x10 syz-executor 87169 240603 27880 32767 3 0x4000090 fsleep syz-executor 88095 145218 8350 0 2 0 syz-executor 87613 514568 96892 32767 2 0x10 syz-executor *87613 64372 96892 32767 7 0x4000010 syz-executor 16637 105867 49911 32767 2 0x10 syz-executor 16637 240653 49911 32767 3 0x4000090 fsleep syz-executor 11558 383256 81168 32767 2 0x10 syz-executor 5054 361911 14736 32767 2 0x10 syz-executor 5054 504049 14736 32767 3 0x4000090 fsleep syz-executor 8350 388921 15880 0 3 0x82 wait syz-executor 27880 365318 37247 32767 3 0x90 nanoslp syz-executor 49911 276573 9379 32767 3 0x90 nanoslp syz-executor 96892 477362 99072 32767 3 0x90 nanoslp syz-executor 9807 1513 10865 32767 3 0x10 biowait syz-executor 81168 120224 8144 32767 3 0x90 nanoslp syz-executor 60330 405094 27142 32767 3 0x90 nanoslp syz-executor 14736 480986 79194 32767 3 0x90 nanoslp syz-executor 9379 384660 15880 0 3 0x82 wait syz-executor 37247 486582 15880 0 3 0x82 wait syz-executor 8144 195461 15880 0 3 0x82 wait syz-executor 10865 181364 15880 0 3 0x82 wait syz-executor 27142 345896 15880 0 3 0x82 wait syz-executor 99072 303561 15880 0 3 0x82 wait syz-executor 79194 13763 15880 0 3 0x82 wait syz-executor 15880 37322 57424 0 3 0x82 kqread syz-executor 57424 53137 83091 0 3 0x10008a sigsusp ksh 83091 473724 90441 0 3 0x98 kqread sshd-session 90441 274427 79339 0 3 0x92 kqread sshd-session 32043 88818 1 0 3 0x100083 ttyin getty 79339 322109 1 0 3 0x88 kqread sshd 25679 222020 69460 73 3 0x1100090 kqread syslogd 69460 37926 1 0 3 0x100082 sbwait syslogd 48426 21495 1 0 3 0x100080 kqread resolvd 22684 216806 21973 77 3 0x100092 kqread dhcpleased 78546 77355 21973 77 3 0x100092 kqread dhcpleased 21973 81659 1 0 3 0x80 kqread dhcpleased 23547 340275 0 0 3 0x14200 bored smr 64659 3623 0 0 2 0x14200 zerothread 47427 388532 0 0 3 0x14200 aiodoned aiodoned 32413 370205 0 0 3 0x14200 syncer update 45182 431749 0 0 3 0x14200 cleaner cleaner 3098 91895 0 0 3 0x14200 reaper reaper 55148 219356 0 0 3 0x14200 pgdaemon pagedaemon 67968 22075 0 0 3 0x14200 bored viomb 87662 273567 0 0 3 0x40014200 acpi0 acpi0 3871 371389 0 0 3 0x40014200 idle1 57564 290652 0 0 3 0x14200 bored softnet1 25272 415952 0 0 2 0x14200 softnet0 39892 4047 0 0 3 0x14200 bored systqmp 21116 510491 0 0 3 0x14200 bored systq 12576 48595 0 0 3 0x14200 tmoslp softclockmp 33112 521955 0 0 3 0x40014200 tmoslp softclock 99436 298206 0 0 3 0x40014200 idle0 1 125852 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 (0xffffffff839eb238) #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:775 #7 Xsyscall+0x128 Process 87613 (syz-executor) thread 0xffff8000fffeba10 (64372) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff838b9618) #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:775 #2 Xsyscall+0x128 exclusive mutex shmpl r = 0 (0xffffffff839eb238) #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:775 #7 Xsyscall+0x128 Process 9807 (syz-executor) thread 0xffff8000ffff3ca0 (1513) exclusive rrwlock inode r = 0 (0xfffffd8062fb3c78) #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 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 (0xfffffd806dbdd7c0) #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 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10196 10956K 10973K 166960K 11291 0 pcb 17 12K 12K 166960K 17 0 rtable 225 6K 7K 166960K 386 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 7 0 counters 68 36K 37K 166960K 70 0 ioctlops 0 0K 2K 166960K 38 0 iov 0 0K 16K 166960K 20 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1335 84K 84K 166960K 1552 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 39 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 24 89K 117K 166960K 588 0 sigio 0 0K 0K 166960K 8 0 proc 58 99K 147K 166960K 522 0 subproc 72 4K 4K 166960K 243 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 64 0 in_multi 88 6K 7K 166960K 112 0 ether_multi 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 127 572K 572K 166960K 127 0 exec 0 0K 1K 166960K 465 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 224 144K 179K 166960K 6653 0 UVM aobj 15 2K 4K 166960K 18 0 pinsyscall 45 90K 108K 166960K 1641 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 32 0 NDP 10 0K 2K 166960K 27 0 temp 75 8676K 8741K 166960K 5738 0 kqueue 13 20K 29K 166960K 91 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 249 0 245 4 2 2 3 0 8 1 rtentry 176 121 0 17 6 0 6 6 0 8 0 unpcb 144 298 0 283 3 1 2 2 0 8 1 syncache 336 8 0 8 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 354 0 346 9 2 7 7 0 8 6 arp 136 19 0 2 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 2 0 2 1 0 1 1 0 8 1 inpcb 328 774 0 763 9 2 7 7 0 8 5 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 152 33 0 8 2 0 2 2 0 8 0 kcovpl 48 27 0 19 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 522 0 93 32 1 31 32 0 8 0 art_table 40 523 0 93 6 0 6 6 0 8 0 art_node 32 121 0 26 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 4 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 36 0 26 1 0 1 1 0 8 0 shmpl 112 15 0 3 1 0 1 1 0 8 0 pool(0xffffffff839eb220:shmpl): page inconsistency: page 0xfffffd806c6e6000; 22 on list, 12 missing, 35 items per page dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 2115 0 586 96 0 96 96 0 8 0 ffsino 296 2115 0 586 118 0 118 118 0 8 0 nchpl 144 2848 0 1146 64 0 64 64 0 8 0 vnodes 216 2367 0 0 132 0 132 132 0 8 0 namei 1024 9629 0 9629 2 1 1 2 0 8 1 percpumem 16 50 0 1 1 0 1 1 0 8 0 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 9700 0 9699 9 8 1 8 1 8 0 plimitpl 152 228 0 205 3 1 2 2 0 8 1 sigapl 424 833 0 781 7 1 6 7 0 8 0 knotepl 120 351 0 0 11 0 11 11 0 8 0 kqueuepl 224 260 0 251 5 0 5 5 0 8 4 pipepl 344 205 0 178 3 0 3 3 0 8 0 fdescpl 528 817 0 781 3 0 3 3 0 8 0 filepl 160 5244 0 5038 18 3 15 16 0 8 6 lockfpl 104 273 0 270 2 1 1 2 0 8 0 lockfspl 48 43 0 40 1 0 1 1 0 8 0 sessionpl 144 42 0 27 1 0 1 1 0 8 0 pgrppl 48 76 0 53 1 0 1 1 0 8 0 ucredpl 104 561 0 543 1 0 1 1 0 8 0 zombiepl 144 781 0 781 1 0 1 1 0 8 1 processpl 1232 833 0 781 5 0 5 5 0 8 0 procpl 664 1433 0 1377 6 0 6 6 0 8 1 sosppl 176 1 0 1 1 1 0 1 0 8 0 sockpl 752 1330 0 1300 21 9 12 16 0 8 8 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 109 0 0 14 0 14 14 0 8 0 mcl2k 2048 24 0 0 3 0 3 3 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 283 0 0 18 0 18 18 0 8 0 bufpl 280 3088 0 122 212 0 212 212 0 8 0 anonpl 32 7386 0 0 60 0 60 60 0 246 0 amapchunkpl 152 22055 0 21462 34 6 28 34 0 158 5 amappl16 200 3269 0 3246 24 10 14 14 0 8 11 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 4 0 4 1 1 0 1 0 8 0 amappl13 176 399 0 397 1 0 1 1 0 8 0 amappl12 168 1154 0 1111 3 0 3 3 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 46 0 36 1 0 1 1 0 8 0 amappl9 144 250 0 250 1 1 0 1 0 8 0 amappl8 136 53 0 52 1 0 1 1 0 8 0 amappl7 128 78 0 77 1 0 1 1 0 8 0 amappl6 120 262 0 251 1 0 1 1 0 8 0 amappl5 112 73 0 66 1 0 1 1 0 8 0 amappl4 104 382 0 359 1 0 1 1 0 8 0 amappl3 96 3418 0 3330 3 0 3 3 0 8 0 amappl2 88 944 0 868 2 0 2 2 0 8 0 amappl1 80 11220 0 10659 14 0 14 14 0 8 0 amappl 88 5885 0 5729 5 0 5 5 0 92 0 uvmvnodes 80 115 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 17 0 3 1 0 1 1 0 8 0 uaddrrnd 24 817 0 781 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 817 0 781 1 0 1 1 0 8 0 vmmpekpl 168 8595 0 8552 3 0 3 3 0 8 0 vmmpepl 168 59401 0 57438 102 9 93 101 0 357 3 vmsppl 488 816 0 781 7 2 5 6 0 8 0 rwobjpl 80 19144 0 18205 27 3 24 25 0 8 2 pdppl 4096 1641 0 1562 117 36 81 93 0 8 2 pvpl 32 14764 0 0 120 0 120 120 0 265 0 pmappl 256 816 0 781 4 1 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 306 0 44 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8381aff0) 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 __mp_lock(ffffffff838b9410) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838b9410) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80002f3d0460,ffff80000006b400) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7eb65eee3ab0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff8381aff0) 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 __mp_lock(ffffffff838b9410) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838b9410) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80002f3d0460,ffff80000006b400) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7eb65eee3ab0, count: -8 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(ffffffff8339f4f3) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff839eb220,2,ffff80003840c958) at pool_do_get+0x5df pool_get(ffffffff839eb220,2) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000fffeba10,ffff80003840cbb0,40,ffff80003840cb00) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000fffeba10,ffff80003840cbb0,ffff80003840cb00) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003840cbb0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003840cbb0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39581ca6170, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8339f4f3) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff839eb220,2,ffff80003840c958) at pool_do_get+0x5df pool_get(ffffffff839eb220,2) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000fffeba10,ffff80003840cbb0,40,ffff80003840cb00) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000fffeba10,ffff80003840cbb0,ffff80003840cb00) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003840cbb0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003840cbb0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39581ca6170, count: -8