login: panic: pool_do_get: shmpl free list modified: page 0xfffffd8066ddd000; item addr 0xfffffd8066dddee0; offset 0x40=0x68b4421c Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 305638 22051 32767 0x10 0 0 syz-executor * 64495 61528 32767 0x10 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336a5c0) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83913cf0,2,ffff80003c4a9718) at pool_do_get+0x5df pool_get(ffffffff83913cf0,2) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff800036826a88,ffff80003c4a9970,160,ffff80003c4a98c0) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff800036826a88,ffff80003c4a9970,ffff80003c4a98c0) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c4a9970) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4a9970) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1d42d3d5f30, 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 0xfffffd8066ddd000; item addr 0xfffffd8066dddee0; offset 0x40=0x68b4421c ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336a5c0) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83913cf0,2,ffff80003c4a9718) at pool_do_get+0x5df pool_get(ffffffff83913cf0,2) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff800036826a88,ffff80003c4a9970,160,ffff80003c4a98c0) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff800036826a88,ffff80003c4a9970,ffff80003c4a98c0) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c4a9970) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4a9970) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1d42d3d5f30, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c4a9540 rbx 0xffff8000299eeddf rdx 0xffff800001435e00 rcx 0xffff800036826a88 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x38b49513bfffb222 r11 0xf39a1985cdc91ef0 r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff8133ffb5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c4a9530 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=64495 pid=61528 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=60, usrpri=61, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800036827cb0,0xffff800036826038 process=0xffff80003c47c028 user=0xffff80003c4a4000, vmspace=0xfffffd806b9fe7c8 estcpu=11, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 22051 305638 6325 32767 7 0x10 syz-executor 61528 379606 49051 32767 2 0x10 syz-executor *61528 64495 49051 32767 7 0x4000010 syz-executor 87943 446280 70511 32767 2 0x10 syz-executor 87943 454662 70511 32767 3 0x4000090 fsleep syz-executor 69123 167946 57297 32767 2 0x10 syz-executor 69123 227708 57297 32767 2 0x4000010 syz-executor 82153 493868 18799 32767 2 0x10 syz-executor 82153 22835 18799 32767 3 0x4000090 fsleep syz-executor 82153 382514 18799 32767 3 0x4000090 nanoslp syz-executor 82153 163768 18799 32767 3 0x4000090 fsleep syz-executor 52648 146472 82104 32767 2 0x10 syz-executor 52648 248788 82104 32767 3 0x4000090 fsleep syz-executor 55431 53754 0 0 3 0x14200 bored sosplice 49051 344694 35114 32767 3 0x90 nanoslp syz-executor 44402 471364 84068 32767 2 0x10 syz-executor 6325 428014 95597 32767 3 0x90 nanoslp syz-executor 70511 11775 35494 32767 3 0x90 nanoslp syz-executor 18799 195227 73828 32767 3 0x90 nanoslp syz-executor 82104 367577 19245 32767 2 0x10 syz-executor 57297 154930 61335 32767 3 0x90 nanoslp syz-executor 91681 457846 32282 32767 3 0x10 biowait syz-executor 84068 425405 44891 0 3 0x82 wait syz-executor 73828 266308 44891 0 3 0x82 wait syz-executor 19245 82461 44891 0 3 0x82 wait syz-executor 35114 22822 44891 0 3 0x82 wait syz-executor 61335 58785 44891 0 3 0x82 wait syz-executor 95597 46721 44891 0 3 0x82 wait syz-executor 32282 101122 44891 0 3 0x82 wait syz-executor 35494 217458 44891 0 3 0x82 wait syz-executor 44891 345465 48679 0 3 0x82 kqread syz-executor 48679 177729 35501 0 3 0x10008a sigsusp ksh 35501 522966 59468 0 3 0x98 kqread sshd-session 59468 507303 87399 0 3 0x92 kqread sshd-session 27069 246388 1 0 3 0x100083 ttyin getty 87399 488055 1 0 3 0x88 kqread sshd 6234 286065 94773 73 3 0x1100090 kqread syslogd 94773 70640 1 0 3 0x100082 sbwait syslogd 47050 505689 1 0 3 0x100080 kqread resolvd 55580 310516 96396 77 3 0x100092 kqread dhcpleased 91795 369054 96396 77 3 0x100092 kqread dhcpleased 96396 126634 1 0 3 0x80 kqread dhcpleased 97320 479671 0 0 3 0x14200 bored smr 75112 192358 0 0 2 0x14200 zerothread 26562 284202 0 0 3 0x14200 aiodoned aiodoned 51141 181393 0 0 3 0x14200 syncer update 44459 13973 0 0 3 0x14200 cleaner cleaner 60435 496019 0 0 3 0x14200 reaper reaper 68576 408822 0 0 3 0x14200 pgdaemon pagedaemon 71861 391672 0 0 3 0x14200 bored viomb 16942 105942 0 0 3 0x40014200 acpi0 acpi0 13797 299746 0 0 3 0x40014200 idle1 56203 388258 0 0 3 0x14200 bored softnet7 12004 56191 0 0 3 0x14200 bored softnet6 89402 476259 0 0 3 0x14200 bored softnet5 28104 416866 0 0 3 0x14200 bored softnet4 11407 378615 0 0 3 0x14200 bored softnet3 50589 27447 0 0 3 0x14200 bored softnet2 5138 372237 0 0 3 0x14200 bored softnet1 68155 147852 0 0 3 0x14200 bored softnet0 58430 12386 0 0 3 0x14200 bored systqmp 40065 18080 0 0 3 0x14200 bored systq 27369 375506 0 0 3 0x14200 tmoslp softclockmp 6990 128204 0 0 3 0x40014200 tmoslp softclock 29567 453591 0 0 3 0x40014200 idle0 1 109796 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 (0xffffffff83913d08) #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 22051 (syz-executor) thread 0xffff800036826028 (305638) exclusive rwlock uobjlk r = 0 (0xfffffd806ca65cc8) #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 uvm_fault_lower_lookup+0x53 sys/uvm/uvm_fault.c:1236 #3 uvm_fault_lower+0x89 sys/uvm/uvm_fault.c:1370 #4 uvm_fault+0x274 sys/uvm/uvm_fault.c:-1 #5 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #6 usertrap+0x3c6 sys/arch/amd64/amd64/trap.c:603 #7 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd806b9fec98) #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_read+0x3e8 sys/kern/kern_rwlock.c:413 #2 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1924 #3 uvm_fault_check+0x4a sys/uvm/uvm_fault.c:741 #4 uvm_fault+0x106 sys/uvm/uvm_fault.c:677 #5 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #6 usertrap+0x3c6 sys/arch/amd64/amd64/trap.c:603 #7 recall_trap+0x8 Process 61528 (syz-executor) thread 0xffff800036826a88 (64495) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff838b7610) #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 (0xffffffff83913d08) #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 91681 (syz-executor) thread 0xffff80002a2a3240 (457846) exclusive rrwlock inode r = 0 (0xfffffd80675ac7d0) #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:693 #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:746 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80675ac458) #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:693 #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:746 #13 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10189 10956K 10968K 166960K 11267 0 pcb 17 12K 12K 166960K 17 0 rtable 209 6K 6K 166960K 257 0 pf 31 16K 16K 166960K 31 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 5 0 counters 68 36K 36K 166960K 68 0 ioctlops 0 0K 2K 166960K 29 0 iov 0 0K 1K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1334 84K 84K 166960K 1355 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 24 89K 125K 166960K 178 0 sigio 0 0K 0K 166960K 2 0 proc 58 99K 147K 166960K 476 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 0 0K 0K 166960K 14 0 in_multi 99 7K 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 37 175K 175K 166960K 37 0 exec 0 0K 1K 166960K 345 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 235 159K 171K 166960K 3009 0 UVM aobj 3 2K 3K 166960K 4 0 pinsyscall 45 90K 113K 166960K 1178 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 3 0 NDP 11 0K 2K 166960K 27 0 temp 34 8642K 8706K 166960K 3791 0 kqueue 13 20K 26K 166960K 29 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 39 0 36 1 0 1 1 0 8 0 rtentry 176 97 0 1 5 0 5 5 0 8 0 unpcb 144 67 0 52 2 0 2 2 0 8 1 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 25 0 18 2 0 2 2 0 8 1 arp 128 10 0 0 1 0 1 1 0 8 0 inpcb 328 89 0 79 2 0 2 2 0 8 1 ip6q 72 1 0 0 1 0 1 1 0 8 0 nd6 144 18 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 441 0 0 28 0 28 28 0 8 0 art_table 40 442 0 0 5 0 5 5 0 8 0 art_node 32 97 0 11 1 0 1 1 0 8 0 shmpl 112 1 0 1 1 0 1 1 0 8 1 pool(0xffffffff83913cf0:shmpl): page inconsistency: page 0xfffffd8066ddd000; 34 on list, 0 missing, 35 items per page dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1597 0 93 95 0 95 95 0 8 0 ffsino 296 1597 0 93 117 0 117 117 0 8 1 nchpl 144 1828 0 151 63 0 63 63 0 8 0 uvmvnodes 80 1678 0 0 35 0 35 35 0 8 0 vnodes 216 1678 0 0 94 0 94 94 0 8 0 namei 1024 5290 0 5290 1 0 1 1 0 8 1 percpumem 16 49 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 6548 0 6547 3 1 2 2 1 8 1 plimitpl 152 41 0 16 2 0 2 2 0 8 1 sigapl 424 455 0 396 8 0 8 8 0 8 1 knotepl 120 120 0 0 4 0 4 4 0 8 0 kqueuepl 224 29 0 20 1 0 1 1 0 8 0 pipepl 344 98 0 71 3 0 3 3 0 8 0 fdescpl 528 432 0 396 4 0 4 4 0 8 0 filepl 160 1447 0 1237 10 0 10 10 0 8 1 lockfpl 104 13 0 11 1 0 1 1 0 8 0 lockfspl 48 7 0 5 1 0 1 1 0 8 0 sessionpl 144 22 0 6 1 0 1 1 0 8 0 pgrppl 48 30 0 6 1 0 1 1 0 8 0 ucredpl 104 118 0 99 1 0 1 1 0 8 0 zombiepl 144 396 0 396 1 0 1 1 0 8 1 processpl 1232 455 0 396 6 0 6 6 0 8 0 procpl 664 521 0 455 7 0 7 7 0 8 0 sockpl 752 195 0 167 5 0 5 5 0 8 1 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 113 0 0 15 0 15 15 0 8 0 mcl2k 2048 16 0 0 2 0 2 2 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 181 0 0 12 0 12 12 0 8 0 bufpl 280 2856 0 116 196 0 196 196 0 8 0 anonpl 32 7324 0 0 60 0 60 60 0 246 0 amapchunkpl 152 9237 0 8734 32 1 31 31 0 158 10 amappl16 200 2134 0 2117 13 0 13 13 0 8 11 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 101 0 91 1 0 1 1 0 8 0 amappl13 176 11 0 11 1 1 0 1 0 8 0 amappl12 168 1027 0 991 2 0 2 2 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 107 0 97 1 0 1 1 0 8 0 amappl6 120 176 0 172 1 0 1 1 0 8 0 amappl5 112 112 0 106 1 0 1 1 0 8 0 amappl4 104 258 0 242 1 0 1 1 0 8 0 amappl3 96 1328 0 1232 3 0 3 3 0 8 0 amappl2 88 654 0 578 2 0 2 2 0 8 0 amappl1 80 8196 0 7613 14 0 14 14 0 8 0 amappl 88 2390 0 2220 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 3 0 1 1 0 1 1 0 8 0 uaddrrnd 24 432 0 396 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 432 0 396 1 0 1 1 0 8 0 vmmpekpl 168 5013 0 4980 2 0 2 2 0 8 0 vmmpepl 168 34282 0 32253 104 0 104 104 0 357 11 vmsppl 488 431 0 396 6 0 6 6 0 8 0 rwobjpl 80 14240 0 11733 58 0 58 58 0 8 4 pdppl 4096 872 0 792 112 28 84 98 0 8 4 pvpl 32 13419 0 0 109 0 109 109 0 265 0 pmappl 256 431 0 396 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 280 0 30 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83786ff0) 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(ffffffff838b7408) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838b7408) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff800035819960,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff838b7408) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838b7408) at __mp_lock+0x192 sys/kern/kern_lock.c:165 syscall(ffff800035819b30) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff800035819b30) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x713745624660, count: 6 ddb{0}> trace x86_ipi_db(ffffffff83786ff0) 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(ffffffff838b7408) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838b7408) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff800035819960,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff838b7408) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838b7408) at __mp_lock+0x192 sys/kern/kern_lock.c:165 syscall(ffff800035819b30) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff800035819b30) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x713745624660, count: -9 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(ffffffff8336a5c0) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83913cf0,2,ffff80003c4a9718) at pool_do_get+0x5df pool_get(ffffffff83913cf0,2) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff800036826a88,ffff80003c4a9970,160,ffff80003c4a98c0) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff800036826a88,ffff80003c4a9970,ffff80003c4a98c0) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c4a9970) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4a9970) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1d42d3d5f30, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336a5c0) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83913cf0,2,ffff80003c4a9718) at pool_do_get+0x5df pool_get(ffffffff83913cf0,2) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff800036826a88,ffff80003c4a9970,160,ffff80003c4a98c0) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff800036826a88,ffff80003c4a9970,ffff80003c4a98c0) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c4a9970) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4a9970) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1d42d3d5f30, count: -8