Cloudreve icon indicating copy to clipboard operation
Cloudreve copied to clipboard

用frp内网穿透访问时,时不时会报错“invalid memory address"

Open dorkytiger opened this issue 1 month ago • 4 comments

Describe the bug 用frp内网穿透访问时,时不时会报错“invalid memory address"

To Reproduce 我是用docker部署到家里本地的软路由上,操作系统是openwrt24.0,从vps访问,vps配置的nginx和https请求,当访问我的域名时会转发流量到vps的8080端口,frp监听8080端口再转发的我家里的软路由上,我试过直接在vps上部署似乎没什么问题(也可能是我没遇到),但是用frp就会产生这个问题(不确定是不是转了一层导致的)

Expected behavior 一下是报错日志 `[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x13c450]

goroutine 30310 [running]: context.(*valueCtx).Err(0x0?) :1 +0x20 github.com/gin-gonic/gin.(*Context).Err(0x1?) /home/vsts/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:1245 +0x8c database/sql.(*Rows).awaitDone(0x40039cef00, {0x2caa490, 0x40039dc960}, {0x0, 0x0}, {0x2caa4c8, 0x40039b37c0}) /opt/hostedtoolcache/go/1.23.6/x64/src/database/sql/sql.go:3012 +0x194 created by database/sql.(*Rows).initContextClose in goroutine 30210 /opt/hostedtoolcache/go/1.23.6/x64/src/database/sql/sql.go:2988 +0x144 `

Additional context

Image

dorkytiger avatar Nov 23 '25 16:11 dorkytiger

这个报错是完整的吗?下面的stacktrace有没有更多信息了?

HFO4 avatar Nov 24 '25 03:11 HFO4

部署到软路由,直接内网访问正常吗?

YUDONGLING avatar Nov 25 '25 06:11 YUDONGLING

部署到软路由,直接内网访问正常吗?

内网范围很正常

dorkytiger avatar Nov 28 '25 07:11 dorkytiger

这个报错是完整的吗?下面的stacktrace有没有更多信息了?

完整信息,下面没有其他信息了,程序终止

dorkytiger avatar Nov 28 '25 07:11 dorkytiger