panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 96700 [running]: panic({0xfdaa60, 0xc0078adcb0}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc005be6eb0 sp=0xc005be6df0 pc=0x435837 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc003a73680, 0xc008b30000, 0x11b9293?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x5f4 fp=0xc005be6f98 sp=0xc005be6eb0 pc=0xdbbc94 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc005bd6700, 0xc005f6db90?, 0xc005f6d800?, {0x11b9293, 0x4}, 0x0?, 0x0?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0x10d fp=0xc005be7020 sp=0xc005be6f98 pc=0xdb0cad gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x449812?, 0x1e88ae0?, {0x11b9293, 0x4}, 0x25c0?, 0xc000d18ba0?) pkg/sentry/kernel/task_cgroup.go:234 +0xd7 fp=0xc005be70e0 sp=0xc005be7020 pc=0xa04057 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc0061c3500, 0xc005be7198?, {0x11b9293, 0x4}, 0xc005be7100?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xdf fp=0xc005be7168 sp=0xc005be70e0 pc=0xa041bf gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x45 fp=0xc005be71b8 sp=0xc005be7168 pc=0xa22d25 gvisor.dev/gvisor/pkg/cleanup.clean({0xc009270340, 0xa2a1af?, 0xc00029c9a0?}) pkg/cleanup/cleanup.go:59 +0x42 fp=0xc005be71d0 sp=0xc005be71b8 pc=0x6e1442 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc005be74a0) pkg/cleanup/cleanup.go:44 +0x36 fp=0xc005be71f8 sp=0xc005be71d0 pc=0x6e1276 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc005be7210 sp=0xc005be71f8 pc=0xa22dc6 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc005be7250 sp=0xc005be7210 pc=0x434953 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc00029c9a0, {0x1405af0?, 0xc0061c3500?}, 0xc005be77e8) pkg/sentry/kernel/task_start.go:211 +0x93b fp=0xc005be74c8 sp=0xc005be7250 pc=0xa2253b gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc0061c3500?, {0x1405af0, 0xc0061c3500}, 0xc005be77e8) pkg/sentry/kernel/task_start.go:127 +0xb5 fp=0xc005be7540 sp=0xc005be74c8 pc=0xa21a15 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc0061c3500, 0xc005be78c0) pkg/sentry/kernel/task_clone.go:224 +0x11da fp=0xc005be78b0 sp=0xc005be7540 pc=0xa0551a gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x0?, 0x0?, 0xc006f98000?, 0xc009a81200?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x8d fp=0xc005be7928 sp=0xc005be78b0 pc=0xacc1cd gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0x20000?, {{0x3d0f00}, {0x7f989679c2f0}, {0x7f989679c9d0}, {0x7f989679c9d0}, {0x7f989679c700}, {0x7f989679c700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc005be7968 sp=0xc005be7928 pc=0xa9298e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0061c3500, 0x38, {{0x3d0f00}, {0x7f989679c2f0}, {0x7f989679c9d0}, {0x7f989679c9d0}, {0x7f989679c700}, {0x7f989679c700}}) pkg/sentry/kernel/task_syscall.go:142 +0x7d0 fp=0xc005be7ca8 sp=0xc005be7968 pc=0xa25130 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0061c3500, 0x0?, {{0x3d0f00}, {0x7f989679c2f0}, {0x7f989679c9d0}, {0x7f989679c9d0}, {0x7f989679c700}, {0x7f989679c700}}) pkg/sentry/kernel/task_syscall.go:322 +0x57 fp=0xc005be7d18 sp=0xc005be7ca8 pc=0xa26737 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0046408f8?, 0x61c3500?, {{0x3d0f00}, {0x7f989679c2f0}, {0x7f989679c9d0}, {0x7f989679c9d0}, {0x7f989679c700}, {0x7f989679c700}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc005be7d78 sp=0xc005be7d18 pc=0xa262e5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0061c3500) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc005be7e40 sp=0xc005be7d78 pc=0xa25fac gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0063d6900?, 0xc0061c3500) pkg/sentry/kernel/task_run.go:253 +0x113b fp=0xc005be7f60 sp=0xc005be7e40 pc=0xa17dbb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0061c3500, 0xae8) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc005be7fc0 sp=0xc005be7f60 pc=0xa165ec gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc005be7fe0 sp=0xc005be7fc0 pc=0xa235ea runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc005be7fe8 sp=0xc005be7fe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105