panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1e1f176] goroutine 81 gp=0xc0009ee540 m=14 mp=0xc000482008 [running]: panic({0x312be0?, 0x2822520?}) GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc0007190c0 sp=0xc000719010 pc=0x1355e98 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc000719120 sp=0xc0007190c0 pc=0x13710f8 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0xc000467c08, 0x0) pkg/tcpip/transport/tcp/endpoint.go:1766 +0xb6 fp=0xc000719190 sp=0xc000719120 pc=0x1e1f176 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0xc000468118, 0x0) pkg/tcpip/socketops.go:474 +0x66 fp=0xc0007191b0 sp=0xc000719190 pc=0x16d4526 gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x0?, {0x8335c8, 0xc000a56000}, {0x7f5ba9915e20, 0xc000467c08}, 0x3, {0xc0001e33bc, 0x4, 0x1397711?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x425 fp=0xc000719250 sp=0xc0007191b0 pc=0x1eef5c5 gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0xc0001e2a88, {0x8335c8, 0xc000a56000}, {0x7f5ba9915e20, 0xc000467c08}, 0x6, 0x3, {0xc0001e33bc, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:1765 +0x196 fp=0xc0007192b0 sp=0xc000719250 pc=0x1eec996 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0xc000a56000, 0xc0001e2a88, 0x6, 0x3, {0xc0001e33bc, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:611 +0x608 fp=0xc0007193d8 sp=0xc0007192b0 pc=0x1ee4468 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0xc0001e2a88, 0x13620ad?, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7f1bf23e6e78}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x3b5 fp=0xc0007194f0 sp=0xc0007193d8 pc=0x1fb4e55 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0001e2a88, 0x36, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7f1bf23e6e78}}) pkg/sentry/kernel/task_syscall.go:143 +0x995 fp=0xc000719938 sp=0xc0007194f0 pc=0x1d30595 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0001e2a88, 0x36, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7f1bf23e6e78}}) pkg/sentry/kernel/task_syscall.go:323 +0x72 fp=0xc0007199e0 sp=0xc000719938 pc=0x1d323f2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0001e2a88, 0x36, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7f1bf23e6e78}}) pkg/sentry/kernel/task_syscall.go:283 +0x94 fp=0xc000719a50 sp=0xc0007199e0 pc=0x1d31df4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0001e2a88) pkg/sentry/kernel/task_syscall.go:258 +0x4b0 fp=0xc000719b80 sp=0xc000719a50 pc=0x1d31990 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0001e2a88?, 0xc0001e2a88) pkg/sentry/kernel/task_run.go:263 +0x1fee fp=0xc000719e98 sp=0xc000719b80 pc=0x1d1b20e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0001e2a88, 0x7) pkg/sentry/kernel/task_run.go:98 +0x46d fp=0xc000719fb0 sp=0xc000719e98 pc=0x1d1888d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x45 fp=0xc000719fe0 sp=0xc000719fb0 pc=0x1d2e0c5 runtime.goexit({}) src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000719fe8 sp=0xc000719fe0 pc=0x1394441 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 259 pkg/sentry/kernel/task_start.go:390 +0x1ae