Roon Crashing with Mono related messages randomly

Core Machine (Operating system/System info/Roon build number)

iMac 2019 i5 6 cores, 40gb ram, build in SSD.

Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)

Ethernet, music library in USB HDD.

Audio Devices (Specify what device you’re using and its connection type - USB/HDMI/etc.)

USB DAC.

Description Of Issue

Roon crashing since yesterday:

Apr 16 09:56:53 Jupiter AMPDeviceDiscoveryAgent[390]: tid:62b7 - Can’t handle disconnect with invalid ecid
Apr 16 09:58:37 Jupiter AMPDeviceDiscoveryAgent[390]: Entered:_AMMuxedDeviceDisconnected, mux-device:118
Apr 16 09:58:37 Jupiter AMPDeviceDiscoveryAgent[390]: Entered:__thr_AMMuxedDeviceDisconnected, mux-device:118
Apr 16 09:58:37 Jupiter AMPDeviceDiscoveryAgent[390]: tid:62b7 - Mux ID not found in mapping dictionary
Apr 16 09:58:37 Jupiter AMPDeviceDiscoveryAgent[390]: tid:62b7 - Can’t handle disconnect with invalid ecid
Apr 16 09:58:58 Jupiter com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x10000005.Roon[1029]): Service exited with abnormal code: 5**
Apr 16 10:00:30 Jupiter AMPDeviceDiscoveryAgent[390]: Entered:_AMMuxedDeviceDisconnected, mux-device:119
Apr 16 10:00:30 Jupiter AMPDeviceDiscoveryAgent[390]: Entered:__thr_AMMuxedDeviceDisconnected, mux-device:119
Apr 16 10:00:30 Jupiter AMPDeviceDiscoveryAgent[390]: tid:62b7 - Mux ID not found in mapping dictionary
Apr 16 10:00:30 Jupiter AMPDeviceDiscoveryAgent[390]: tid:62b7 - Can’t handle disconnect with invalid ecid
Apr 16 10:00:50 Jupiter AMPDeviceDiscoveryAgent[390]: Entered:_AMMuxedDeviceDisconnected, mux-device:120

From the Crash report:

Thread 4 Crashed:: Timer-Scheduler
0 libsystem_kernel.dylib 0x00007fff72ab633a __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff72b72e60 pthread_kill + 430
2 libsystem_c.dylib 0x00007fff72a3d8a2 __abort + 139
3 libsystem_c.dylib 0x00007fff72a3d817 abort + 135
4 com.roon.Roon 0x0000000106206f30 log_callback(char const*, char const*, char const*, int, void*) + 64
5 com.roon.Roon 0x000000010653b35e monoeg_g_logv_nofree + 190
6 com.roon.Roon 0x000000010653b412 monoeg_g_log + 130
7 com.roon.Roon 0x0000000106438669 mono_monitor_try_enter_inflated + 1513
8 com.roon.Roon 0x0000000106437b4b ves_icall_System_Threading_Monitor_Monitor_try_enter_with_atomic_var + 43
9 ??? 0x000000010f719f8e 0 + 4554071950
10 ??? 0x000000010f6fe4e8 0 + 4553958632
11 ??? 0x000000010f6fd8cb 0 + 4553955531
12 com.roon.Roon 0x0000000106306d69 mono_jit_runtime_invoke + 1641
13 com.roon.Roon 0x0000000106449b04 do_runtime_invoke + 84
14 com.roon.Roon 0x000000010644bb3b  **mono_runtime_delegate_try_invoke**  + 203
15 com.roon.Roon 0x000000010649f43e start_wrapper + 750
16 libsystem_pthread.dylib 0x00007fff72b73109 _pthread_start + 148
17 libsystem_pthread.dylib 0x00007fff72b6eb8b thread_start + 15

I have the full macOS report.

Here the 3 times it has happened since yesterday:

