panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 1184091 [running]: panic({0xedd400, 0xc008d8ef40}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc0025fae08 sp=0xc0025fad48 pc=0x4359f7 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc009e03740, 0xc00a4cf500, 0x10bde79?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x559 fp=0xc0025faef0 sp=0xc0025fae08 pc=0xcd3cf9 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc00258e000, 0x203002?, 0x203002?, {0x10bde79, 0x4}, 0xc0000dd500?, 0x0?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0xf9 fp=0xc0025faf78 sp=0xc0025faef0 pc=0xcc9ed9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x4499d2?, 0x1bd21e0?, {0x10bde79, 0x4}, 0xf00?, 0xc008ba1980?) pkg/sentry/kernel/task_cgroup.go:234 +0xcd fp=0xc0025fb038 sp=0xc0025faf78 pc=0x979ead gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc00607d500, 0x4497da?, {0x10bde79, 0x4}, 0xc004a8f620?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xc5 fp=0xc0025fb0c0 sp=0xc0025fb038 pc=0x979fe5 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x3a fp=0xc0025fb110 sp=0xc0025fb0c0 pc=0x9933ba gvisor.dev/gvisor/pkg/cleanup.clean(...) pkg/cleanup/cleanup.go:59 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc0025fb3d8) pkg/cleanup/cleanup.go:44 +0x37 fp=0xc0025fb130 sp=0xc0025fb110 pc=0x6bef77 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc0025fb148 sp=0xc0025fb130 pc=0x993446 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc0025fb188 sp=0xc0025fb148 pc=0x434b13 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc0004ec230, {0x12d6e30?, 0xc00607d500?}, 0xc0025fb720) pkg/sentry/kernel/task_start.go:211 +0x8d1 fp=0xc0025fb400 sp=0xc0025fb188 pc=0x992c31 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc00607d500?, {0x12d6e30, 0xc00607d500}, 0xc0025fb720) pkg/sentry/kernel/task_start.go:127 +0x92 fp=0xc0025fb478 sp=0xc0025fb400 pc=0x9921b2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc00607d500, 0xc0025fb7f8) pkg/sentry/kernel/task_clone.go:224 +0x1039 fp=0xc0025fb7e8 sp=0xc0025fb478 pc=0x97b119 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x86d01e?, 0xc0089f4540?, 0xc0089f4540?, 0xc0000dd520?, 0xc0000dd518?, 0x7d4b80?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x73 fp=0xc0025fb860 sp=0xc0025fb7e8 pc=0xa27f73 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0x3?, {{0x3d0f00}, {0x7f71e1d862f0}, {0x7f71e1d869d0}, {0x7f71e1d869d0}, {0x7f71e1d86700}, {0x7f71e1d86700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x32 fp=0xc0025fb8a0 sp=0xc0025fb860 pc=0x9f9cd2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00607d500, 0x38, {{0x3d0f00}, {0x7f71e1d862f0}, {0x7f71e1d869d0}, {0x7f71e1d869d0}, {0x7f71e1d86700}, {0x7f71e1d86700}}) pkg/sentry/kernel/task_syscall.go:142 +0x815 fp=0xc0025fbc90 sp=0xc0025fb8a0 pc=0x9952b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00607d500, 0x0?, {{0x3d0f00}, {0x7f71e1d862f0}, {0x7f71e1d869d0}, {0x7f71e1d869d0}, {0x7f71e1d86700}, {0x7f71e1d86700}}) pkg/sentry/kernel/task_syscall.go:322 +0x4a fp=0xc0025fbcf0 sp=0xc0025fbc90 pc=0x99658a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0002fc000?, 0xc0025fbe38?, {{0x3d0f00}, {0x7f71e1d862f0}, {0x7f71e1d869d0}, {0x7f71e1d869d0}, {0x7f71e1d86700}, {0x7f71e1d86700}}) pkg/sentry/kernel/task_syscall.go:282 +0x65 fp=0xc0025fbd50 sp=0xc0025fbcf0 pc=0x996265 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00607d500) pkg/sentry/kernel/task_syscall.go:257 +0x305 fp=0xc0025fbe48 sp=0xc0025fbd50 pc=0x995fc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc007bf8200?, 0xc00607d500) pkg/sentry/kernel/task_run.go:253 +0xdea fp=0xc0025fbf60 sp=0xc0025fbe48 pc=0x98a24a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00607d500, 0xaa10) pkg/sentry/kernel/task_run.go:94 +0x1ac fp=0xc0025fbfc0 sp=0xc0025fbf60 pc=0x988e4c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc0025fbfe0 sp=0xc0025fbfc0 pc=0x993a4a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc0025fbfe8 sp=0xc0025fbfe0 pc=0x4694e1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0xf9