Hi @noris
May someone please tell me what this message means? It repeats in the RoonServer_log.txt about 6 times per second:
08/09 20:58:57 Critical: scx: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'LevelDb'.
at Roon.Analytics.EventManager.SetLocalState(String name, PropertyValue value)
at Roon.Broker.Transport.AnalyticsHelper.SetLastState(IAudioDevice device, String state)
at Roon.Broker.Transport.AnalyticsHelper.NotifyDiscovered(IAudioDevice device)
at Roon.Broker.Transport.AirPlay.<>c__DisplayClass22_0.<ev_device_seen>b__0()
at Sooloos.SynchronizationContextThread._Dispatch(SendOrPostWrapper& ret)
08/09 20:58:57 Critical: scx: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'LevelDb'.
at Roon.Analytics.EventManager.SetLocalState(String name, PropertyValue value)
at Roon.Broker.Transport.AnalyticsHelper.SetLastState(IAudioDevice device, String state)
at Roon.Broker.Transport.AnalyticsHelper.NotifyDiscovered(IAudioDevice device)
at Roon.Broker.Transport.AirPlay.<>c__DisplayClass22_0.<ev_device_seen>b__0()
at Sooloos.SynchronizationContextThread._Dispatch(SendOrPostWrapper& ret)
08/09 20:58:57 Critical: scx: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'LevelDb'.
at Roon.Analytics.EventManager.SetLocalState(String name, PropertyValue value)
at Roon.Broker.Transport.AnalyticsHelper.SetLastState(IAudioDevice device, String state)
at Roon.Broker.Transport.AnalyticsHelper.NotifyDiscovered(IAudioDevice device)
at Roon.Broker.Transport.AirPlay.<>c__DisplayClass22_0.<ev_device_seen>b__0()
at Sooloos.SynchronizationContextThread._Dispatch(SendOrPostWrapper& ret)
08/09 20:58:57 Critical: scx: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'LevelDb'.
at Roon.Analytics.EventManager.SetLocalState(String name, PropertyValue value)
at Roon.Broker.Transport.AnalyticsHelper.SetLastState(IAudioDevice device, String state)
at Roon.Broker.Transport.AnalyticsHelper.NotifyDiscovered(IAudioDevice device)
at Roon.Broker.Transport.AirPlay.<>c__DisplayClass22_0.<ev_device_seen>b__0()
at Sooloos.SynchronizationContextThread._Dispatch(SendOrPostWrapper& ret)
08/09 20:58:57 Critical: scx: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'LevelDb'.
at Roon.Analytics.EventManager.SetLocalState(String name, PropertyValue value)
at Roon.Broker.Transport.AnalyticsHelper.SetLastState(IAudioDevice device, String state)
at Roon.Broker.Transport.AnalyticsHelper.NotifyDiscovered(IAudioDevice device)
at Roon.Broker.Transport.AirPlay.<>c__DisplayClass22_0.<ev_device_seen>b__0()
at Sooloos.SynchronizationContextThread._Dispatch(SendOrPostWrapper& ret)
08/09 20:58:57 Critical: scx: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'LevelDb'.
at Roon.Analytics.EventManager.SetLocalState(String name, PropertyValue value)
at Roon.Broker.Transport.AnalyticsHelper.SetLastState(IAudioDevice device, String state)
at Roon.Broker.Transport.AnalyticsHelper.NotifyDiscovered(IAudioDevice device)
at Roon.Broker.Transport.AirPlay.<>c__DisplayClass22_0.<ev_device_seen>b__0()
at Sooloos.SynchronizationContextThread._Dispatch(SendOrPostWrapper& ret)
I think this is the issue that causes RoonAppliance/RoonServer to run out of file descriptors and stop working. There are several AirPlay devices on the network including one raspberry pi running “shairplay.” Any way I can get Roon to ignore AirPlay devices? Here are airplay log lines:
# grep -i airplay ~ockers/roon/ockers/AppData/Local/RoonServer/Logs/RoonServer_log.txt
08/09 21:20:52 Trace: [devicedb] [autodetect] No Match for DeviceAutodetectData[Type=AirPlay Model=Mac15,11 DescriptiveName=MacBook Pro]
08/09 21:20:55 Trace: [devicedb] [autodetect] No Match for DeviceAutodetectData[Type=AirPlay Model=ShairportSync DescriptiveName=office shairplay]
08/09 21:20:59 Trace: [devicedb] [autodetect] No Match for DeviceAutodetectData[Type=AirPlay Model=MacBookPro16,2 DescriptiveName=MacBook Pro]
08/09 21:25:48 Trace: [airplay] expired device AirPlayDevice[DeviceId=C2F40E7D94AA@office shairplay._raop._tcp.local, Name=office.local, Model=ShairportSync, IPEndPoint=192.168.0.21:5000] because we got a TTL=0 mDNS packet
08/09 21:25:48 Trace: [airplay] disconnected
The shairplay device disconnected when I rebooted it to see if Roon would notice and what it would log.
I restarted Windows today for an update which restarted RoonServer/RoonAppliance, it’s the latest version
08/09 20:52:25 Info: Starting RoonServer v2.71 (build 1683) production on windows
but unlike the last time I restarted in which there were no log messages referencing “scx”, this time I see the above messages repeating several times per second.
Based on this I expect Roon to stop working in a few minutes or hours, and I’ll have to restart windows to get it working again. After my previous message a couple days ago Roon worked fine and there were no scx messages in the log for the last 2 days.
How can I get rid of these scx LevelDb log messages and whatever’s causing them?
Thanks
James