Apr 15 08:16:59 Jupiter com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x1000000c.Roon[21276]): Service exited due to SIGABRT
Apr 16 02:04:49 Jupiter com.apple.xpc.launchd[1] (com.roon.Roon.9636[54441]): Service exited due to SIGABRT.  ***>>> I was sleeping Roon was not even playing... or the computer in use.***
Apr 16 09:58:58 Jupiter com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x10000005.Roon[1029]): Service exited with abnormal code: 5

guys really need help this is getting very frustrating, the GPU issue (macOS Catalina interface laggy randomly while running Roon (High GPU usage randomly, Roon idle 20% GPU, sometimes up to 99% usage)) + these crashes, can’t continue like that…

Not sure this time I will be willing to drop my DB and format my iMac.

while idle my device goes off after 30 mins or so, as you can see I was not playing music with Roon. This is the backtrace from Roon logs of 9.58am crash:

04/16 09:58:58 Trace: [raatserver] [McIntosh-HD HS USB Audio] lost client connection. Retrying
04/16 09:58:58 Info: [raatserver] [McIntosh-HD HS USB Audio] connecting (attempt 1)
04/16 09:58:58 Info: [transport] destroyed zone Mcintosh was playing? False
04/16 09:58:58 Trace: [zone MA8900] Suspend
04/16 09:58:58 Warn: [raat_ll/client] [McIntosh-HD HS USB Audio] failed to connect Connection refused
04/16 09:58:58 Info: [library] recorded play for profile 22e6a9d7-b026-495e-bc2d-496ee1e94df6: mediaid=50:1:6335e039-3e7b-43bf-99c1-776686a57f38 metadataid=123:0:MT0005720917 contentid= libraryid=50:1:6335e039-3e7b-43bf-99c1-776686a57f38 isfromswim=False
04/16 09:58:58 Trace: [library] finished with 121 dirty tracks 9 dirty albums 57 dirty performers 217 dirty works 96 dirty performances 0 clumping tracks, 0 clumping auxfiles 0 compute tracks, 0 deleted tracks, 0 tracks to (re)load, 0 tracks to retain, 0 auxfiles to (re)load, 0 auxfiles to retain, and 250 changed objects
04/16 09:58:58 Trace: [dbperf] flush 0 bytes, 0 ops in 1 ms (cumulative 0 bytes, 0 ops in 3141 ms)
04/16 09:58:58 Trace: [library] endmutation in 14ms
04/16 09:58:58 Trace: [raatserver] [McIntosh-HD HS USB Audio] client connection failed. Retrying in 500ms
04/16 09:58:58 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "DeviceChanged", "device": {"name": "McIntosh-HD HS USB Audio", "device_id": "AppleUSBAudioEngine:McIntosh:McIntosh HD USB Audio:14500000:2", "type": "coreaudio", "config": {"unique_id": "90577c35-c7a6-6f14-9984-38d21701fb84", "external_config": {"product_override": "351"}, "output": {"type": "coreaudio", "integer_mode": true, "device": "AppleUSBAudioEngine:McIntosh:McIntosh HD USB Audio:14500000:2", "name": "McIntosh-HD HS USB Audio", "exclusive_mode": true, "dsd_mode": "none", "force_max_volume": false}, "volume": {"type": "coreaudio", "device": "AppleUSBAudioEngine:McIntosh:McIntosh HD USB Audio:14500000:2", "exclusive_mode": true}}, "usb_id": "2afd:0005", "vendor": "McIntosh"}}
04/16 09:58:58 Trace: [rnet/RnetJsonClient] GOT {"status": "Removed"}
04/16 09:58:58 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "DeviceRemoved", "device": {"name": "McIntosh-HD HS USB Audio", "device_id": "AppleUSBAudioEngine:McIntosh:McIntosh HD USB Audio:14500000:2", "type": "coreaudio", "config": {"unique_id": "90577c35-c7a6-6f14-9984-38d21701fb84", "external_config": {"product_override": "351"}, "output": {"type": "coreaudio", "integer_mode": true, "device": "AppleUSBAudioEngine:McIntosh:McIntosh HD USB Audio:14500000:2", "name": "McIntosh-HD HS USB Audio", "exclusive_mode": true, "dsd_mode": "none", "force_max_volume": false}, "volume": {"type": "coreaudio", "device": "AppleUSBAudioEngine:McIntosh:McIntosh HD USB Audio:14500000:2", "exclusive_mode": true}}, "usb_id": "2afd:0005", "vendor": "McIntosh"}}
04/16 09:58:58 Trace: [rnet/RnetJsonClient] SENT {"request":"get_device_config","device_id":"AppleUSBAudioEngine:McIntosh:McIntosh HD USB Audio:14500000:2","options":{}}
04/16 09:58:58 Trace: [rnet/RnetJsonClient] GOT {"status": "NotFound"}
04/16 09:58:58 Debug: NOT CALLABLE Broo.Runtime.UndefinedValue: 
04/16 09:58:58 Critical: while dispatching events: ===[ BrooScript Exception ]============================================================

