panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1e21a36] goroutine 104217 gp=0xc006ba2a80 m=28 mp=0xc0009da808 [running]: panic({0x312ce0?, 0x2827720?}) GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc0050630c0 sp=0xc005063010 pc=0x1358318 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc005063120 sp=0xc0050630c0 pc=0x1373578 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0xc017739c08, 0x0) pkg/tcpip/transport/tcp/endpoint.go:1766 +0xb6 fp=0xc005063190 sp=0xc005063120 pc=0x1e21a36 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0xc01773a118, 0x0) pkg/tcpip/socketops.go:474 +0x66 fp=0xc0050631b0 sp=0xc005063190 pc=0x16d69a6 gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x0?, {0x833048, 0xc00f0950e0}, {0x7f7ff0c30d18, 0xc017739c08}, 0x3, {0xc00e291e3c, 0x14, 0x1399b91?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x425 fp=0xc005063250 sp=0xc0050631b0 pc=0x1ef1945 gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0xc00e291508, {0x833048, 0xc00f0950e0}, {0x7f7ff0c30d18, 0xc017739c08}, 0x6, 0x3, {0xc00e291e3c, 0x14, 0x90}) pkg/sentry/socket/netstack/netstack.go:1765 +0x196 fp=0xc0050632b0 sp=0xc005063250 pc=0x1eeed16 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0xc00f0950e0, 0xc00e291508, 0x6, 0x3, {0xc00e291e3c, 0x14, 0x90}) pkg/sentry/socket/netstack/netstack.go:611 +0x608 fp=0xc0050633d8 sp=0xc0050632b0 pc=0x1ee67e8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0xc00e291508, 0xca?, {{0x3}, {0x6}, {0x3}, {0x20002440}, {0x14}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x3b5 fp=0xc0050634f0 sp=0xc0050633d8 pc=0x1fb72b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00e291508, 0x36, {{0x3}, {0x6}, {0x3}, {0x20002440}, {0x14}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0x995 fp=0xc005063938 sp=0xc0050634f0 pc=0x1d32e55 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00e291508, 0x36, {{0x3}, {0x6}, {0x3}, {0x20002440}, {0x14}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x72 fp=0xc0050639e0 sp=0xc005063938 pc=0x1d34cb2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00e291508, 0x36, {{0x3}, {0x6}, {0x3}, {0x20002440}, {0x14}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0x94 fp=0xc005063a50 sp=0xc0050639e0 pc=0x1d346b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00e291508) pkg/sentry/kernel/task_syscall.go:258 +0x4b0 fp=0xc005063b80 sp=0xc005063a50 pc=0x1d34250 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00e291508?, 0xc00e291508) pkg/sentry/kernel/task_run.go:263 +0x1fee fp=0xc005063e98 sp=0xc005063b80 pc=0x1d1dace gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00e291508, 0x98c2) pkg/sentry/kernel/task_run.go:98 +0x46d fp=0xc005063fb0 sp=0xc005063e98 pc=0x1d1b14d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x45 fp=0xc005063fe0 sp=0xc005063fb0 pc=0x1d30985 runtime.goexit({}) src/runtime/asm_amd64.s:1695 +0x1 fp=0xc005063fe8 sp=0xc005063fe0 pc=0x13968c1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 104215 pkg/sentry/kernel/task_start.go:390 +0x1ae