panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1e21a36] goroutine 4814 gp=0xc000943880 m=16 mp=0xc000251008 [running]: panic({0x312ce0?, 0x2827720?}) GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc003e230c0 sp=0xc003e23010 pc=0x1358318 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc003e23120 sp=0xc003e230c0 pc=0x1373578 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0xc005a60708, 0x0) pkg/tcpip/transport/tcp/endpoint.go:1766 +0xb6 fp=0xc003e23190 sp=0xc003e23120 pc=0x1e21a36 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0xc005a60c18, 0x0) pkg/tcpip/socketops.go:474 +0x66 fp=0xc003e231b0 sp=0xc003e23190 pc=0x16d69a6 gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x0?, {0x833048, 0xc000a08f00}, {0x7f140f858a58, 0xc005a60708}, 0x3, {0xc005a6693c, 0x4, 0x1399b91?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x425 fp=0xc003e23250 sp=0xc003e231b0 pc=0x1ef1945 gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0xc005a66008, {0x833048, 0xc000a08f00}, {0x7f140f858a58, 0xc005a60708}, 0x6, 0x3, {0xc005a6693c, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:1765 +0x196 fp=0xc003e232b0 sp=0xc003e23250 pc=0x1eeed16 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0xc000a08f00, 0xc005a66008, 0x6, 0x3, {0xc005a6693c, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:611 +0x608 fp=0xc003e233d8 sp=0xc003e232b0 pc=0x1ee67e8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0xc005a66008, 0x136452d?, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x4}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x3b5 fp=0xc003e234f0 sp=0xc003e233d8 pc=0x1fb72b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc005a66008, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0x995 fp=0xc003e23938 sp=0xc003e234f0 pc=0x1d32e55 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc005a66008, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x72 fp=0xc003e239e0 sp=0xc003e23938 pc=0x1d34cb2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc005a66008, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0x94 fp=0xc003e23a50 sp=0xc003e239e0 pc=0x1d346b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc005a66008) pkg/sentry/kernel/task_syscall.go:258 +0x4b0 fp=0xc003e23b80 sp=0xc003e23a50 pc=0x1d34250 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc005a66008?, 0xc005a66008) pkg/sentry/kernel/task_run.go:263 +0x1fee fp=0xc003e23e98 sp=0xc003e23b80 pc=0x1d1dace gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc005a66008, 0x540) pkg/sentry/kernel/task_run.go:98 +0x46d fp=0xc003e23fb0 sp=0xc003e23e98 pc=0x1d1b14d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x45 fp=0xc003e23fe0 sp=0xc003e23fb0 pc=0x1d30985 runtime.goexit({}) src/runtime/asm_amd64.s:1695 +0x1 fp=0xc003e23fe8 sp=0xc003e23fe0 pc=0x13968c1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 4831 pkg/sentry/kernel/task_start.go:390 +0x1ae