Broo.NotCallableException: Attempted to call a non-callable object
    at ../ui/settings_audio.broo:616 [360cd9:002e] function anon_5734

===[ Managed Exception ]===============================================================

Broo.NotCallableException: Attempted to call a non-callable object
  at Broo.Runtime.Binding.Call (Broo.Runtime.Value value, Broo.Runtime.ArgList args, Broo.Runtime.Equation eq) [0x0008a] in <98e1bc9b9ee941ecb08b82b4e09dff0c>:0 
  at Broo.Runtime.Interpreter.Run (Broo.Runtime.Scope scope, Broo.Runtime.BrooxCode code, Broo.Runtime.ArgList args, System.String name) [0x00adc] in <98e1bc9b9ee941ecb08b82b4e09dff0c>:0 

04/16 09:58:58 Info: 
Local Time:            04/16/2020 09:58:58 -06:00
Device Serial Number:  2A0B4E98-2AD0-4739-8487-5F64F841256F
User Id:               53b84be3-2d73-4114-9204-ef7710f94969
Roon Version:       1.7 (build 528) stable
OS Version:            Mac OS X 10.15.4
Hardware Version:      iMac19,1
Mono Version:          6.4.0.208 (2019-06/07c23f2ca43)

Application Domain:    Roon.exe
Assembly Codebase:     file:///Applications/Roon.app/Contents/MonoBundle/Roon.exe
Assembly Full Name:    Roon, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null

CPU0 Description:      Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz (64-bit)
CPU0 Num Cores:        Physical: 6 Logical: 6

SCREEN0 Name:          69964276 (primary)SCREEN0 Bounds:        0,0 2880x1620

--[ BROOSCRIPT EXCEPTION ]-------------------------------------------

    Exception Message: Attempted to call a non-callable object

    at ../ui/settings_audio.broo:616 [360cd9:002e] function anon_5734

--[ INNER EXCEPTION ]------------------------------------------------
   Inner Exception Source:      Broo.Runtime
   Inner Exception Type:        Broo.NotCallableException
   Inner Exception Target Site: Binding.Call
   Inner Exception Message:     Attempted to call a non-callable object
   Inner Exception Data:        none

   --[ Inner Stack Trace ]------------
   Broo.Runtime.Binding.Call(Value value, ArgList args, Equation eq)
       Broo.Runtime.dll, IL 138, N 746
   Broo.Runtime.Interpreter.Run(Scope scope, BrooxCode code, ArgList args, String name)
       Broo.Runtime.dll, IL 2780, N 12402

