DVR crashing - Windows

Sending the logs

Runntime error: index out of range

goroutine 1 [running]:
github.com/fancybits/trayhost.tray_callback(0xc00000a220)
	/home/vagrant/channels-server-win64/.go/src/github.com/fancybits/trayhost/trayhost_exports.go:30 +0x103
github.com/fancybits/trayhost._cgoexpwrap_241524e97434_tray_callback(0x7d5c0000a220)
	github.com/fancybits/trayhost/_obj/_cgo_gotypes.go:251 +0x30
github.com/fancybits/trayhost._Cfunc_native_loop()
	github.com/fancybits/trayhost/_obj/_cgo_gotypes.go:209 +0x48
github.com/fancybits/trayhost.EnterLoop()
	/home/vagrant/channels-server-win64/.go/src/github.com/fancybits/trayhost/trayhost.go:76 +0x27
main.StartMenu()
	/home/vagrant/channels-server-win64/menu_windows.go:35 +0x159
main.main()
	/home/vagrant/channels-server-win64/main.go:130 +0x3d2
2017/06/25 23:09:01 [SYS] Starting Channels DVR v2017.06.15.2014 (windows-x86_64) in C:\ProgramData\ChannelsDVR\data
2017/06/25 23:09:04 [HDR] Found 5 devices
2017/06/25 23:09:04 [SYS] Started HTTP Server
2017/06/25 23:09:08 [DVR] Recording engine started in D:\Channels DVR
2017/06/25 23:09:08 [SYS] Bonjour service running for dvr-swinney-plex.local. [10.0.1.2]
2017/06/25 23:09:08 [DVR] Starting job 1498435200-ch567 PGA Tour Golf on ch=[567]
2017/06/25 23:09:08 [DVR] Waiting 5h50m51.1708213s until next job 1498471200-140 Arrow
2017/06/25 23:09:08 [NAT] Successfully mapped port 8089 using natpmp
2017/06/25 23:09:08 [SYS] Created database snapshot: backup-20170625.230908
2017/06/25 23:09:08 [SYS] Removing old backup backup-20170531.144239
2017/06/25 23:09:09 [SYS] Downloading new version v2017.06.26.0258
2017/06/25 23:09:09 [TNR] Opened connection to 131F22F1 for ch567
2017/06/25 23:09:09 [DVR] Recording for job 1498435200-ch567 from 131F22F1 ch567 into "TV\PGA Tour Golf\PGA Tour Golf Travelers Championship Final Round 2017-06-25-1900.mpg" for 20m51.1708213s
2017/06/25 23:09:17 [SYS] Update downloaded and verified successfully.
2017/06/25 23:09:18 [IDX] Pruned 204 expired airings from USA-OTA75707 in 164.9381ms.
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\TV\90 Day Fiancé\90 Day Fiancé S05E01 2017-06-25 Happy Wife Happy Life 2017-06-25-1900.mpg
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\TV\The $100,000 Pyramid\The $100,000 Pyramid S02E03 2017-06-25 Aaron Rodgers vs Erin Andrews and Italia Ricci vs Robbie Amell 2017-06-25-2100.mpg
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\TV\American Grit\American Grit S02E03 2017-06-25 Liar Liar 2017-06-25-2000.mpg
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\TV\Steve Harvey's FUNDERDOME\Steve Harvey's FUNDERDOME S01E03 2017-06-25 2017-06-25-2000.mpg
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\Movies\Despicable Me (2010) 2017-06-25-1900.mpg
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\TV\Celebrity Family Feud\Celebrity Family Feud S03E03 2017-06-25 Harvey Family Men vs Harvey Family Women and Kareem AbdulJabbar vs Ralph Sampson 2017-06-25-1900.mpg
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\TV\Columbo\Columbo S08E02 1989-02-27 Murder Smoke and Shadows 2017-06-25-1900.mpg
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\TV\Columbo\Columbo S03E03 1973-11-04 Candidate for a Crime 2017-06-25-1800.mpg
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\Movies\Toy Story 3 (2010) 2017-06-25-1710.mpg
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\TV\WNBA Basketball\WNBA Basketball 2017-06-25 Connecticut Sun at Dallas Wings 2017-06-25-1530.mpg
2017/06/25 23:09:19 [DVR] Deleting D:\Channels DVR\TV\PGA Tour Golf\PGA Tour Golf Champions American Family Insurance Championship Final Round 2017-06-25-1400.mpg
2017/06/25 23:09:20 [DVR] Deleting D:\Channels DVR\TV\PGA Tour Golf\PGA Tour Golf Travelers Championship Final Round 2017-06-25-1400.mpg
2017/06/25 23:09:20 [IDX] Pruned 1392 expired airings from USA-TX57921-X in 1.1738078s.
2017/06/25 23:09:20 [DVR] Deleting D:\Channels DVR\Movies\Cars 2 (2011) 2017-06-25-1330.mpg
2017/06/25 23:09:20 [DVR] Deleting D:\Channels DVR\TV\MLB Baseball\MLB Baseball 2017-06-25 Texas Rangers at New York Yankees 2017-06-25-1300.mpg
2017/06/25 23:09:20 [DVR] Deleting D:\Channels DVR\TV\PGA Tour Golf\PGA Tour Golf Travelers Championship Final Round 2017-06-25-1200.mpg
2017/06/25 23:09:21 [DVR] Deleting D:\Channels DVR\TV\Jeopardy!\Jeopardy! S32E72 2015-12-22 2017-06-25-1200.mpg
2017/06/25 23:09:21 [DVR] Deleting D:\Channels DVR\TV\E60\E60 2007-10-16 2017-06-25-1100.mpg
2017/06/25 23:09:21 [DVR] Deleting D:\Channels DVR\Movies\Cars (2006) 2017-06-25-1100.mpg
2017/06/25 23:09:21 [DVR] Deleting D:\Channels DVR\Movies\The Pirate Fairy (2014) 2017-06-25-1100.mpg
2017/06/25 23:09:21 [DVR] Deleting D:\Channels DVR\TV\E60\E60 2017-06-25 2017-06-25-0800.mpg
2017/06/25 23:09:21 [DVR] Deleting D:\Channels DVR\TV\Doc McStuffins\Doc McStuffins S03E26 2015-12-04 Snowy Gablooey Goal 2017-06-25-0600.mpg
2017/06/25 23:09:21 [DVR] Deleting D:\Channels DVR\TV\30 for 30 Shorts\30 for 30 Shorts 2015-10-20 Tose The Movie 2017-06-25-0000.mpg
2017/06/25 23:09:21 [DVR] Deleting D:\Channels DVR\Movies\A Bug's Life (1998) 2017-06-24-2300.mpg
2017/06/25 23:09:21 [DVR] Deleting D:\Channels DVR\Movies\Cars 2 (2011) 2017-06-24-2237.mpg
2017/06/25 23:24:32 [DVR] Deleting D:\Channels DVR\TV\Friday Night Lights\Friday Night Lights S01E21 2007-04-04 Best Laid Plans 2017-06-25-2200.mpg
2017/06/25 23:30:00 [TNR] Closed connection to 131F22F1 for ch567
2017/06/25 23:30:00 [DVR] Finished job 1498435200-ch567 PGA Tour Golf
2017/06/25 23:30:00 [DVR] Processing file-4234: TV\PGA Tour Golf\PGA Tour Golf Travelers Championship Final Round 2017-06-25-1900.mpg
2017/06/25 23:30:00 [DVR] Waiting 5h29m59.391901s until next job 1498471200-140 Arrow
2017/06/25 23:34:17 [SYS] Shutting down for upgrade from v2017.06.15.2014 to v2017.06.26.0258
2017/06/25 23:34:17 [SYS] Bonjour service stopped.
2017/06/25 23:34:17 [DVR] Recording engine stopped.
2017/06/25 23:34:19 [SYS] Starting Channels DVR v2017.06.26.0258 (windows-x86_64) in C:\ProgramData\ChannelsDVR\data
2017/06/25 23:34:21 [HDR] Found 5 devices
2017/06/25 23:34:22 [SYS] Started HTTP Server
2017/06/25 23:34:26 [DVR] Recording engine started in D:\Channels DVR
2017/06/25 23:34:26 [SYS] Bonjour service running for dvr-swinney-plex.local. [10.0.1.2]
2017/06/25 23:34:26 [SYS] Removing old update 2017.05.25.2249
2017/06/25 23:34:26 [DVR] Waiting 5h25m33.1271836s until next job 1498471200-140 Arrow
2017/06/25 23:34:26 [NAT] Successfully mapped port 8089 using natpmp
2017/06/25 23:34:27 [SYS] Created database snapshot: backup-20170625.233426
2017/06/25 23:34:27 [SYS] Removing old backup backup-20170601.144241
2017/06/25 23:34:36 [IDX] Pruned 5 expired airings from USA-OTA75707 in 58.6554ms.
2017/06/25 23:34:37 [IDX] Pruned 34 expired airings from USA-TX57921-X in 359.4553ms.
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/fancybits/trayhost.tray_callback(0xc00000a220)
	/home/vagrant/channels-server-win64/.go/src/github.com/fancybits/trayhost/trayhost_exports.go:30 +0x103
