panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 1083409 [running]: panic({0xfe4560, 0xc007157970}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc004186ea0 sp=0xc004186de0 pc=0x435837 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc001523260, 0xc005f20a80, 0x11c5839?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x5f4 fp=0xc004186f88 sp=0xc004186ea0 pc=0xdc1154 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc000e87c00, 0xc006cfd328?, 0xc006cfd000?, {0x11c5839, 0x4}, 0x0?, 0x0?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0x10d fp=0xc004187010 sp=0xc004186f88 pc=0xdb616d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x449812?, 0x1e9fd40?, {0x11c5839, 0x4}, 0x34c0?, 0xc008b3cc00?) pkg/sentry/kernel/task_cgroup.go:234 +0xd7 fp=0xc0041870d0 sp=0xc004187010 pc=0xa09b77 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc00836a000, 0xc004187188?, {0x11c5839, 0x4}, 0xc004187100?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xdf fp=0xc004187158 sp=0xc0041870d0 pc=0xa09cdf gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x45 fp=0xc0041871a8 sp=0xc004187158 pc=0xa288a5 gvisor.dev/gvisor/pkg/cleanup.clean({0xc005703178, 0xa3014f?, 0xc0002a29a0?}) pkg/cleanup/cleanup.go:59 +0x42 fp=0xc0041871c0 sp=0xc0041871a8 pc=0x6e8de2 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc004187490) pkg/cleanup/cleanup.go:44 +0x36 fp=0xc0041871e8 sp=0xc0041871c0 pc=0x6e8c16 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc004187200 sp=0xc0041871e8 pc=0xa28946 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc004187240 sp=0xc004187200 pc=0x434953 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc0002a29a0, {0x140f4f0?, 0xc00836a000?}, 0xc0041877d8) pkg/sentry/kernel/task_start.go:211 +0x929 fp=0xc0041874b8 sp=0xc004187240 pc=0xa280c9 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc00836a000?, {0x140f4f0, 0xc00836a000}, 0xc0041877d8) pkg/sentry/kernel/task_start.go:127 +0xb5 fp=0xc004187530 sp=0xc0041874b8 pc=0xa275b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc00836a000, 0xc0041878b0) pkg/sentry/kernel/task_clone.go:224 +0x124f fp=0xc0041878a0 sp=0xc004187530 pc=0xa0b0af gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x101000101010101?, 0x10001?, 0x0?, 0x0?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x8d fp=0xc004187918 sp=0xc0041878a0 pc=0xad346d gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc00836a000?, {{0x3d0f00}, {0x7f77adb7b2f0}, {0x7f77adb7b9d0}, {0x7f77adb7b9d0}, {0x7f77adb7b700}, {0x7f77adb7b700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc004187958 sp=0xc004187918 pc=0xa9a0ae gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00836a000, 0x38, {{0x3d0f00}, {0x7f77adb7b2f0}, {0x7f77adb7b9d0}, {0x7f77adb7b9d0}, {0x7f77adb7b700}, {0x7f77adb7b700}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc004187c98 sp=0xc004187958 pc=0xa2accb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00836a000, 0xc002859a00?, {{0x3d0f00}, {0x7f77adb7b2f0}, {0x7f77adb7b9d0}, {0x7f77adb7b9d0}, {0x7f77adb7b700}, {0x7f77adb7b700}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc004187cf8 sp=0xc004187c98 pc=0xa2c2b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0003fe400?, 0xc004187e40?, {{0x3d0f00}, {0x7f77adb7b2f0}, {0x7f77adb7b9d0}, {0x7f77adb7b9d0}, {0x7f77adb7b700}, {0x7f77adb7b700}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc004187d58 sp=0xc004187cf8 pc=0xa2bea5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00832f810?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc004187e50 sp=0xc004187d58 pc=0xa2bb6c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00802fc80?, 0xc00836a000) pkg/sentry/kernel/task_run.go:253 +0x1125 fp=0xc004187f60 sp=0xc004187e50 pc=0xa1d925 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00836a000, 0x7bc7) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc004187fc0 sp=0xc004187f60 pc=0xa1c16c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc004187fe0 sp=0xc004187fc0 pc=0xa2916a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc004187fe8 sp=0xc004187fe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105