--[ OUTER EXCEPTION ]------------------------------------------------
   Outer Exception Source:      Broo.Runtime
   Outer Exception Type:        Broo.BrooScriptException
   Outer Exception Target Site: Interpreter.Run
   Outer Exception Message:     Exception in brooscript
   Outer Exception Data:        none

   --[ Outer Stack Trace ]------------
   Broo.Runtime.Interpreter.Run(Scope scope, BrooxCode code, ArgList args, String name)
       Broo.Runtime.dll, IL 4251, N 19594
   Broo.Runtime.Function.Call(ArgList args, Equation eq)
       Broo.Runtime.dll, IL 357, N 1282
   Broo.Runtime.Function.Call(ArgList args)
       Broo.Runtime.dll, IL 0, N 74
   DelegateAdapters.System.Action`2[System.String,Sooloos.Broker.Api.AudioDeviceSetup](Function arg1, String arg2, AudioDeviceSetup )
       Roon.Client.Desktop.bindings.dll, IL 59, N 290
   Sooloos.Client.Models.brooexposure_BROKERAudioDevice/<>c__DisplayClass0_0.<method_begin_setup>b__0(Result`1 r)
       Roon.Client.BrooModels.dll, IL 34, N 180
   Sooloos.Broker.Transport.RaatServerAudioDevice/<>c__DisplayClass155_3.<BeginSetup>b__4()
       Roon.Broker.Core.dll, IL 27, N 151
   Sooloos.Concurrency.Version.DispatchPostHandlers(Object o)
       Roon.Broker.Concurrency.dll, IL 46, N 203
   Sooloos.Concurrency.SharedState`1.FlushEvents()
       Roon.Broker.Concurrency.dll, IL 82, N 738
   Sooloos.Broker.State.BeginAccess(List`1 out_mutated_objects)
       Roon.Broker.Core.dll, IL 50, N 298
   Sooloos.Broker.State.EndAccess()
       Roon.Broker.Core.dll, IL 39, N 314
   Sooloos.Broker.ApiRoot.EndAccess()
       Roon.Broker.Core.dll, IL 0, N 66
   Broo.Engine.DeviceTarget.GuiMainLoop()
       BrooEngine.dll, IL 435, N 1818
   Broo.Engine.Engine.GuiMainLoop()
       BrooEngine.dll, IL 0, N 66
   Sooloos.Application.Main(String[] argv)
       RoonLib.dll, IL 973, N 6482
   RoonMac.Application.Main(String[] args)
       Roon.exe, IL 648, N 3162

04/16 09:58:58 Error: 
Local Time:            04/16/2020 09:58:58 -06:00
Device Serial Number:  2A0B4E98-2AD0-4739-8487-5F64F841256F
User Id:               53b84be3-2d73-4114-9204-ef7710f94969
Roon Version:       1.7 (build 528) stable
OS Version:            Mac OS X 10.15.4
Hardware Version:      iMac19,1
Mono Version:          6.4.0.208 (2019-06/07c23f2ca43)

Application Domain:    Roon.exe
Assembly Codebase:     file:///Applications/Roon.app/Contents/MonoBundle/Roon.exe
Assembly Full Name:    Roon, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null

CPU0 Description:      Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz (64-bit)
CPU0 Num Cores:        Physical: 6 Logical: 6

SCREEN0 Name:          69964276 (primary)SCREEN0 Bounds:        0,0 2880x1620

--[ BROOSCRIPT EXCEPTION ]-------------------------------------------

    Exception Message: Attempted to call a non-callable object

    at ../ui/settings_audio.broo:616 [360cd9:002e] function anon_5734

--[ INNER EXCEPTION ]------------------------------------------------
   Inner Exception Source:      Broo.Runtime
   Inner Exception Type:        Broo.NotCallableException
   Inner Exception Target Site: Binding.Call
   Inner Exception Message:     Attempted to call a non-callable object
   Inner Exception Data:        none

   --[ Inner Stack Trace ]------------
   Broo.Runtime.Binding.Call(Value value, ArgList args, Equation eq)
       Broo.Runtime.dll, IL 138, N 746
   Broo.Runtime.Interpreter.Run(Scope scope, BrooxCode code, ArgList args, String name)
       Broo.Runtime.dll, IL 2780, N 12402

