Server crash tuning M3U (2024.03.26.0700)

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.

This wouldn’t have anything to do with these changes

OK. So server update then?

I just updated to that version.
And it is crashing almost every time I tune a m3u channel now.

1 Like

2024.03.22.2219

was the last version i was running.. did not have this issue.

TVE seems to be working fine, But Pluto and Samsung. via m3u causing crashing of server.

Win 11 Pro is server, Apple TV 4K 2022 is client.

EDIT: Update server to 2024.03.26.1759 and testing now.

2024.03.26.1759 lasted much longer, but it having crashes too.

I am reverting to 2024.03.22.2219 and testing again.

Just sent diag again.
921017e3-738b-4422-a4b4-555e3ab3495f

I just came here to report the same crash. Had to restart the server manually.

I see there is a fix.

:crossed_fingers:

1 Like

I’m not having any issues with custom m3u sources on 2024.03.26.1759.

Updated:

so far seems fixed.
Thank You!

I had a rare crash here on Syology.
10df7513-2382-4b27-97c7-6037679d0050

1 Like