Panics (Lots)

I’m seeing this (and similar) in the logs multiple times per day and I’m losing remote DVR access frequently as well. Any idea what’s going on?

2018/05/02 15:13:27 [Recovery] panic recovered:
GET /troubleshoot HTTP/1.1
Host: localhost:8089
Accept: /
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: keep-alive
Referer: http://localhost:8089/admin/settings
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15

runtime error: index out of range
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/panic.go:502 (0x402d158)
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/panic.go:28 (0x402bf9d)
/Users/fancybox/source/channels-server/troubleshoot_darwin.go:56 (0x472f7b0)
/Users/fancybox/source/channels-server/troubleshoot.go:32 (0x472f03d)
/Users/fancybox/source/channels-server/http.go:691 (0x4736411)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:104 (0x4526d52)
/Users/fancybox/source/channels-server/http.go:190 (0x472042c)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:104 (0x4526d52)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/recovery.go:45 (0x4536839)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:104 (0x4526d52)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/contrib/sessions/sessions.go:65 (0x462ecad)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:104 (0x4526d52)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-contrib/gzip/gzip.go:47 (0x4625d0b)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:104 (0x4526d52)
/Users/fancybox/source/channels-server/http.go:254 (0x47323ae)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:104 (0x4526d52)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/gin.go:332 (0x452ddf4)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/gin.go:296 (0x452d642)
/usr/local/Cellar/go/1.10.1/libexec/src/net/http/server.go:2694 (0x42aefdb)
/usr/local/Cellar/go/1.10.1/libexec/src/net/http/server.go:1830 (0x42ab130)
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/asm_amd64.s:2361 (0x405bd20)

Thanks for reporting. What is the version of macOS? Please copy/paste the OS/CPU section from the top of the DVR page.

Please email the file /Library/Preferences/com.apple.alf.plist to [email protected]

Here ya go

OSApple iMac17,1
Darwin
10.13.4 (kernel: 17.5.0)
CPU
4 cores / Intel® Core™ i5-6500 CPU @ 3.20GHz
load averages: 1.90 1.65 1.73
RAM24.00 GB
44.4% free

Email Sent.

Thanks. I will have a fix for the panics shortly. They’re pretty harmless though.

The remote access issue is unrelated. Can you describe what is happening?

Panics are seemingly causing my Mac to restart frequently. I don’t know if the Panics are the ones from Channels or not, but that seems like an odd coincidence. That is why I’m having DVR issues.

It very well could be an unrelated kernel panic, but it just seemed an odd coincidence if so.

A macOS kernel panic indicates a serious bug in the OS. The panic you posted above is not the same thing, and not even really related. We just happened to call errors inside our DVR “panics” as well.

Are you getting a macOS crash log from the kernel panic?

I am getting crash logs (submitted to Apple). I’ll take your word for it about the panics as this is above my pay grade. If you’d like to see the logs, I can send them over. Assuming they’re accessible in /library/ somewhere…

I can take a quick look to see if anything stands out. They’re in /Library/Logs/DiagnosticsReports

Appreciate it. Just sent it over.

I’m no expert, but looks like a graphics driver crash. I’d suggest reinstalling macOS and visiting a Genius at the Apple Store if that doesn’t help.

Thank you. Appreciate you taking the time to look at it.

You can upgrade the DVR to the latest build by holding down the SHIFT KEY on your keyboard and clicking the “Check For Updates” button. This will fix the panics you’re seeing the DVR log.