panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 1556968 [running]: panic({0xfe3320, 0xc001f030f0}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc00a0a8ea0 sp=0xc00a0a8de0 pc=0x435837 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc00941aa80, 0xc00544a000, 0x11c41b9?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x5f4 fp=0xc00a0a8f88 sp=0xc00a0a8ea0 pc=0xdc0774 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc00a10e800, 0xc00abfe390?, 0xc00abfe000?, {0x11c41b9, 0x4}, 0x0?, 0x0?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0x10d fp=0xc00a0a9010 sp=0xc00a0a8f88 pc=0xdb578d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x449812?, 0x1e9d3a0?, {0x11c41b9, 0x4}, 0x2bc0?, 0xc009400480?) pkg/sentry/kernel/task_cgroup.go:234 +0xd7 fp=0xc00a0a90d0 sp=0xc00a0a9010 pc=0xa09ff7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc009817500, 0x1e9d3a0?, {0x11c41b9, 0x4}, 0xc00a0a91a8?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xdf fp=0xc00a0a9158 sp=0xc00a0a90d0 pc=0xa0a15f gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x45 fp=0xc00a0a91a8 sp=0xc00a0a9158 pc=0xa28d25 gvisor.dev/gvisor/pkg/cleanup.clean({0xc009224080, 0xa305cf?, 0xc00023a9a0?}) pkg/cleanup/cleanup.go:59 +0x42 fp=0xc00a0a91c0 sp=0xc00a0a91a8 pc=0x6e9402 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc00a0a9490) pkg/cleanup/cleanup.go:44 +0x36 fp=0xc00a0a91e8 sp=0xc00a0a91c0 pc=0x6e9236 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc00a0a9200 sp=0xc00a0a91e8 pc=0xa28dc6 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc00a0a9240 sp=0xc00a0a9200 pc=0x434953 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc00023a9a0, {0x140dd30?, 0xc009817500?}, 0xc00a0a97d8) pkg/sentry/kernel/task_start.go:211 +0x929 fp=0xc00a0a94b8 sp=0xc00a0a9240 pc=0xa28549 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc009817500?, {0x140dd30, 0xc009817500}, 0xc00a0a97d8) pkg/sentry/kernel/task_start.go:127 +0xb5 fp=0xc00a0a9530 sp=0xc00a0a94b8 pc=0xa27a35 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc009817500, 0xc00a0a98b0) pkg/sentry/kernel/task_clone.go:224 +0x124f fp=0xc00a0a98a0 sp=0xc00a0a9530 pc=0xa0b52f gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x101000101010101?, 0x10001?, 0x0?, 0x0?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x8d fp=0xc00a0a9918 sp=0xc00a0a98a0 pc=0xad38ed gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc009817500?, {{0x3d0f00}, {0x7f964a39c2f0}, {0x7f964a39c9d0}, {0x7f964a39c9d0}, {0x7f964a39c700}, {0x7f964a39c700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc00a0a9958 sp=0xc00a0a9918 pc=0xa9a52e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc009817500, 0x38, {{0x3d0f00}, {0x7f964a39c2f0}, {0x7f964a39c9d0}, {0x7f964a39c9d0}, {0x7f964a39c700}, {0x7f964a39c700}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc00a0a9c98 sp=0xc00a0a9958 pc=0xa2b14b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc009817500, 0xc000316edc?, {{0x3d0f00}, {0x7f964a39c2f0}, {0x7f964a39c9d0}, {0x7f964a39c9d0}, {0x7f964a39c700}, {0x7f964a39c700}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc00a0a9cf8 sp=0xc00a0a9c98 pc=0xa2c734 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0002bc400?, 0xc00a0a9e40?, {{0x3d0f00}, {0x7f964a39c2f0}, {0x7f964a39c9d0}, {0x7f964a39c9d0}, {0x7f964a39c700}, {0x7f964a39c700}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc00a0a9d58 sp=0xc00a0a9cf8 pc=0xa2c325 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0038a0420?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc00a0a9e50 sp=0xc00a0a9d58 pc=0xa2bfec gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc007683400?, 0xc009817500) pkg/sentry/kernel/task_run.go:253 +0x1125 fp=0xc00a0a9f60 sp=0xc00a0a9e50 pc=0xa1dda5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc009817500, 0xaf8c) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc00a0a9fc0 sp=0xc00a0a9f60 pc=0xa1c5ec gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc00a0a9fe0 sp=0xc00a0a9fc0 pc=0xa295ea runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00a0a9fe8 sp=0xc00a0a9fe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105