github.com/fancybits/trayhost._cgoexpwrap_241524e97434_tray_callback(0xa220)
	github.com/fancybits/trayhost/_obj/_cgo_gotypes.go:251 +0x30
github.com/fancybits/trayhost._Cfunc_native_loop()
	github.com/fancybits/trayhost/_obj/_cgo_gotypes.go:209 +0x48
github.com/fancybits/trayhost.EnterLoop()
	/home/vagrant/channels-server-win64/.go/src/github.com/fancybits/trayhost/trayhost.go:76 +0x27
main.StartMenu()
	/home/vagrant/channels-server-win64/menu_windows.go:35 +0x159
main.main()
	/home/vagrant/channels-server-win64/main.go:130 +0x3d2
2017/06/25 23:53:31 [SYS] Starting Channels DVR v2017.06.26.0258 (windows-x86_64) in C:\ProgramData\ChannelsDVR\data
2017/06/25 23:53:33 [HDR] Found 5 devices
2017/06/25 23:53:33 [SYS] Started HTTP Server
2017/06/25 23:53:37 [DVR] Recording engine started in D:\Channels DVR
2017/06/25 23:53:37 [SYS] Bonjour service running for dvr-swinney-plex.local. [10.0.1.2]
2017/06/25 23:53:37 [DVR] Waiting 5h6m22.6319288s until next job 1498471200-140 Arrow
2017/06/25 23:53:37 [SYS] Created database snapshot: backup-20170625.235337
2017/06/25 23:53:37 [SYS] Removing old backup backup-20170602.000442
2017/06/25 23:53:37 [NAT] Successfully mapped port 8089 using natpmp
2017/06/25 23:53:47 [IDX] Pruned 1 expired airings from USA-OTA75707 in 29.0771ms.
2017/06/25 23:53:47 [IDX] Pruned 1 expired airings from USA-TX57921-X in 19.5515ms.
2017/06/25 23:55:18 [DVR] Waiting 3h34m41.3255556s until next job 1498465800-ch567 PGA Tour Golf
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/fancybits/trayhost.tray_callback(0xc00000a220)
	/home/vagrant/channels-server-win64/.go/src/github.com/fancybits/trayhost/trayhost_exports.go:30 +0x103
