2022.08.12.1942 is in a boot loop when the dvr tries to update guide data and it starts rebooting when i manually try to update guide data in individual source. i think it only happens with custom channels but i cant be sure.
took a while to get dianostics because it keeps rebooting: 645c322f-0b5d-4fdd-b5f4-bbd14340110c
thanks
2022/08/12 18:08:03.883907 [DVR] Indexed 51 channels (30107 airings + 0 replaced) into X-VIRTUAL [13s index] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1048898f4] goroutine 207 [running]: github.com/fancybits/channels-server/xmltv.(*Program).AiringContentRating(0x140024651e0?) github.com/fancybits/channels-server/xmltv/airing.go:231 +0x4 github.com/fancybits/channels-server/dvr.AirableToAiring({_, _}) github.com/fancybits/channels-server/dvr/airing.go:486 +0x278 github.com/fancybits/channels-server/dvr.(*Recorder).indexXmlAirings.func1(0x140024651e0) github.com/fancybits/channels-server/dvr/indexer.go:627 +0x424 github.com/fancybits/channels-server/xmltv.(*Parser).Parse(0x140010d2070, {0x1054dc480?, 0x14003f8c590?}) github.com/fancybits/channels-server/xmltv/parse.go:226 +0x564 github.com/fancybits/channels-server/dvr.(*Recorder).indexXmlAirings(0x140006dc900, {0x1401441e000, 0x11}, {0x14001924c90, 0xd}, 0x1400417e900, 0x0) github.com/fancybits/channels-server/dvr/indexer.go:642 +0x454 github.com/fancybits/channels-server/dvr.(*Recorder).doXmlDownload(0x140006dc900, {0x14000998190, 0x1, 0x104f9f1a0?}, 0x0, 0x140033eb608) github.com/fancybits/channels-server/dvr/indexer.go:519 +0x68c github.com/fancybits/channels-server/dvr.(*Recorder).RunIndexer(0x140006dc900) github.com/fancybits/channels-server/dvr/indexer.go:385 +0x2698 created by github.com/fancybits/channels-server/dvr.(*Recorder).Run github.com/fancybits/channels-server/dvr/recorder.go:211 +0x64 2022/08/12 18:08:04.132327 [SYS] Starting Channels DVR v2022.08.12.1942 (darwin-arm64 pid:60492) in /Users/amoreno/Library/Application Support/ChannelsDVR/data 2022/08/12 18:08:04.187010 [SYS] Started HTTP Server 2022/08/12 18:08:04.764485 [TRS] DNS: OK: Resolved host via system DNS 2022/08/12 18:08:04.955500 [TRS] Cloud Reachable: OK: Connected to community.getchannels.com 2022/08/12 18:08:05.238475 [TRS] Local Time: OK: Local clock is accurate 2022/08/12 18:08:05.238752 [TRS] TV Everywhere: OK 2022/08/12 18:08:05.241036 [TRS] TV Everywhere DNS: OK: Resolved TVE authenticator via system DNS 2022/08/12 18:08:05.680021 [TRS] Remote Access: ERROR: Connected to 0e3e74b83096.u.channelsdvr.net but SSL certificate is invalid. 2022/08/12 18:08:05.680118 [TRS] Disk Permissions: OK 2022/08/12 18:08:05.680493 [TRS] System Firewall: OK 2022/08/12 18:08:05.869713 [TRS] Third Party Firewall: OK 2022/08/12 18:08:06.009432 [TRS] Little Snitch: OK 2022/08/12 18:08:06.009505 [TRS] Sleep: OK 2022/08/12 18:08:06 [Recovery] 2022/08/12 - 18:08:06 panic recovered: runtime error: invalid memory address or nil pointer dereference runtime/panic.go:220 (0x1027f475b) runtime/signal_unix.go:818 (0x10280d4fb) github.com/fancybits/channels-server/dvr/db_files.go:202 (0x103287c8c) github.com/fancybits/channels-server/http_dvr_scanner.go:73 (0x103400393) github.com/gin-gonic/[email protected]/context.go:169 (0x1033c6bf7) github.com/fancybits/channels-server/http.go:240 (0x1033c6978) github.com/gin-gonic/[email protected]/context.go:169 (0x1033c68e3) github.com/fancybits/channels-server/http.go:220 (0x1033c68c0) github.com/gin-gonic/[email protected]/context.go:169 (0x1033c66f3) github.com/fancybits/channels-server/http.go:212 (0x1033c6054) github.com/gin-gonic/[email protected]/context.go:169 (0x102cb1a7f) github.com/gin-gonic/[email protected]/recovery.go:107 (0x102cb1a60) github.com/gin-gonic/[email protected]/context.go:169 (0x102cb0d2f) github.com/gin-gonic/[email protected]/logger.go:240 (0x102cb0d0c) github.com/gin-gonic/[email protected]/context.go:169 (0x103324a77) github.com/gin-contrib/[email protected]/sessions.go:65 (0x103324a58) github.com/gin-gonic/[email protected]/context.go:169 (0x10331ed4b) github.com/gin-contrib/[email protected]/gzip.go:47 (0x10331ed1c) github.com/gin-gonic/[email protected]/context.go:169 (0x1033c749f) github.com/fancybits/channels-server/http.go:330 (0x1033c7480) github.com/gin-gonic/[email protected]/context.go:169 (0x102cafe97) github.com/gin-gonic/[email protected]/gin.go:598 (0x102cafb6c) github.com/gin-gonic/[email protected]/gin.go:554 (0x102caf783) net/http/server.go:2916 (0x102a71bbb) net/http/server.go:1966 (0x102a6d35b) runtime/asm_arm64.s:1263 (0x102829f73) 2022/08/12 18:08:06.196094 [DIAG] Could not package /dvr/scanner/imports/index: 500 Internal Server Error 2022/08/12 18:08:06 [Recovery] 2022/08/12 - 18:08:06 panic recovered: runtime error: invalid memory address or nil pointer dereference runtime/panic.go:220 (0x1027f475b) runtime/signal_unix.go:818 (0x10280d4fb) github.com/fancybits/channels-server/http_dvr_collections.go:98 (0x1033e1ff8) github.com/gin-gonic/[email protected]/context.go:169 (0x1033c6bf7) github.com/fancybits/channels-server/http.go:240 (0x1033c6978) github.com/gin-gonic/[email protected]/context.go:169 (0x1033c68e3) github.com/fancybits/channels-server/http.go:220 (0x1033c68c0) github.com/gin-gonic/[email protected]/context.go:169 (0x1033c66f3) github.com/fancybits/channels-server/http.go:212 (0x1033c6054) github.com/gin-gonic/[email protected]/context.go:169 (0x102cb1a7f) github.com/gin-gonic/[email protected]/recovery.go:107 (0x102cb1a60) github.com/gin-gonic/[email protected]/context.go:169 (0x102cb0d2f) github.com/gin-gonic/[email protected]/logger.go:240 (0x102cb0d0c) github.com/gin-gonic/[email protected]/context.go:169 (0x103324a77) github.com/gin-contrib/[email protected]/sessions.go:65 (0x103324a58) github.com/gin-gonic/[email protected]/context.go:169 (0x10331ed4b) github.com/gin-contrib/[email protected]/gzip.go:47 (0x10331ed1c) github.com/gin-gonic/[email protected]/context.go:169 (0x1033c749f) github.com/fancybits/channels-server/http.go:330 (0x1033c7480) github.com/gin-gonic/[email protected]/context.go:169 (0x102cafe97) github.com/gin-gonic/[email protected]/gin.go:598 (0x102cafb6c) github.com/gin-gonic/[email protected]/gin.go:554 (0x102caf783) net/http/server.go:2916 (0x102a71bbb) net/http/server.go:1966 (0x102a6d35b) runtime/asm_arm64.s:1263 (0x102829f73) 2022/08/12 18:08:06.199048 [DIAG] Could not package /dvr/collections/channels: 500 Internal Server Error 2022/08/12 18:08:07.824682 [HDR] Found 2 devices 2022/08/12 18:08:07.908400 [M3U] Refreshed lineup for ESPN with 100 channels 2022/08/12 18:08:07.943130 [M3U] Refreshed lineup for MLBTV with 31 channels 2022/08/12 18:08:07.972689 [M3U] Refreshed lineup for PlutoTV with 337 channels 2022/08/12 18:08:07.994069 [M3U] Refreshed lineup for Test with 92 channels 2022/08/12 18:08:08.676002 [DVR] Recording engine started in /Volumes/DVR/Channels DVR 2022/08/12 18:08:08.677351 [DVR] Starting job 1660341600-113 NASCAR Race Hub on ch=[6197] 2022/08/12 18:08:09.473902 [SYS] Bonjour service registered with TV.local 2022/08/12 18:08:09.938316 [TVE] stream timestamps: fs1: start_at=2022-08-12T18:07:28-04:00 current_at=2022-08-12T18:07:49-04:00 end_at=2022-08-12T18:07:57-04:00 2022/08/12 18:08:09.938374 [TNR] Opened connection to TVE-Cablevision for ch6197 FS1 2022/08/12 18:08:09.938456 [DVR] Recording for job 1660341600-113 from TVE-Cablevision ch6197 into "TV/NASCAR Race Hub/NASCAR Race Hub 2022-08-12-1800.mpg" for 51m51.184236s 2022/08/12 18:08:09.938490 [DVR] Starting job 1660341600-143 MLB Tonight on ch=[6265] 2022/08/12 18:08:09.938508 [DVR] Waiting 21m50.061493s until next job 1660343400-1 NBC Nightly News With Lester Holt 2022/08/12 18:08:11.805264 [TNR] Opened connection to M3U-IPT for ch6265 US: MLB Network HD 2022/08/12 18:08:11.805648 [DVR] Recording for job 1660341600-143 from M3U-IPT ch6265 into "TV/MLB Tonight/MLB Tonight 2022-08-12-1800.mpg" for 51m50.0614s 2022/08/12 18:08:12.145038 [SYS] Created database snapshot: backup-20220812.180811 2022/08/12 18:08:12.145929 [SYS] Removing old backup backup-20220812.175522 2022/08/12 18:08:14.802999 [NAT] Failed to discover upnp routers 2022/08/12 18:08:14.803036 [NAT] Failed to discover router using natpmp and upnp. 2022/08/12 18:08:18.190640 New diagnostic log submitted under 645c322f-0b5d-4fdd-b5f4-bbd14340110c 2022/08/12 18:08:19.010730 [IDX] Pruned 2664 expired airings from X-VIRTUAL in 302.807958ms. 2022/08/12 18:08:19.010771 [DVR] No listings for USA-OTA07512 (0 airings, 0 groups); starting indexer.. 2022/08/12 18:08:19.010778 [DVR] No listings for X-TVE (0 airings, 0 groups); starting indexer.. 2022/08/12 18:08:19.010865 [IDX] Pruned 0 expired airings from X-M3U in 75.167µs. 2022/08/12 18:08:19.010968 [IDX] Pruned 0 expired airings from XMLTV-PlutoTV in 34.334µs. 2022/08/12 18:08:19.011017 [IDX] Pruned 0 expired airings from XMLTV-ESPN in 39.042µs. 2022/08/12 18:08:19.011092 [IDX] Pruned 0 expired airings from XMLTV-MLBTV in 66.458µs. 2022/08/12 18:08:29.317432 [DVR] Indexed 51 channels (30107 airings + 0 replaced) into X-VIRTUAL [10s index] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x102d5d8f4] goroutine 383 [running]: github.com/fancybits/channels-server/xmltv.(*Program).AiringContentRating(0x14001f549c0?) github.com/fancybits/channels-server/xmltv/airing.go:231 +0x4 github.com/fancybits/channels-server/dvr.AirableToAiring({_, _}) github.com/fancybits/channels-server/dvr/airing.go:486 +0x278 github.com/fancybits/channels-server/dvr.(*Recorder).indexXmlAirings.func1(0x14001f549c0) github.com/fancybits/channels-server/dvr/indexer.go:627 +0x424 github.com/fancybits/channels-server/xmltv.(*Parser).Parse(0x14000346070, {0x1039b0480?, 0x14005e3e410?}) github.com/fancybits/channels-server/xmltv/parse.go:226 +0x564 github.com/fancybits/channels-server/dvr.(*Recorder).indexXmlAirings(0x1400177c900, {0x140037c0000, 0x11}, {0x140006953f0, 0xd}, 0x140017820f0, 0x0) github.com/fancybits/channels-server/dvr/indexer.go:642 +0x454 github.com/fancybits/channels-server/dvr.(*Recorder).doXmlDownload(0x1400177c900, {0x140013f9280, 0x1, 0x1034731a0?}, 0x0, 0x1400330f608) github.com/fancybits/channels-server/dvr/indexer.go:519 +0x68c github.com/fancybits/channels-server/dvr.(*Recorder).RunIndexer(0x1400177c900) github.com/fancybits/channels-server/dvr/indexer.go:385 +0x2698 created by github.com/fancybits/channels-server/dvr.(*Recorder).Run github.com/fancybits/channels-server/dvr/recorder.go:211 +0x64 2022/08/12 18:08:29.610118 [SYS] Starting Channels DVR v2022.08.12.1942 (darwin-arm64 pid:60546) in /Users/amoreno/Library/Application Support/ChannelsDVR/data 2022/08/12 18:08:29.663843 [SYS] Started HTTP Server 2022/08/12 18:08:33.363308 [HDR] Found 2 devices