Stack Overflow Crash

DVR crashed tonight with a stack overflow error. The error message is very long so unless you want the whole thing in this post, here's the beginning:

runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc02809a578 stack=[0xc02809a000, 0xc04809a000]
fatal error: stack overflow

runtime stack:
runtime.throw(0x5297b95, 0xe)
runtime/panic.go:1116 +0x72
runtime.newstack()
runtime/stack.go:1067 +0x78d
runtime.morestack()
runtime/asm_amd64.s:449 +0x8f

Same exact error for me. Was working fine and then crashed about 30 minutes ago. Now crashes immediately on startup.

runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc021980320 stack=[0xc021980000, 0xc041980000]
fatal error: stack overflow

runtime stack:
runtime.throw(0x1776c06, 0xe)
runtime/panic.go:1116 +0x72
runtime.newstack()
runtime/stack.go:1067 +0x78d
runtime.morestack()
runtime/asm_amd64.s:449 +0x8f

Might be helpful to note the DVR version, in case we might wish to avoid a release or 2?

I’m running v2021.01.22.2156

There's a fix in the latest prerelease

The service crashes before I can check for a new version. Is there another way to upgrade/downgrade?

Disregard, I was able to get it to upgrade. Its working for me now, thanks!

I was running 2021.01.15.1649 and have now installed the pre-release 2021.02.02.0014 - So far so good.

Guess I got the same problem:

2021/02/01 19:40:21.027865 [SYS] Starting Channels DVR v2021.01.15.1649 (linux-x86_64 pid:17663) in /share/CACHEDEV1_DATA/.qpkg/ChannelsDVR/channels-dvr/data
2021/02/01 19:40:21.082731 [SYS] Started HTTP Server
2021/02/01 19:40:21.502288 [HDR] Found 0 devices
2021/02/01 19:40:27.256627 [DVR] Starting job 1612227600-10 All In With Chris Hayes on ch=[6050]
2021/02/01 19:40:27.256774 [DVR] Waiting 1h19m32.743240712s until next job 1612234800-23 The Last Word With Lawrence O'Donnell
2021/02/01 19:40:27.299694 [DVR] Recording engine started in /share/Elements/DVR
2021/02/01 19:40:27.303350 [SYS] Bonjour service running for dvr-qnashome1.local. [192.168.115.156]
2021/02/01 19:40:30.172002 [SYS] Created database snapshot: backup-20210201.194029
2021/02/01 19:40:30.183480 [SYS] Removing old backup backup-20210104.122708
2021/02/01 19:40:33.331413 [NAT] Successfully mapped port 8089 using upnp
2021/02/01 19:40:38.573775 [IDX] Pruned 477 expired airings from X-LOCAST in 541.320013ms.
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc021982320 stack=[0xc021982000, 0xc041982000]
fatal error: stack overflow

runtime stack:
runtime.throw(0x176ee61, 0xe)
runtime/panic.go:1116 +0x72
runtime.newstack()
runtime/stack.go:1067 +0x78d
runtime.morestack()
runtime/asm_amd64.s:449 +0x8f

Would be nice if you were to link to the new-release area and how to install it manually.

Click the dropdown next to Check for Update and select prerelease

Ok, thanks for that. I tried yesterday and could not connect on port 8089, but it worked this morning. I still think it would be handy to have a page dedicated to downloading the latest pkg and uninstalling / installing the pkg manually (as manual as the first installation was) for when it happens that the app can't be started.

Seems to be running okay for now.

Thanks