I’m running the Tailscale 1.22.1 package on my Synology DS918+ with DSM 7, but Tailscale will run for a little while and then crash. I found the logs (at /var/packages/Tailscale/var in case you’re looking for them) and at the beginning of the latest “tailscaled.stdout.log” file I can see this:
logtail started
Program starting: v1.22.1-tc8fb4f8c7, Go 1.17.8-tsdce70b6d32: []string{"/volume2/@appstore/Tailscale/bin/tailscaled", "--state=/volume2/@appdata/Tailscale/tailscaled.state", "--socket=/volume2/@appdata/Tailscale/>
RAW-STDERR: ***
RAW-STDERR: *** Lines prefixed with RAW-STDERR below bypassed logtail and probably come from a previous run of the program
RAW-STDERR: ***
RAW-STDERR:
RAW-STDERR: panic: Incrementing non-positive count 0xc0000fe000 on stack.PacketBuffer
RAW-STDERR:
RAW-STDERR: goroutine 244 [running]:
RAW-STDERR: gvisor.dev/gvisor/pkg/tcpip/stack.(*packetBufferRefs).IncRef(0xc0000fe000)
RAW-STDERR: gvisor.dev/gvisor@v0.0.0-20220126021142-d8aa030b2591/pkg/tcpip/stack/packet_buffer_refs.go:80 +0x105
RAW-STDERR: gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).HandlePacket(0xc000576c00, {0xa2a9, {0xc0007325f0, 0x4}, 0xa2a9, {0xc0007325ec, 0x4}}, 0xc0000fe000)
RAW-STDERR: gvisor.dev/gvisor@v0.0.0-20220126021142-d8aa030b2591/pkg/tcpip/transport/udp/endpoint.go:924 +0x2ed
RAW-STDERR: gvisor.dev/gvisor/pkg/tcpip/stack.(*endpointsByNIC).handlePacket(0xc000482f60, {0xa2a9, {0xc0007325f0, 0x4}, 0xa2a9, {0xc0007325ec, 0x4}}, 0xc0000fe000)
RAW-STDERR: gvisor.dev/gvisor@v0.0.0-20220126021142-d8aa030b2591/pkg/tcpip/stack/transport_demuxer.go:185 +0x27f
RAW-STDERR: gvisor.dev/gvisor/pkg/tcpip/stack.(*transportDemuxer).deliverPacket(0xc00026e138, 0x11, 0xc0000fe000, {0xa2a9, {0xc0007325f0, 0x4}, 0xa2a9, {0xc0007325ec, 0x4}})
RAW-STDERR: gvisor.dev/gvisor@v0.0.0-20220126021142-d8aa030b2591/pkg/tcpip/stack/transport_demuxer.go:595 +0x3c5
LogID: 0235ea33916bff2b15472d83569c63d2e63fad33ee2758c47bc07c91188aed72
logpolicy: using $STATE_DIRECTORY, "/volume2/@appdata/Tailscale"
RAW-STDERR: gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverTransportPacket(0xc00000a1e0, 0x11, 0xc0000fe000)
RAW-STDERR: gvisor.dev/gvisor@v0.0.0-20220126021142-d8aa030b2591/pkg/tcpip/stack/nic.go:861 +0x1fe
RAW-STDERR: gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleValidatedPacket(0xc0001a6e00, {0xc000618cc0, 0x14, 0x60}, 0xc0000fe380, {0x0, 0x0})
RAW-STDERR: gvisor.dev/gvisor@v0.0.0-20220126021142-d8aa030b2591/pkg/tcpip/network/ipv4/ipv4.go:998 +0xfd6
RAW-STDERR: gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc0001a6e00, 0x88fb75)
RAW-STDERR: gvisor.dev/gvisor@v0.0.0-20220126021142-d8aa030b2591/pkg/tcpip/network/ipv4/ipv4.go:784 +0x2b8
RAW-STDERR: gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc00000a1e0, {0xc00024dbf0, 0x1}, {0x0, 0x0}, 0x800, 0xc0000fe380)
RAW-STDERR: gvisor.dev/gvisor@v0.0.0-20220126021142-d8aa030b2591/pkg/tcpip/stack/nic.go:777 +0x2dd
RAW-STDERR: gvisor.dev/gvisor/pkg/tcpip/link/channel.(*Endpoint).InjectLinkAddr(...)
RAW-STDERR: gvisor.dev/gvisor@v0.0.0-20220126021142-d8aa030b2591/pkg/tcpip/link/channel/channel.go:196
RAW-STDERR: gvisor.dev/gvisor/pkg/tcpip/link/channel.(*Endpoint).InjectInbound(...)
RAW-STDERR: gvisor.dev/gvisor@v0.0.0-20220126021142-d8aa030b2591/pkg/tcpip/link/channel/channel.go:191
RAW-STDERR: tailscale.com/wgengine/netstack.(*Impl).injectInbound(0xc000138280, 0xc00052c080, 0xc0000c54a0)
RAW-STDERR: tailscale.com/wgengine/netstack/netstack.go:577 +0x744
RAW-STDERR: tailscale.com/net/tstun.(*Wrapper).filterIn(0xc0004bc000, {0xc000870010, 0x54, 0xffef})
RAW-STDERR: tailscale.com/net/tstun/wrap.go:614 +0x78d
RAW-STDERR: tailscale.com/net/tstun.(*Wrapper).Write(0xc0004bc000, {0xc000870000, 0xc000150500, 0x1}, 0x10)
RAW-STDERR: tailscale.com/net/tstun/wrap.go:627 +0x7c
RAW-STDERR: golang.zx2c4.com/wireguard/device.(*Peer).RoutineSequentialReceiver(0xc000130e00)
RAW-STDERR: golang.zx2c4.com/wireguard@v0.0.0-20211116201604-de7c702ace45/device/receive.go:477 +0x4d1
RAW-STDERR: created by golang.zx2c4.com/wireguard/device.(*Peer).Start
RAW-STDERR: golang.zx2c4.com/wireguard@v0.0.0-20211116201604-de7c702ace45/device/peer.go:199 +0x295
Any ideas on what’s going on? How can I get my Tailscale package running stably here? Thanks!