github.com/fancybits/trayhost._cgoexpwrap_241524e97434_tray_callback(0xa220)
	github.com/fancybits/trayhost/_obj/_cgo_gotypes.go:251 +0x30
github.com/fancybits/trayhost._Cfunc_native_loop()
	github.com/fancybits/trayhost/_obj/_cgo_gotypes.go:209 +0x48
github.com/fancybits/trayhost.EnterLoop()
	/home/vagrant/channels-server-win64/.go/src/github.com/fancybits/trayhost/trayhost.go:76 +0x27
main.StartMenu()
	/home/vagrant/channels-server-win64/menu_windows.go:35 +0x159
main.main()
	/home/vagrant/channels-server-win64/main.go:130 +0x3d2
2017/06/26 00:13:41 [SYS] Starting Channels DVR v2017.06.26.0258 (windows-x86_64) in C:\ProgramData\ChannelsDVR\data
2017/06/26 00:13:44 [HDR] Found 5 devices
2017/06/26 00:13:44 [SYS] Started HTTP Server
2017/06/26 00:13:45 [DVR] Recording engine started in D:\Channels DVR
2017/06/26 00:13:45 [DVR] Waiting 3h16m14.8562534s until next job 1498465800-ch567 PGA Tour Golf
2017/06/26 00:13:45 [SYS] Bonjour service running for dvr-swinney-plex.local. [10.0.1.2]
2017/06/26 00:13:45 [SYS] Created database snapshot: backup-20170626.001345
2017/06/26 00:13:45 [SYS] Removing old backup backup-20170602.004446
2017/06/26 00:13:45 [NAT] Successfully mapped port 8089 using natpmp
2017/06/26 00:13:55 [IDX] Pruned 11 expired airings from USA-OTA75707 in 43.6157ms.
2017/06/26 00:13:55 [IDX] Pruned 67 expired airings from USA-TX57921-X in 64.6733ms.
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/fancybits/trayhost.tray_callback(0xc00000a220)
	/home/vagrant/channels-server-win64/.go/src/github.com/fancybits/trayhost/trayhost_exports.go:30 +0x103
