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

老是报内存溢出 #3288

Closed
gcf1243690236 opened this issue Apr 19, 2024 · 6 comments
Closed

老是报内存溢出 #3288

gcf1243690236 opened this issue Apr 19, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@gcf1243690236
Copy link

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xa73fa1]

goroutine 623532 [running]:
github.com/xtls/xray-core/transport/internet/reality.UClient.func1.2(0x1)
github.com/xtls/xray-core/transport/internet/reality/reality.go:207 +0x1e1
github.com/xtls/xray-core/transport/internet/reality.UClient.func1()
github.com/xtls/xray-core/transport/internet/reality/reality.go:246 +0x475
created by github.com/xtls/xray-core/transport/internet/reality.UClient in goroutine 623392
github.com/xtls/xray-core/transport/internet/reality/reality.go:171 +0x115d

@Fangliding
Copy link
Member

配置文件

@gcf1243690236

This comment was marked as duplicate.

@gcf1243690236
Copy link
Author

是因为开的太多了么

@Fangliding
Copy link
Member

Fangliding commented Apr 19, 2024

是因为开的太多了么

请提供一个可以复现问题的最简配置 去掉无关的规则和出入站(
还有版本号

@yuhan6665 yuhan6665 added the bug Something isn't working label Apr 19, 2024
@RPRX RPRX closed this as completed in 080bd82 Apr 21, 2024
@RPRX
Copy link
Member

RPRX commented Apr 21, 2024

爬虫模式中的某个 edge case 导致的 panic,去年也有人提了 issue,而 REALITY 正常不会进入爬虫模式,所以去年没管

没研究怎么复现,080bd82 先加了判断 req 是否为 nil,应该不会 panic 了

@gcf1243690236
Copy link
Author

最新版加了这个判断嘛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants