panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 678233 [running]: panic({0xfe2380, 0xc00bdbdaf0}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc0017c6ea0 sp=0xc0017c6de0 pc=0x435837 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc00c3b9560, 0xc00c8daa80, 0x11c310d?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x5f4 fp=0xc0017c6f88 sp=0xc0017c6ea0 pc=0xdbf4b4 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc00598c000, 0xc00345a988?, 0xc00345a800?, {0x11c310d, 0x4}, 0x0?, 0x0?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0x10d fp=0xc0017c7010 sp=0xc0017c6f88 pc=0xdb44cd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x449812?, 0x1e9d200?, {0x11c310d, 0x4}, 0x3a80?, 0xc0063eb7a0?) pkg/sentry/kernel/task_cgroup.go:234 +0xd7 fp=0xc0017c70d0 sp=0xc0017c7010 pc=0xa09077 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc00c930000, 0xc0017c7188?, {0x11c310d, 0x4}, 0xc0017c7100?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xdf fp=0xc0017c7158 sp=0xc0017c70d0 pc=0xa091df gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x45 fp=0xc0017c71a8 sp=0xc0017c7158 pc=0xa27da5 gvisor.dev/gvisor/pkg/cleanup.clean({0xc00229c170, 0xa2f64f?, 0xc000212070?}) pkg/cleanup/cleanup.go:59 +0x42 fp=0xc0017c71c0 sp=0xc0017c71a8 pc=0x6e7ba2 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc0017c7490) pkg/cleanup/cleanup.go:44 +0x36 fp=0xc0017c71e8 sp=0xc0017c71c0 pc=0x6e79d6 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc0017c7200 sp=0xc0017c71e8 pc=0xa27e46 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc0017c7240 sp=0xc0017c7200 pc=0x434953 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc000212070, {0x140cc10?, 0xc00c930000?}, 0xc0017c77d8) pkg/sentry/kernel/task_start.go:211 +0x929 fp=0xc0017c74b8 sp=0xc0017c7240 pc=0xa275c9 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc00c930000?, {0x140cc10, 0xc00c930000}, 0xc0017c77d8) pkg/sentry/kernel/task_start.go:127 +0xb5 fp=0xc0017c7530 sp=0xc0017c74b8 pc=0xa26ab5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc00c930000, 0xc0017c78b0) pkg/sentry/kernel/task_clone.go:224 +0x124f fp=0xc0017c78a0 sp=0xc0017c7530 pc=0xa0a5af gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0xa7597?, 0x1?, 0xc0017c7960?, 0x0?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x8d fp=0xc0017c7918 sp=0xc0017c78a0 pc=0xad296d gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0x0?, {{0x3d0f00}, {0x7f046df452f0}, {0x7f046df459d0}, {0x7f046df459d0}, {0x7f046df45700}, {0x7f046df45700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc0017c7958 sp=0xc0017c7918 pc=0xa995ae gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00c930000, 0x38, {{0x3d0f00}, {0x7f046df452f0}, {0x7f046df459d0}, {0x7f046df459d0}, {0x7f046df45700}, {0x7f046df45700}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc0017c7c98 sp=0xc0017c7958 pc=0xa2a1cb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00c930000, 0x85?, {{0x3d0f00}, {0x7f046df452f0}, {0x7f046df459d0}, {0x7f046df459d0}, {0x7f046df45700}, {0x7f046df45700}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc0017c7cf8 sp=0xc0017c7c98 pc=0xa2b7b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0x8be92f?, 0x5?, {{0x3d0f00}, {0x7f046df452f0}, {0x7f046df459d0}, {0x7f046df459d0}, {0x7f046df45700}, {0x7f046df45700}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc0017c7d58 sp=0xc0017c7cf8 pc=0xa2b3a5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00c905450?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc0017c7e50 sp=0xc0017c7d58 pc=0xa2b06c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00c77b600?, 0xc00c930000) pkg/sentry/kernel/task_run.go:253 +0x1125 fp=0xc0017c7f60 sp=0xc0017c7e50 pc=0xa1ce25 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00c930000, 0x744f) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc0017c7fc0 sp=0xc0017c7f60 pc=0xa1b66c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc0017c7fe0 sp=0xc0017c7fc0 pc=0xa2866a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc0017c7fe8 sp=0xc0017c7fe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105