github.com/fancybits/trayhost._cgoexpwrap_241524e97434_tray_callback(0xa220)
	github.com/fancybits/trayhost/_obj/_cgo_gotypes.go:251 +0x30
github.com/fancybits/trayhost._Cfunc_native_loop()
	github.com/fancybits/trayhost/_obj/_cgo_gotypes.go:209 +0x48
github.com/fancybits/trayhost.EnterLoop()
	/home/vagrant/channels-server-win64/.go/src/github.com/fancybits/trayhost/trayhost.go:76 +0x27
main.StartMenu()
	/home/vagrant/channels-server-win64/menu_windows.go:35 +0x159
main.main()
	/home/vagrant/channels-server-win64/main.go:130 +0x3d2
2017/06/26 14:54:22 [SYS] Starting Channels DVR v2017.06.26.0258 (windows-x86_64) in C:\ProgramData\ChannelsDVR\data
2017/06/26 14:54:25 [HDR] Found 5 devices
2017/06/26 14:54:25 [SYS] Started HTTP Server
2017/06/26 14:54:28 [DVR] Recording engine started in D:\Channels DVR
2017/06/26 14:54:28 [SYS] Bonjour service running for dvr-swinney-plex.local. [10.0.1.2]
2017/06/26 14:54:28 [DVR] Deleting expired job 1498465800-ch567 PGA Tour Golf
2017/06/26 14:54:28 [DVR] Deleting expired job 1498471200-140 Arrow
2017/06/26 14:54:28 [SYS] Created database snapshot: backup-20170626.145428
2017/06/26 14:54:28 [SYS] Removing old backup backup-20170603.004447
2017/06/26 14:54:28 [DVR] Deleting expired job 1498474800-169 Baby Daddy
2017/06/26 14:54:28 [DVR] Deleting expired job 1498476600-165 PJ Masks
2017/06/26 14:54:28 [DVR] Deleting expired job 1498478400-76 The Lion Guard
2017/06/26 14:54:28 [NAT] Successfully mapped port 8089 using natpmp
2017/06/26 14:54:28 [DVR] Deleting expired job 1498482000-152 Perry Mason
2017/06/26 14:54:28 [DVR] Deleting expired job 1498485600-20 Matlock
2017/06/26 14:54:28 [DVR] Deleting expired job 1498487400-93 Clifford the Big Red Dog
2017/06/26 14:54:28 [DVR] Deleting expired job 1498491000-32 Thomas & Friends
2017/06/26 14:54:28 [DVR] Deleting expired job 1498492800-142 Jeopardy!
2017/06/26 14:54:28 [DVR] Deleting expired job 1498500000-21 Quincy, M.E.
2017/06/26 14:54:28 [DVR] Waiting 2h30m31.2801181s until next job 1498515900-ch245 The Little Rascals (1994)
2017/06/26 14:54:38 [IDX] Pruned 244 expired airings from USA-OTA75707 in 205.4704ms.
2017/06/26 14:54:39 [IDX] Pruned 1546 expired airings from USA-TX57921-X in 799.2132ms.

Is this happening when you try to click on the system tray icon?

I don’t think so because it went down sometime today & I haven’t been on the server.

Strange this started all of a sudden. Anyway, I’m fixing it for the next DVR build.

ok thanks! not sure what happened but it did it several times so I wanted to make sure it was reported.

Just wanted to let you know since I’m using Windows for the DVR that I have not had a crash. So it may be an isolated incident.

Fixed in v2017.06.28.2127

1 Like