xray 1.4.2 docker 有时会出错重启 panic: runtime error: slice bounds out of range [28:0] #624
Labels
bug
Something isn't working
help wanted
Extra attention is needed
question
Further information is requested
Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16.2 linux/amd64)
A unified platform for anti-censorship.
2021/06/28 19:26:58 [Info] infra/conf/serial: Reading config: /etc/xray/config.json
panic: runtime error: slice bounds out of range [2:0]
goroutine 226 [running]:
github.com/xtls/xray-core/common/buf.(*Buffer).Read(...)
github.com/xtls/xray-core/common/buf/buffer.go:203
github.com/xtls/xray-core/common/buf.SplitBytes(0xc000098d18, 0x1, 0x1, 0xc000156000, 0x26, 0x2000, 0x0, 0x0, 0x203000, 0xc0003990b0)
github.com/xtls/xray-core/common/buf/multi_buffer.go:105 +0x2db
github.com/xtls/xray-core/common/buf.(*BufferedReader).Read(0xc0003991d0, 0xc000156000, 0x26, 0x2000, 0x28, 0xee4ce0, 0x72c649)
github.com/xtls/xray-core/common/buf/reader.go:68 +0x22d
io.ReadAtLeast(0x10ba020, 0xc0003991d0, 0xc000156000, 0x26, 0x2000, 0x26, 0x40e158, 0x28, 0xee4ce0)
io/io.go:328 +0x87
io.ReadFull(...)
io/io.go:347
github.com/xtls/xray-core/common/buf.(*Buffer).ReadFullFrom(0xc0004a6a20, 0x10ba020, 0xc0003991d0, 0xc000000026, 0x2, 0x2, 0x2)
github.com/xtls/xray-core/common/buf/buffer.go:226 +0xab
github.com/xtls/xray-core/proxy/vless/encoding.(*LengthPacketReader).ReadMultiBuffer(0xc0004a69f0, 0x0, 0x18, 0xe79560, 0xc00000e3d0, 0xc0004bd098)
github.com/xtls/xray-core/proxy/vless/encoding/addons.go:181 +0x205
github.com/xtls/xray-core/common/buf.copyInternal(0x10bad00, 0xc0004a69f0, 0x10bb660, 0xc000098d98, 0xc0004bd080, 0xb8dc01, 0xc0004bd068)
github.com/xtls/xray-core/common/buf/copy.go:81 +0x49
github.com/xtls/xray-core/common/buf.Copy(0x10bad00, 0xc0004a69f0, 0x10bb660, 0xc000098d98, 0xc000161f38, 0x1, 0x1, 0x6c9e85, 0xc000234df0)
github.com/xtls/xray-core/common/buf/copy.go:104 +0xa8
github.com/xtls/xray-core/proxy/vless/inbound.(*Handler).Process.func4(0x0, 0x0)
github.com/xtls/xray-core/proxy/vless/inbound/inbound.go:516 +0x405
github.com/xtls/xray-core/common/task.OnSuccess.func1(0xc000551740, 0x0)
github.com/xtls/xray-core/common/task/task.go:12 +0x2f
github.com/xtls/xray-core/common/task.Run.func1(0xc000098e20, 0xc0003e7320, 0xc00000c750)
github.com/xtls/xray-core/common/task/task.go:28 +0x2b
created by github.com/xtls/xray-core/common/task.Run
github.com/xtls/xray-core/common/task/task.go:27 +0x152
Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16.2 linux/amd64)
A unified platform for anti-censorship.
2021/06/28 19:28:03 [Info] infra/conf/serial: Reading config: /etc/xray/config.json
The text was updated successfully, but these errors were encountered: