Is there an existing issue for this?
Current Behavior
The coder docker container exited due to internal panic.
Relevant Log Output
panic: length < 0
goroutine 248430109 [running]:
gvisor.dev/gvisor/pkg/tcpip/stack.PacketData.CapLength(...)
/home/runner/go/pkg/mod/gvisor.dev/[email protected]/pkg/tcpip/stack/packet_buffer.go:581
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*sender).splitSeg(0xc01bc86008, 0xc03d0ac800, 0xfe32de9401bff440)
/home/runner/go/pkg/mod/gvisor.dev/[email protected]/pkg/tcpip/transport/tcp/snd.go:639 +0x185
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*sender).maybeSendSegment(0xc01bc86008, 0xc03d0ac800, 0xfe32de9401bff440?, 0xbcfd9b78?)
/home/runner/go/pkg/mod/gvisor.dev/[email protected]/pkg/tcpip/transport/tcp/snd.go:908 +0x171
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*sender).sendData(0xc01bc86008)
/home/runner/go/pkg/mod/gvisor.dev/[email protected]/pkg/tcpip/transport/tcp/snd.go:1031 +0x1b3
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*Endpoint).sendData(0xc024f88e08?, 0x0?)
/home/runner/go/pkg/mod/gvisor.dev/[email protected]/pkg/tcpip/transport/tcp/connect.go:1007 +0x45
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*Endpoint).Write(0xc024f88e08, {0xd91af08, 0xc0592850b0}, {0x0, 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, ...}})
/home/runner/go/pkg/mod/gvisor.dev/[email protected]/pkg/tcpip/transport/tcp/endpoint.go:1663 +0x127
gvisor.dev/gvisor/pkg/tcpip/adapters/gonet.(*TCPConn).Write(0xc019114f60, {0xc02d1e6000, 0xc, 0x8000})
/home/runner/go/pkg/mod/gvisor.dev/[email protected]/pkg/tcpip/adapters/gonet/gonet.go:389 +0x256
io.copyBuffer({0xd8edf40, 0xc019114f60}, {0x7b89fc10a9d8, 0xc0309ca978}, {0x0, 0x0, 0x0})
/opt/hostedtoolcache/go/1.24.6/x64/src/io/io.go:431 +0x1d7
io.Copy(...)
/opt/hostedtoolcache/go/1.24.6/x64/src/io/io.go:388
github.com/coder/coder/v2/agent/agentssh.Bicopy.func2({0x7b89fc10a9b0?, 0xc019114f60?}, {0x7b89fc10a9d8?, 0xc0309ca978?})
/home/runner/work/coder/coder/agent/agentssh/bicopy.go:29 +0x8b
created by github.com/coder/coder/v2/agent/agentssh.Bicopy in goroutine 248417584
/home/runner/work/coder/coder/agent/agentssh/bicopy.go:34 +0x2f8
Expected Behavior
Coder should not panic without any reason
Steps to Reproduce
Not certain
Environment
- Host OS: Ubuntu 22.04
- Coder version: v2.26.3
Additional Context
The issue is new (previously worked fine)
Is there an existing issue for this?
Current Behavior
The coder docker container exited due to internal panic.
Relevant Log Output
Expected Behavior
Coder should not panic without any reason
Steps to Reproduce
Not certain
Environment
Additional Context
The issue is new (previously worked fine)