mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #282] 在路由器上运行客户端出现panic: runtime error: slice bounds out of range #203
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#203
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 @shitizen-x on GitHub (Mar 23, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/282
root@OpenWrt:~/frp# ./frpc -c ./frpc.ini
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
github.com/astaxie/beego/logs.(*fileLogWriter).lines(0x1066e300, 0x0, 0x0, 0x0)
/root/go-mips32/src/gocode/src/github.com/astaxie/beego/logs/file.go:225 +0x370
github.com/astaxie/beego/logs.(*fileLogWriter).initFd(0x1066e300, 0x0, 0x0)
/root/go-mips32/src/gocode/src/github.com/astaxie/beego/logs/file.go:183 +0x2d4
github.com/astaxie/beego/logs.(*fileLogWriter).startLogger(0x1066e300, 0x0, 0x0)
/root/go-mips32/src/gocode/src/github.com/astaxie/beego/logs/file.go:112 +0xdc
github.com/astaxie/beego/logs.(*fileLogWriter).Init(0x1066e300, 0x1064e4e0, 0x28, 0x0, 0x0)
/root/go-mips32/src/gocode/src/github.com/astaxie/beego/logs/file.go:98 +0x2ec
github.com/astaxie/beego/logs.(*BeeLogger).setLogger(0x106101e0, 0x333118, 0x4, 0x1069de68, 0x1, 0x1, 0x0, 0x0)
/root/go-mips32/src/gocode/src/github.com/astaxie/beego/logs/log.go:194 +0x4b0
github.com/astaxie/beego/logs.(*BeeLogger).SetLogger(0x106101e0, 0x333118, 0x4, 0x1069de68, 0x1, 0x1, 0x0, 0x0)
/root/go-mips32/src/gocode/src/github.com/astaxie/beego/logs/log.go:212 +0x170
github.com/fatedier/frp/src/utils/log.SetLogFile(0x333118, 0x4, 0x1060bb6b, 0xa, 0x0, 0x3)
/root/go-mips32/src/gocode/src/github.com/fatedier/frp/src/utils/log/log.go:41 +0x304
github.com/fatedier/frp/src/utils/log.InitLog(0x333118, 0x4, 0x1060bb6b, 0xa, 0x1060bbec, 0x4, 0x0, 0x3)
/root/go-mips32/src/gocode/src/github.com/fatedier/frp/src/utils/log/log.go:31 +0x60
main.main()
/root/frp/src/cmd/frpc/main.go:99 +0xb40
goroutine 5 [runnable]:
github.com/astaxie/beego/logs.(*fileLogWriter).dailyRotate(0x1066e300, 0xe, 0xd065f58e, 0x26cd73ca, 0x47baa0)
/root/go-mips32/src/gocode/src/github.com/astaxie/beego/logs/file.go:192
created by github.com/astaxie/beego/logs.(*fileLogWriter).initFd
/root/go-mips32/src/gocode/src/github.com/astaxie/beego/logs/file.go:180 +0x288
root@OpenWrt:~/frp#
@shitizen-x commented on GitHub (Mar 23, 2017):
dashboard 界面里SSH和web都是运行了的,路由器上启动客户端就报错,绑定的域名也访问不了
@fatedier commented on GitHub (Mar 24, 2017):
先停用日志输出的功能。
@shitizen-x commented on GitHub (Mar 24, 2017):
停止日志后重启正常连接了!谢谢!