Random crashes on build 882 [See Staff Post]

Roon Core Machine

Windows 11 Pro, Version 21H2
Intel Core i7-7800X
16GB RAM
4k monitor

Networking Gear & Setup Details

Connected to a simple wired home network. Hosted on my windows machine.

Connected Audio Devices

Connected to my Sonos Play 5, as well as a USB connection to an Amp/Dac.

Number of Tracks in Library

11803 Tracks

Description of Issue

Ever since the new update, Roon has been crashing randomly (every 30 minutes or so?). I think it only happens when it’s minimized. Log says as follows:
Exception Message: get_spec_aspect requires a non-zero width and height

at ..\ui\queue.broo:4132 [ae96b1:005b] equation
at ..\ui\queue.broo:4148 [ae89e4:0007] equation

Thinking this might be Windows 11 related?

It could also be video driver related, have you tried downloading the latest video drivers from th hardware manufacturer (not Windows update)?

Ah it could be. I am a bit behind with my Nvidia drivers, actually. Was using a version that got released before Windows 11, so that could be it. Updating that now, I’ll let you know if I experience it again afterwards.

1 Like

I also am getting the same issue except mine craps out about every 2-3 hr.
Running on Thinkpad 490s , 16GM mem Win 11 Pro 21H2 using local Intel UHD Graphics 620
this machine runs Roon Core nothing else.
I just updated to the latest driver I will see if that fixes it…

Error:
Application Domain: Roon.exe
Assembly Codebase: file:///C:/Users/Roon007/AppData/Local/Roon/Application/Roon.exe
Assembly Full Name: Roon, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

CPU0 Description: Intel64 Family 6 Model 142 Stepping 12 1896 MHz (64-bit)
CPU0 Num Cores: Physical: 4 Logical: 8

GPU0 Description: Intel(R) UHD Graphics 620 1024 MB
GPU0 Video Mode: 1920 x 1080 x 4294967296 colors
GPU0 Driver Version: 27.20.100.9749

SCREEN0 Name: \.\DISPLAY1 (primary)SCREEN0 Bounds: 0,0 1920x1080

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

Exception Message: get_spec_aspect requires a non-zero width and height

at ..\ui\queue.broo:4132 [ae96b1:005b] equation
at ..\ui\queue.broo:4148 [ae89e4:0007] equation

–[ INNER EXCEPTION ]------------------------------------------------
Inner Exception Source: Roon.Client.BrooModels
Inner Exception Type: System.InvalidOperationException
Inner Exception Target Site: brooexposure_BROKERImage.method_get_spec_aspect
Inner Exception Message: get_spec_aspect requires a non-zero width and height
Inner Exception Data: none

–[ Inner Stack Trace ]------------
Sooloos.Client.Models.brooexposure_BROKERImage.method_get_spec_aspect(Image o, String aspect, Single width, Single height, Single scaleFactor)
Roon.Client.BrooModels.DLL, IL 26, N 257

