panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 1026082 [running]: panic({0xedd400, 0xc007be6cb0}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc0020f6e08 sp=0xc0020f6d48 pc=0x4359f7 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc00593afc0, 0xc003c29500, 0x10bde79?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x559 fp=0xc0020f6ef0 sp=0xc0020f6e08 pc=0xcd3cf9 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc007d05880, 0xc009c15000?, 0xc000bcb800?, {0x10bde79, 0x4}, 0xc0000dd500?, 0x0?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0xf9 fp=0xc0020f6f78 sp=0xc0020f6ef0 pc=0xcc9ed9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x4499f7?, 0x1bd2920?, {0x10bde79, 0x4}, 0x1640?, 0xc005619f20?) pkg/sentry/kernel/task_cgroup.go:234 +0xcd fp=0xc0020f7038 sp=0xc0020f6f78 pc=0x979ead gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc005838a80, 0x4497da?, {0x10bde79, 0x4}, 0xc008616120?, 0xc0001f4d24?) pkg/sentry/kernel/task_cgroup.go:245 +0xc5 fp=0xc0020f70c0 sp=0xc0020f7038 pc=0x979fe5 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x3a fp=0xc0020f7110 sp=0xc0020f70c0 pc=0x9933ba gvisor.dev/gvisor/pkg/cleanup.clean(...) pkg/cleanup/cleanup.go:59 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc0020f73d8) pkg/cleanup/cleanup.go:44 +0x37 fp=0xc0020f7130 sp=0xc0020f7110 pc=0x6bef77 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc0020f7148 sp=0xc0020f7130 pc=0x993446 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc0020f7188 sp=0xc0020f7148 pc=0x434b13 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc0001f4d20, {0x12d6e30?, 0xc005838a80?}, 0xc0020f7720) pkg/sentry/kernel/task_start.go:211 +0x8d1 fp=0xc0020f7400 sp=0xc0020f7188 pc=0x992c31 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc005838a80?, {0x12d6e30, 0xc005838a80}, 0xc0020f7720) pkg/sentry/kernel/task_start.go:127 +0x92 fp=0xc0020f7478 sp=0xc0020f7400 pc=0x9921b2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc005838a80, 0xc0020f77f8) pkg/sentry/kernel/task_clone.go:224 +0x1039 fp=0xc0020f77e8 sp=0xc0020f7478 pc=0x97b119 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x86d01e?, 0xc0072e63c0?, 0xc0072e63c0?, 0xc0000dd520?, 0xc0000dd518?, 0x7d4b80?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x73 fp=0xc0020f7860 sp=0xc0020f77e8 pc=0xa27f73 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0x3?, {{0x3d0f00}, {0x7f5d28c512f0}, {0x7f5d28c519d0}, {0x7f5d28c519d0}, {0x7f5d28c51700}, {0x7f5d28c51700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x32 fp=0xc0020f78a0 sp=0xc0020f7860 pc=0x9f9cd2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc005838a80, 0x38, {{0x3d0f00}, {0x7f5d28c512f0}, {0x7f5d28c519d0}, {0x7f5d28c519d0}, {0x7f5d28c51700}, {0x7f5d28c51700}}) pkg/sentry/kernel/task_syscall.go:142 +0x815 fp=0xc0020f7c90 sp=0xc0020f78a0 pc=0x9952b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc005838a80, 0x0?, {{0x3d0f00}, {0x7f5d28c512f0}, {0x7f5d28c519d0}, {0x7f5d28c519d0}, {0x7f5d28c51700}, {0x7f5d28c51700}}) pkg/sentry/kernel/task_syscall.go:322 +0x4a fp=0xc0020f7cf0 sp=0xc0020f7c90 pc=0x99658a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0002a9d40?, 0xc0020f7e38?, {{0x3d0f00}, {0x7f5d28c512f0}, {0x7f5d28c519d0}, {0x7f5d28c519d0}, {0x7f5d28c51700}, {0x7f5d28c51700}}) pkg/sentry/kernel/task_syscall.go:282 +0x65 fp=0xc0020f7d50 sp=0xc0020f7cf0 pc=0x996265 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc005838a80) pkg/sentry/kernel/task_syscall.go:257 +0x305 fp=0xc0020f7e48 sp=0xc0020f7d50 pc=0x995fc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc005138c80?, 0xc005838a80) pkg/sentry/kernel/task_run.go:253 +0xdea fp=0xc0020f7f60 sp=0xc0020f7e48 pc=0x98a24a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc005838a80, 0x7a39) pkg/sentry/kernel/task_run.go:94 +0x1ac fp=0xc0020f7fc0 sp=0xc0020f7f60 pc=0x988e4c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc0020f7fe0 sp=0xc0020f7fc0 pc=0x993a4a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc0020f7fe8 sp=0xc0020f7fe0 pc=0x4694e1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0xf9