Hello--
I've been using Channels DVR for quite a while and have never experienced something like this. Every time, immediately after starting, Channels DVR will crash. Here's the log:
2020/01/24 12:34:07 [SYS] Starting Channels DVR v2019.12.05.0128 (freebsd-x86_64 pid:69331) in /usr/local/channels-dvr/data
2020/01/24 12:34:08 [HDR] Found 1 devices
2020/01/24 12:34:14 [TLS] Requesting certificate for 849e010702a3.channelsdvr.net
2020/01/24 12:34:14 [SYS] Started HTTP Server
2020/01/24 12:34:14 [DVR] Recording engine started in /media/recordings
2020/01/24 12:34:14 [SYS] Bonjour service running for dvr-channels-dvr.local. [192.168.0.15]
2020/01/24 12:34:14 [NAT] Successfully mapped port 8089 using natpmp
2020/01/24 12:34:15 [SYS] Created database snapshot: backup-20200124.123414
panic: runtime error: slice bounds out of range [:2242793858906825446] with capacity 22158611
goroutine 57 [running]:
github.com/blevesearch/bleve/index/scorch/segment/zap.(*Segment).readMM(0xc000ca7180, 0x1f200121c091a2dc, 0x1f200121c091a2e6, 0x0, 0xc000f96db0, 0xc0003403a8)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/mem.go:64 +0x1de
github.com/blevesearch/bleve/index/scorch/segment/zap.(*SegmentBase).readMem(...)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/mem.go:53
github.com/blevesearch/bleve/index/scorch/segment/zap.(*PostingsList).read(0xc000b438c0, 0x1f200121c091a2dc, 0xc0013e8ba0, 0xc000b438c0, 0xc0014b92f0)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/posting.go:292 +0x3fa
github.com/blevesearch/bleve/index/scorch/segment/zap.(*Dictionary).postingsListFromOffset(0xc0013e8ba0, 0x1f200121c091a2dc, 0x0, 0xc000b438c0, 0x0, 0xc000f2a000, 0x1247)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/dict.go:72 +0x6a
github.com/blevesearch/bleve/index/scorch/segment/zap.persistMergedRest(0xc0008b5900, 0xa, 0xa, 0xc0008b58b0, 0xa, 0xa, 0xc000b04fc0, 0x1c, 0x1c, 0xc0005ff5c0, ...)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/merge.go:315 +0x12e6
github.com/blevesearch/bleve/index/scorch/segment/zap.MergeToWriter(0xc0008b5900, 0xa, 0xa, 0xc0008b58b0, 0xa, 0xa, 0x400, 0xc0005ff590, 0xc0008faa80, 0x203000, ...)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/merge.go:140 +0x31f
github.com/blevesearch/bleve/index/scorch/segment/zap.MergeSegmentBases(0xc0008b5900, 0xa, 0xa, 0xc0008b58b0, 0xa, 0xa, 0xc0008f8390, 0x2c, 0x400, 0xc0008faa80, ...)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/merge.go:81 +0x24c
github.com/blevesearch/bleve/index/scorch/segment/zap.Merge(0xc0008b5860, 0xa, 0xa, 0xc0008b58b0, 0xa, 0xa, 0xc0008f8390, 0x2c, 0x400, 0xc0008faa80, ...)
github.com/blevesearch/[email protected]/index/scorch/segment/zap/merge.go:56 +0x121
github.com/blevesearch/bleve/index/scorch.(*Scorch).planMergeAtSnapshot(0xc0006b4c00, 0xc00043f300, 0xc0008b5810, 0x0, 0x0)
github.com/blevesearch/[email protected]/index/scorch/merge.go:206 +0x95d
github.com/blevesearch/bleve/index/scorch.(*Scorch).mergerLoop(0xc0006b4c00)
github.com/blevesearch/[email protected]/index/scorch/merge.go:61 +0x247
created by github.com/blevesearch/bleve/index/scorch.(*Scorch).Open
github.com/blevesearch/[email protected]/index/scorch/scorch.go:172 +0x125
I can't update via the GUI because it crashes too quickly to be usable.
Im running as an iocage plugin on Freenas 11.2-U7.
Can anyone suggest steps to fix?
Thanks again
PP