mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3839] Bug report #2595
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#2595
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MrDexstor on GitHub (Feb 22, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3839
Describe the bug
`2026/02/22 13:54:43 WARNING - XRAY: core: Xray 26.2.6 started
2026/02/22 13:54:51 DEBUG - Core crash detected:
panic: runtime error: slice bounds out of range [566:536]
goroutine 2049 [running]:
github.com/xtls/xray-core/common/buf.(*Buffer).Extend(...)
github.com/xtls/xray-core/common/buf/buffer.go:153
github.com/xtls/xray-core/proxy.XtlsPadding(0xc000fe6c90, 0x0, 0xc002c1f2d8, 0x80?
2026/02/22 13:54:51 DEBUG - XRAY: , {0x1a7d1e0, 0xc000af9e90}, {0xc00098cc70?, 0x4?, 0x1?})
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/proxy/proxy.go:519 +0x79e
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/proxy.(*VisionWriter).WriteMultiBuffer(0xc002c1f290, {0xc001d01658, 0x1, 0x1})
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/proxy/proxy.go:390 +0x5dd
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher.(*SizeStatWriter).WriteMultiBuffer(0xc001f5f140, {0xc001d01658, 0x1, 0x1})
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher/stats.go:16 +0x68
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/proxy/vless/encoding.XtlsRead.func1(...)
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/proxy/vless/encoding/encoding.go:191
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/proxy/vless/encoding.XtlsRead({0x1a6ac20, 0xc000c3a150}, {0x1a693c0, 0xc001f5f140}, 0xc0007c0a80, {0x1a85838, 0xc000fe6450}, 0xc000865f10, 0x0, {0x1a7d1a8, ...})
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/proxy/vless/encoding/encoding.go:199 +0x143
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/proxy/vless/outbound.(*Handler).Process.func5()
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/proxy/vless/outbound/outbound.go:391 +0x8a5
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/proxy/vless/outbound.(*Handler).Process.OnSuccess.func10()
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/common/task/task.go:12 +0x22
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/common/task.Run.func1(0xc00050d1e0?)
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/common/task/task.go:28 +0x28
2026/02/22 13:54:51 DEBUG - XRAY: created by github.com/xtls/xray-core/common/task.Run in goroutine 1928
2026/02/22 13:54:51 DEBUG - XRAY: github.com/xtls/xray-core/common/task/task.go:27 +0xdb
2026/02/22 13:54:51 ERROR - Failure in running xray-core: exit status 2
2026/02/22 13:54:53 DEBUG - restart Xray, force: false`
I get such logs at a random moment and xray crashes
How to repeat the problem?
Full random
Expected action
No
Received action
No response
3x-ui Version
26.2.6
Xray-core Version
26.2.6
Checklist
@gallyamb commented on GitHub (Feb 24, 2026):
The same for me. xray 26.2.6. 3xui 2.8.10
When there is no any connections to the xray, the core stays "stable". When connection is established it's crashed. Between crashes some data is proxied, though. But it crashes every 5-10 seconds
Stacktrace is identical, but providing it anyway
Stacktrace
Worth to note, that 3xui run with docker