【记录】正常运行多天后,崩溃
#2588
Replies: 1 comment
-
更新依赖 go-colorable 的版本应该能解决) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[Infopanic: runtime error: slice bounds out of range [7:0]
goroutine 2381145 [running]:
github.com/mattn/go-colorable.(*Writer).Write(0xc00028a230, {0xc0045c0d80, 0xa6,
0x480})
/home/vsts/go/pkg/mod/github.com/mattn/go-colorable@v0.1.6/colorable_win
dows.go:507 +0x2ce8
fmt.Fprintf({0x3015e00, 0xc00028a230}, {0x2298567, 0x14}, {0xc0009edda8, 0x6, 0x
6})
/opt/hostedtoolcache/go/1.23.6/x64/src/fmt/print.go:225 +0x97
github.com/fatih/color.(*Color).Printf(0xc0009edd88, {0x2298567, 0x14}, {0xc0009
edda8, 0x6, 0x6})
/home/vsts/go/pkg/mod/github.com/fatih/color@v1.9.0/color.go:228 +0xc8
github.com/cloudreve/Cloudreve/v4/pkg/logging.(*consoleLogger).println(0xc0009a2
b80, {0x2270049, 0x4}, {0xc012482000, 0x4e})
/home/vsts/work/1/s/pkg/logging/logger.go:135 +0x2a7
github.com/cloudreve/Cloudreve/v4/pkg/logging.NewConsoleLogger.NewConsoleLogger.
func1.func5(0xc0009a2b80, {0x22c0edc?, 0x10?}, {0xc009a28000?, 0x1d73300?, 0xc01
2070030?})
/home/vsts/work/1/s/pkg/logging/logger.go:50 +0x5f
github.com/cloudreve/Cloudreve/v4/pkg/logging.(*consoleLogger).Info(0x20cacc0?,
{0x22c0edc?, 0x44657a0?}, {0xc009a28000?, 0xc0009eded8?, 0x133839?})
/home/vsts/work/1/s/pkg/logging/logger.go:123 +0x23
github.com/cloudreve/Cloudreve/v4/pkg/crontab.taskWrapper.func1()
/home/vsts/work/1/s/pkg/crontab/crontab.go:65 +0x15e
github.com/robfig/cron/v3.FuncJob.Run(0xc0009edfd0?)
/home/vsts/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:136 +0x12
github.com/robfig/cron/v3.(*Cron).startJob.func1()
/home/vsts/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:312 +0x55
created by github.com/robfig/cron/v3.(*Cron).startJob in goroutine 30
/home/vsts/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:310 +0x90
winserver2012 mysql5.7.38
Beta Was this translation helpful? Give feedback.
All reactions