hr3lxphr6j / bililive-go

一个直播录制工具
GNU General Public License v3.0
3.97k stars 511 forks source link

连续2次是大概24小时左右的样子会崩溃 #722

Open 18202821297 opened 6 months ago

18202821297 commented 6 months ago

程序版本

v0.7.25

所使用的 config 文件的内容

No response

程序 log

panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0xa8 pc=0xdc62e3]

goroutine 19484 [running]: github.com/hr3lxphr6j/bililive-go/src/pkg/parser/ffmpeg.(Parser).Stop.func1() /home/runner/work/bililive-go/bililive-go/src/pkg/parser/ffmpeg/ffmpeg.go:193 +0x23 sync.(Once).doSlow(0x7e6a09?, 0x1?) /opt/hostedtoolcache/go/1.19.13/x64/src/sync/once.go:74 +0xc2 sync.(Once).Do(...) /opt/hostedtoolcache/go/1.19.13/x64/src/sync/once.go:65 github.com/hr3lxphr6j/bililive-go/src/pkg/parser/ffmpeg.(Parser).Stop(0xc0006b6600?) /home/runner/work/bililive-go/bililive-go/src/pkg/parser/ffmpeg/ffmpeg.go:192 +0x5b github.com/hr3lxphr6j/bililive-go/src/recorders.(recorder).Close(0xe9a9c0?) /home/runner/work/bililive-go/bililive-go/src/recorders/recorder.go:284 +0x77 github.com/hr3lxphr6j/bililive-go/src/recorders.(manager).RemoveRecorder(0xc0005fd350, {0xc00058f380?, 0xc0003da088?}, {0xc0003082e0, 0x20}) /home/runner/work/bililive-go/bililive-go/src/recorders/manager.go:148 +0xa2 github.com/hr3lxphr6j/bililive-go/src/recorders.(manager).registryListener.func3(0xc0003da000?) /home/runner/work/bililive-go/bililive-go/src/recorders/manager.go:69 +0xb7 github.com/hr3lxphr6j/bililive-go/src/pkg/events.(dispatcher).DispatchEvent.func1() /home/runner/work/bililive-go/bililive-go/src/pkg/events/dispatcher.go:96 +0x47 created by github.com/hr3lxphr6j/bililive-go/src/pkg/events.(*dispatcher).DispatchEvent

自由描述

No response