DVR Crashing on Windows

My DVR has starting crashing on startup this morning, with the following error:

2019/11/08 11:32:09 [SYS] Starting Channels DVR v2019.11.07.0453 (windows-x86_64 pid:3736) in C:\ProgramData\ChannelsDVR\data
2019/11/08 11:32:11 [HDR] Found 1 devices
2019/11/08 11:32:11 [SYS] Started HTTP Server
2019/11/08 11:32:11 [DVR] Recording engine started in C:\Users\Chris\DVR
2019/11/08 11:32:11 [DVR] Waiting 7h27m48.0230447s until next job 1573261200-63 The Blacklist
2019/11/08 11:32:12 [SYS] Bonjour service running for dvr-kapflix.local. []
panic: runtime error: index out of range [264] with length 264

goroutine 108 [running]:*MemUvarintReader).ReadUvarint(0xc00022a6a0, 0x3db8a975, 0x0, 0x0)[email protected]/index/scorch/segment/int.go:130 +0xd6*PostingsIterator).readFreqNormHasLocs(0xc000188160, 0xc000188218, 0xf2, 0xbdab01, 0x0, 0x0)[email protected]/index/scorch/segment/zap/posting.go:427 +0x10e*PostingsIterator).nextAtOrAfter(0xc000188160, 0x0, 0xc001115178, 0x2, 0x2, 0x0)[email protected]/index/scorch/segment/zap/posting.go:546 +0xf8*PostingsIterator).Next(...)[email protected]/index/scorch/segment/zap/posting.go:519, 0xc000988a70, 0xb, 0x10, 0xc000188160, 0xc0006ef800, 0xfe, 0xfe, 0xc0011155d0, 0xc0011156b8, ...)[email protected]/index/scorch/segment/zap/merge.go:515 +0x5a4, 0x9, 0x9, 0xc000828140, 0x9, 0x9, 0xc0009e7500, 0x1c, 0x1c, 0xc000a95da0, ...)[email protected]/index/scorch/segment/zap/merge.go:329 +0x15c3, 0x9, 0x9, 0xc000828140, 0x9, 0x9, 0x400, 0xc000a95d70, 0xc000453ce0, 0x1a1e806, ...)[email protected]/index/scorch/segment/zap/merge.go:140 +0x326, 0x9, 0x9, 0xc000828140, 0x9, 0x9, 0xc000c40000, 0x2b, 0x400, 0xc000453ce0, ...)[email protected]/index/scorch/segment/zap/merge.go:81 +0x253, 0x9, 0x9, 0xc000828140, 0x9, 0x9, 0xc000c40000, 0x2b, 0x400, 0xc000453ce0, ...)[email protected]/index/scorch/segment/zap/merge.go:56 +0x128*Scorch).planMergeAtSnapshot(0xc000624800, 0xc000aecb80, 0xc0009aa5f0, 0x0, 0x0)[email protected]/index/scorch/merge.go:206 +0x964*Scorch).mergerLoop(0xc000624800)[email protected]/index/scorch/merge.go:61 +0x24e
created by*Scorch).Open[email protected]/index/scorch/scorch.go:172 +0x12c


Can you open c:\programdata\channelsdvr\data and delete the airings and groups folders, then try starting the dvr again

If you haven't deleted those folders already, please move them instead of delete and then zip up to email to us for analysis. Or maybe you can find them in the Trash folder. If you can email to [email protected] that will be very helpful in figuring out what caused this issue.

Please also email us the file c:\programdata\channelsdvr\data\channels-dvr.log

That fixed my issue, and I did save the folders (just in case). I’ll email them over in the morning. Thank you!

1 Like