https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291470
Bug ID: 291470
Summary: racct maxproc panic
Product: Base System
Version: 16.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
I can reliably trigger a kassert with rctl + jails:
Grab FreeBSD-16.0-CURRENT-amd64-ufs.qcow2.xz or similar.
Set tunable kern.racct.enable="1"
$ pkg install stress
$ rctl -a jail:test:maxproc:deny=100
$ jail -c name=test command=stress -i 1000
stress: info: [1387] dispatching hogs: 0 cpu, 1000 io, 0 vm, 0 hdd
panic: /usr/src/sys/kern/kern_proc.c:247: proc_dtor: Empty stailq
0xfffffe005118ef90->stqh_last is 0, not head's first field address
cpuid = 3
time = 1765130031
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0054df2b10
vpanic() at vpanic+0x136/frame 0xfffffe0054df2c40
panic() at panic+0x43/frame 0xfffffe0054df2ca0
proc_dtor() at proc_dtor+0x29f/frame 0xfffffe0054df2ce0
uma_zfree_arg() at uma_zfree_arg+0xaa/frame 0xfffffe0054df2d30
fork1() at fork1+0x5b3/frame 0xfffffe0054df2da0
sys_fork() at sys_fork+0x54/frame 0xfffffe0054df2e00
amd64_syscall() at amd64_syscall+0x169/frame 0xfffffe0054df2f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0054df2f30
--- syscall (2, FreeBSD ELF64, fork), rip = 0x823c08eba, rsp = 0x820e7e538, rbp
= 0x820e7e5e0 ---
KDB: enter: panic
[ thread pid 1387 tid 100343 ]
Stopped at kdb_enter+0x33: movq $0,0x1217422(%rip)
db>
--
You are receiving this mail because:
You are the assignee for the bug.