Channels DVR crashed

Channels DVR server crashed last night around 9pm or so. Never had that happen before. I checked on the channels-dvr.log file, but it thinks it's about 10 gigabytes and corrupt. Any way I can troubleshoot?

I restarted the server and it appears to be okay other than it still thinks it's recording a couple TV shows that started at 8pm last night.

Does http://127.0.0.1:8089/log show the messages from before the restart?

2020/01/18 19:59:03.238337 [IDX] Generating video index for job 1579399140-47
2020/01/18 21:04:31.152619 [HLS] Stopping transcoder session ch6072-dANY-4848d243e12f (out: 1h8m44.330667s, finished: false)
2020/01/18 21:05:21.155469 [TNR] Opened connection to TVE-Spectrum for ch6051 CNBC
2020/01/18 21:05:21.157969 [HLS] Starting transcoder for channel 6051 from 24.183.50.221 (encoder=remux, resolution=, deinterlacer=, bitrate=0)
2020/01/18 21:05:22.311616 [HLS] Probed live stream in 1.1531465s: h264 1920x1080 progressive 4155484bps
2020/01/18 21:05:22.323617 [HLS] Session ch6051-dANY-4848d243e12f started in 3.9269987s
2020/01/18 21:05:37.778080 [HLS] Stopping transcoder session ch6051-dANY-4848d243e12f (out: 35.836011s, finished: false)
2020/01/18 21:05:37.782080 [TNR] Closed connection to TVE-Spectrum for ch6051 CNBC
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x18 pc=0xd522ee]

goroutine 3772391 [running]:
github.com/fancybits/channels-server/streaming.(*abrLiveStream).start.func1(0xc001378280, 0xc0034a02c0)
github.com/fancybits/channels-server@/streaming/abr_live_stream.go:480 +0x52e
created by github.com/fancybits/channels-server/streaming.(*abrLiveStream).start
github.com/fancybits/channels-server@/streaming/abr_live_stream.go:456 +0xc5
2020/01/19 11:32:00.051015 [SYS] Starting Channels DVR v2020.01.16.0535 (windows-x86_64 pid:8684) in C:\ProgramData\ChannelsDVR\data
2020/01/19 11:32:00.774606 [HDR] Found 1 devices
2020/01/19 11:32:01.655218 [SYS] Started HTTP Server

Were there any other lines that you left out from around that time in the logs?

The latest DVR beta release has a fix for this crash.

Thank you, Eric. I assume you don't need anything more from the log.

Correct. I was able to figure out how to prevent the crash. I don’t understand why it got into that state, but if it happens again it’ll just give an error instead of crashing.

Can I forward more of the log to an email address, and would that help you determine the why part maybe?

It could help. Please send it to [email protected].