--[ OUTER EXCEPTION ]------------------------------------------------
   Outer Exception Source:      Broo.Runtime
   Outer Exception Type:        Broo.BrooScriptException
   Outer Exception Target Site: Interpreter.Run
   Outer Exception Message:     Exception in brooscript
   Outer Exception Data:        none

   --[ Outer Stack Trace ]------------
   Broo.Runtime.Interpreter.Run(Scope scope, BrooxCode code, ArgList args, String name)
       Broo.Runtime.dll, IL 4251, N 19594
   Broo.Runtime.Function.Call(ArgList args, Equation eq)
       Broo.Runtime.dll, IL 357, N 1282
   Broo.Runtime.Function.Call(ArgList args)
       Broo.Runtime.dll, IL 0, N 74
   DelegateAdapters.System.Action`2[System.String,Sooloos.Broker.Api.AudioDeviceSetup](Function arg1, String arg2, AudioDeviceSetup )
       Roon.Client.Desktop.bindings.dll, IL 59, N 290
   Sooloos.Client.Models.brooexposure_BROKERAudioDevice/<>c__DisplayClass0_0.<method_begin_setup>b__0(Result`1 r)
       Roon.Client.BrooModels.dll, IL 34, N 180
   Sooloos.Broker.Transport.RaatServerAudioDevice/<>c__DisplayClass155_3.<BeginSetup>b__4()
       Roon.Broker.Core.dll, IL 27, N 151
   Sooloos.Concurrency.Version.DispatchPostHandlers(Object o)
       Roon.Broker.Concurrency.dll, IL 46, N 203
   Sooloos.Concurrency.SharedState`1.FlushEvents()
       Roon.Broker.Concurrency.dll, IL 82, N 738
   Sooloos.Broker.State.BeginAccess(List`1 out_mutated_objects)
       Roon.Broker.Core.dll, IL 50, N 298
   Sooloos.Broker.State.EndAccess()
       Roon.Broker.Core.dll, IL 39, N 314
   Sooloos.Broker.ApiRoot.EndAccess()
       Roon.Broker.Core.dll, IL 0, N 66
   Broo.Engine.DeviceTarget.GuiMainLoop()
       BrooEngine.dll, IL 435, N 1818
   Broo.Engine.Engine.GuiMainLoop()
       BrooEngine.dll, IL 0, N 66
   Sooloos.Application.Main(String[] argv)
       RoonLib.dll, IL 973, N 6482
   RoonMac.Application.Main(String[] args)
       Roon.exe, IL 648, N 3162

Hi @mavmcl,

Could you please upload a full set of your Roon logs to Dropbox / Google Drive and post a link here?
Is there any change in behavior if you try performing a full reboot on your Core?

It looks like Roon was interacting with the McIntosh zone right before the crash trace occurred, if you try disconnecting your McIntosh zone from the Core, do the crashes stop?

Hi @noris
thanks for helping: https://drive.google.com/open?id=1RxLBb6qWiibTBXRBaSxDCMQNPWHj60di
you will notice from the logs the Mcintosh device was not playing while the crash occurred today at 9.58. I am currently using the Mcintosh zone without any issues, actually this is the device I use 100% of the time.

Hi @mavmcl,

Thanks for sending the log over. It doesn’t look like an issue with your media files, I’m not seeing any analysis traces appear, so I’d like to focus on the McIntosh zone.

Can you please open Device Setup for this zone and press the Load Defaults button? Is there any change in behavior if you do that?

Sure @noris I will do that in a min and will monitor.
Thanks.

1 Like

Hi @noris no further crash events, I would say this is resolved.
Thanks.

1 Like

That’s great news @mavmcl, thanks for letting me know!

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.