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. [10.10.100.11 192.168.113.70]
panic: runtime error: index out of range [264] with length 264

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

Ick

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