All of a sudden Channels DVR is crashing frequently. Here's a snip from the latest crash (below). Im running on FreeNAS 11.3-U1 in an iocage. Strangely, FreeNAS thinks the plugin/Jail is still running/up...but I have to do an iocage restart channels-dvr to get it going again. Before restarting I usually rm -r USA-* in the data dir to clear the schedule DB...which seems to work and then these crashes occur hours or days afterwards seemingly for no reason.
Any idea what may be causing these?
2020/03/14 14:23:01.157149 [DVR] Fetching guide data for 309 stations in USA-CO05419-X @ 2020-03-14 8:00PM
panic: runtime error: index out of range [0] with length 0
goroutine 48 [running]:
github.com/blevesearch/bleve/index/scorch/segment.(*MemUvarintReader).ReadUvarint(0xc001f80980, 0x1, 0x2, 0x10b5b01)
github.com/blevesearch/[email protected]/index/scorch/segment/int.go:130 +0xd6
github.com/blevesearch/bleve/index/scorch/segment/zap.(*PostingsIterator).nextAtOrAfter(0xc0029b8000, 0x0, 0xc0011d3178, 0x2, 0x2, 0x0)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/posting.go:568 +0x1cb
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(0xc00272e570, 0xc001619280, 0xb, 0x10, 0xc0029b8000, 0xc001f95000, 0x1ff, 0x1ff, 0xc0011d35d0, 0xc0011d36b8, ...)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/merge.go:515 +0x59d
github.com/blevesearch/bleve/index/scorch/segment/zap.persistMergedRest(0xc001f80640, 0x3, 0x3, 0xc001f80600, 0x3, 0x3, 0xc00198e380, 0x1b, 0x1b, 0xc00272e570, ...)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/merge.go:329 +0x15bc
github.com/blevesearch/bleve/index/scorch/segment/zap.MergeToWriter(0xc001f80640, 0x3, 0x3, 0xc001f80600, 0x3, 0x3, 0x400, 0xc00272e540, 0xc000044a20, 0x203000, ...)