–[ 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

Sadly, no such luck. Happened again. Same error message with the get_spec_aspect method failing.

Not sure if useful, but this is what I did before the crash:

  1. Minimized Roon
  2. Some time passed
  3. Hovered to the bottom of my screen to show the taskbar (Windows 11 has an option to hide it unless hovered over)
  4. Roon crashed before I got a chance to click on it to reopen it

Here’s what happened immediately before the crash (removed some info just to be safe):

12/21 02:17:09 Trace: ForceRenderImmediately, viewport: {X=0,Y=0,Width=3840,Height=2126}
12/21 02:17:10 Info: 
Local Time:            12/21/2021 02:17:09 +00:00
Device Serial Number:  
User Id:              
Roon Version:       1.8 (build 882) stable
OS Version:            Windows 11

Application Domain:    Roon.exe
Assembly Codebase:     
Assembly Full Name:    Roon, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

CPU0 Description:      Intel64 Family 6 Model 85 Stepping 4 3501 MHz (64-bit)
CPU0 Num Cores:        Physical: 6 Logical: 12

GPU0 Description:      NVIDIA GeForce GTX 1080 Ti 0 MB
GPU0 Video Mode:       3840 x 2160 x 4294967296 colors
GPU0 Driver Version:   30.0.14.9729

SCREEN0 Name:          \\.\DISPLAY1 (primary)SCREEN0 Bounds:        0,0 3840x2160

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

    Exception Message: get_spec_aspect requires a non-zero width and height

    at ..\ui\queue.broo:4132 [ae96b1:005b] equation
    at ..\ui\queue.broo:4148 [ae89e4:0007] equation

--[ INNER EXCEPTION ]------------------------------------------------
   Inner Exception Source:      Roon.Client.BrooModels
   Inner Exception Type:        System.InvalidOperationException
   Inner Exception Target Site: brooexposure_BROKERImage.method_get_spec_aspect
   Inner Exception Message:     get_spec_aspect requires a non-zero width and height
   Inner Exception Data:        none

   --[ Inner Stack Trace ]------------
   Sooloos.Client.Models.brooexposure_BROKERImage.method_get_spec_aspect(Image o, String aspect, Single width, Single height, Single scaleFactor)
       Roon.Client.BrooModels.DLL, IL 26, N 257

--[ 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 4231, N 15434
   Broo.Runtime.Equation.GetValue()
       Broo.Runtime.DLL, IL 64, N 200
   Broo.Runtime.Equation.GetObjectValue()
       Broo.Runtime.DLL, IL 0, N 9
   Broo.Engine.ReferenceObjectBrooProperty`1.IfDirtyDoClean()
       BrooEngine.DLL, IL 72, N 330
   Broo.Engine.Trigger.Update()
       BrooEngine.DLL, IL 13, N 51
   Broo.Engine.Engine.Update()
       BrooEngine.DLL, IL 90, N 241
   Broo.Engine.DeviceTarget.ForceRenderImmediately()
       BrooEngine.DLL, IL 68, N 193
   Broo.Engine.GlWindow.OnPaint(PaintEventArgs e)
       BrooEngine.DLL, IL 69, N 127
   System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
       System.Windows.Forms.dll, IL 43, N 103
   System.Windows.Forms.Control.WmPaint(Message& m)
       System.Windows.Forms.dll, IL 450, N 978
   System.Windows.Forms.Control.WndProc(Message& m)
       System.Windows.Forms.dll, IL 872, N 800
   System.Windows.Forms.Form.WndProc(Message& m)
       System.Windows.Forms.dll, IL 720, N 103
   Broo.Engine.GlWindow.WndProc(Message& m)
       BrooEngine.DLL, IL 659, N 1141
   System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       System.Windows.Forms.dll, IL 37, N 194

Is it because X and Y are 0? Maybe something to do with the taskbar being hidden causing some weird viewport calculations?

Crash doesn’t seem to happen if I leave Roon maximized in the background, however.

Hope that helps :slight_smile:

Edit: Doesn’t seem to be because of the taskbar being hidden. Just tested it with the taskbar always visible. Same crash. Only way I can stop it from happening is to ensure Roon is never minimized.

I also tried updating my drivers and still am getting the same result crashing, have not tried leaving it full screen but when it is minimized and the screen sleeps the minute I wake the screen it crashes with the same error I posted above.
More than glad to provide the log file if needed :slight_smile:

If you set the screen to.not sleep, do you have the issue

Hi Rugby,

So, I have roon up and running maximized, and the screen can sleep, and wakes fine.

If I minimize Roon and try and wake the screen it immediately throw the error.

I would prefer not to set a laptop to not have the screen sleep, as I want to eventually close the lid and stow ot away on a shelf to be the “Core” it can be.

I am willing to try and help figure out what the deal is, so will help in any way I can.

M

Thanks for the report, guys. We know what this is and are on it.

6 Likes

Hello. I have the exact same problem with my Dell XPS 15.
If I minimize ROON I have random crashes. If it is not minimized everything is fine. This started with Build 882.
Best
Marco

Roon crashes constantly. Did you manage to fix this?

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