Ok... Just tried to tune a Pluto Channel, and got Tuner not available, the Server Crashed.
Logs: d1b282b7-c0f6-4426-8a18-c3caa2f50122
Server ver: 2024.03.26.0700
"The connection to tuner was lost. Please try again. (Connection Reset)
2024/03/26 15:01:05.273697 [TNR] Opened connection to M3U-Pluto for ch860 Stargate
fatal error: concurrent map writes
fatal error: concurrent map writes
goroutine 4822 [running]:
github.com/fancybits/channels-server/hls.(*PersistentStreamCache).OpenForWrite(0xc001829fb0, {0xc0021013e8?, 0xc0014d9648?}, {0xc000cdcbd0?, 0x1?})
github.com/fancybits/channels-server/hls/cache.go:389 +0x176
github.com/fancybits/channels-server/hls.(*mediaSegment).openForWrite(0xc0007b8e00)
github.com/fancybits/channels-server/hls/media_segment.go:305 +0x363
github.com/fancybits/channels-server/hls.(*mediaSegment).fetch(0xc0007b8e00, 0x37?, 0x0)
github.com/fancybits/channels-server/hls/media_segment.go:538 +0x745
created by github.com/fancybits/channels-server/hls.(*mediaSegment).startFetch in goroutine 4978
github.com/fancybits/channels-server/hls/media_segment.go:238 +0x10b
goroutine 1 [syscall, 159 minutes, locked to thread]:
syscall.SyscallN(0x0?, {0xc000ffb990?, 0x4b192c0?, 0x35b1668?})
runtime/syscall_windows.go:557 +0x107
syscall.Syscall6(0x0?, 0xc000ffba28?, 0x1c9cc55?, 0xc0006822a0?, 0x1c9c147?, 0xc000681ce0?, 0x1cd79a5?, 0xc00070c168?)
runtime/syscall_windows.go:501 +0x4a
github.com/lxn/win.GetMessage(0xc000000000?, 0x0?, 0x0, 0x0)
github.com/lxn/[email protected]/user32.go:2642 +0x6b
github.com/lxn/walk.(*FormBase).Run(0xc000f2aa80)
github.com/lxn/[email protected]/form.go:400 +0x2b5
main.runMenu()
github.com/fancybits/channels-server/menu_windows.go:140 +0x198
main.StartMenu()
github.com/fancybits/channels-server/menu_windows.go:108 +0x25
main.run()
github.com/fancybits/channels-server/main.go:551 +0x8a5
main.SetupMenu(0xc000108e40?)
github.com/fancybits/channels-server/menu_windows.go:100 +0x1fa
main.main()
github.com/fancybits/channels-server/main.go:354 +0x1f1
goroutine 9 [select, 39 minutes]:
github.com/blevesearch/bleve_index_api.AnalysisWorker({0xc0006fd200?, 0xc0006fd260?})
github.com/blevesearch/[email protected]/analysis.go:46 +0x89
created by github.com/blevesearch/bleve_index_api.NewAnalysisQueue in goroutine 1
github.com/blevesearch/[email protected]/analysis.go:38 +0x9f
Whole bunch more, but too much to post here
Happening alot now. Every or every other time i tune a M3u channel, so far. Not sure if this is related to Server update or new app update though. Still testing.