Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: panic: runtime error: slice bounds out of range [90:72] #11

Open
Codeboy-cn opened this issue Oct 20, 2023 · 0 comments
Open

[bug]: panic: runtime error: slice bounds out of range [90:72] #11

Codeboy-cn opened this issue Oct 20, 2023 · 0 comments

Comments

@Codeboy-cn
Copy link

nps[19933]: panic: runtime error: slice bounds out of range [90:72]
nps[19933]: goroutine 1050459 [running]:
nps[19933]: ehang.io/nps-mux.(*sendWindow).WriteTo(0xc000818480, 0xc000341e20, 0x14, 0x1, 0xc000521548, 0x4042d0, 0xc000521728)
nps[19933]: /home/runner/go/pkg/mod/ehang.io/[email protected]/conn.go:554 +0x2f2
nps[19933]: ehang.io/nps-mux.(*sendWindow).WriteFull(0xc000818480, 0xc000735100, 0x48, 0x688, 0xc0000002be, 0x40a37f, 0xc000010000, 0xaa0b00)
nps[19933]: /home/runner/go/pkg/mod/ehang.io/[email protected]/conn.go:608 +0x8e
nps[19933]: ehang.io/nps-mux.(*conn).Write(0xc000a69b30, 0xc000735100, 0x48, 0x688, 0xc000521638, 0x40b905, 0xaa0b00)
nps[19933]: /home/runner/go/pkg/mod/ehang.io/[email protected]/conn.go:63 +0x8e
nps[19933]: ehang.io/nps/lib/rate.(*rateConn).Write(0xc000ad41a0, 0xc000735100, 0x48, 0x688, 0xc000ad41a0, 0x1, 0xc0005216e8)
nps[19933]: /home/runner/work/nps/nps/lib/rate/conn.go:28 +0x55
nps[19933]: ehang.io/nps/server/proxy.(*UdpModeServer).process(0xc000490bd0, 0xc00011ac00, 0xc000735100, 0x48, 0x688)
nps[19933]: /home/runner/work/nps/nps/server/proxy/udp.go:59 +0x8e3
nps[19933]: created by ehang.io/nps/server/proxy.(*UdpModeServer).Start
nps[19933]: /home/runner/work/nps/nps/server/proxy/udp.go:50 +0x2cc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant