panic: runtime error: integer divide by zero goroutine 675808 [running]: panic(0x154cea0, 0x21f4320) GOROOT/src/runtime/panic.go:1064 +0x46d fp=0xc000932bb0 sp=0xc000932af8 pc=0x43611d runtime.panicdivide() GOROOT/src/runtime/panic.go:191 +0x5b fp=0xc000932bd0 sp=0xc000932bb0 pc=0x43488b gvisor.dev/gvisor/pkg/tcpip/stack.(*ConnTrack).bucket(0xc0001433d0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x600000000, 0x800, 0x0) pkg/tcpip/stack/conntrack.go:508 +0x3df fp=0xc000932cc8 sp=0xc000932bd0 pc=0xa7528f gvisor.dev/gvisor/pkg/tcpip/stack.(*ConnTrack).connForTID(0xc0001433d0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x600000000, 0x800, 0x0, 0x0) pkg/tcpip/stack/conntrack.go:247 +0xe0 fp=0xc000932e78 sp=0xc000932cc8 pc=0xa729e0 gvisor.dev/gvisor/pkg/tcpip/stack.(*ConnTrack).originalDst(0xc0001433d0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x203000, 0x14f8120, 0xc001e5a10f, ...) pkg/tcpip/stack/conntrack.go:623 +0x158 fp=0xc000932f70 sp=0xc000932e78 pc=0xa75d48 gvisor.dev/gvisor/pkg/tcpip/stack.(*IPTables).OriginalDst(...) pkg/tcpip/stack/iptables.go:422 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).GetSockOpt(0xc00132e000, 0x14cd4c0, 0xc00199f020, 0xc001e5a100) pkg/tcpip/transport/tcp/endpoint.go:2054 +0x2e0 fp=0xc0009330f0 sp=0xc000932f70 pc=0xcec640 gvisor.dev/gvisor/pkg/sentry/socket/netstack.getSockOptIP(0xc0029f5500, 0x18fc200, 0xc00025e300, 0x7fb5b0b51fe0, 0xc00132e000, 0x50, 0x20001280, 0x1000, 0x2, 0xc000933428, ...) pkg/sentry/socket/netstack/netstack.go:1631 +0x1706 fp=0xc0009333b0 sp=0xc0009330f0 pc=0xd5c246 gvisor.dev/gvisor/pkg/sentry/socket/netstack.GetSockOpt(0xc0029f5500, 0x18fc200, 0xc00025e300, 0x7fb5b0b51fe0, 0xc00132e000, 0x2, 0x1, 0x0, 0x50, 0x20001280, ...) pkg/sentry/socket/netstack/netstack.go:1003 +0x1e6 fp=0xc000933438 sp=0xc0009333b0 pc=0xd55236 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketOperations).GetSockOpt(0xc00025e300, 0xc0029f5500, 0x0, 0x50, 0x20001280, 0x1000, 0x0, 0x0, 0x0) pkg/sentry/socket/netstack/netstack.go:986 +0x4cf fp=0xc000933588 sp=0xc000933438 pc=0xd54fef gvisor.dev/gvisor/pkg/sentry/syscalls/linux.getSockOpt(0xc0029f5500, 0x7fb5b0b51ec8, 0xc00025e300, 0x0, 0x50, 0x20001280, 0x1000, 0x10, 0x90, 0x10) pkg/sentry/syscalls/linux/sys_socket.go:514 +0xd7 fp=0xc000933628 sp=0xc000933588 pc=0xc544f7 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.GetSockOpt(0xc0029f5500, 0x3, 0x0, 0x50, 0x20001280, 0x20000040, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_socket.go:468 +0x2b7 fp=0xc000933740 sp=0xc000933628 pc=0xc54077 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0029f5500, 0x37, 0x3, 0x0, 0x50, 0x20001280, 0x20000040, 0x0, 0x340, 0x0, ...) pkg/sentry/kernel/task_syscall.go:103 +0x44e fp=0xc0009339e0 sp=0xc000933740 pc=0xbb000e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0029f5500, 0x37, 0x3, 0x0, 0x50, 0x20001280, 0x20000040, 0x0, 0x407baa, 0xc0029f5dd7) pkg/sentry/kernel/task_syscall.go:238 +0xb5 fp=0xc000933ac0 sp=0xc0009339e0 pc=0xbb16c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0029f5500, 0x37, 0x3, 0x0, 0x50, 0x20001280, 0x20000040, 0x0, 0x1149ec2, 0x2be2cb2) pkg/sentry/kernel/task_syscall.go:198 +0x10a fp=0xc000933b70 sp=0xc000933ac0 pc=0xbb102a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0029f5500, 0x2, 0xc0029f5500) pkg/sentry/kernel/task_syscall.go:173 +0x1e8 fp=0xc000933cb0 sp=0xc000933b70 pc=0xbb0818 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0029f5500, 0x18c8000, 0x0) pkg/sentry/kernel/task_run.go:275 +0x11d9 fp=0xc000933ee8 sp=0xc000933cb0 pc=0xb9d169 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0029f5500, 0x6c81) pkg/sentry/kernel/task_run.go:93 +0x31d fp=0xc000933fd0 sp=0xc000933ee8 pc=0xb9b33d runtime.goexit() src/runtime/asm_amd64.s:1373 +0x1 fp=0xc000933fd8 sp=0xc000933fd0 pc=0x46b961 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:318 +0x19e