Roon randomly crashing on Windows 11 due to Math.Sign [Addressed in build 911]

Hi @Matthew_Beckstrom ,

I’ve pulled logs from your Roon Core and you have the same crash trace as @Matthew_Ford . I’ve merged your post into this thread, please see my post here:

I am currently just listening to some songs I added to the queue and the application crashed but music is still playing. On my pc it looks like a couple of seconds before Wed 16 Feb 2022 03:22:27 PM CST is when it crashed.

I have not restarted Roon yet just letting the music in queue play.

1 Like

I had restarted Roon and picked a couple of additional tracks to play and nothing unexpected happened. Then just before Wed 16 Feb 2022 04:03:27 PM CST I clocked on the album of the song that was ending and Roon crashed/closed.

Music is still playing as in prior similar instances of issue.

1 Like

Just wanted to add that today I started listening and it was a roon radio song played which was from Tidal or Qobuz and then after the songs I selected an album Dark side of the Moon. I didn’t have Roon running on main monitor but when I looked back I could see Roon was crashed. Album is still playing.

Crashed before Thu 17 Feb 2022 01:50:18 PM CST
Looks like in Roon_log.txt last time stamp was 02/17 13:47:34

02/17 13:47:34 Info:
Local Time:            02/17/2022 13:47:34 -06:00
Device Serial Number:  53040FCE-B3CB-4955-9252-3144B65B81F1^M
User Id:               f666c39a-d55a-497a-85d5-3c40364f2383^M
Roon Version:       1.8 (build 903) stable^M
OS Version:            Windows 11

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

CPU0 Description:      Intel64 Family 6 Model 158 Stepping 10 2201 MHz (64-bit)
CPU0 Num Cores:        Physical: 6 Logical: 12

GPU0 Description:      NVIDIA GeForce RTX 2080 SUPER 0 MB
GPU0 Video Mode:       3440 x 1440 x 4294967296 colors^M
GPU0 Driver Version:   30.0.15.1165^M

GPU1 Description:      Intel(R) UHD Graphics 630 1024 MB
GPU1 Video Mode:       1920 x 1080 x 4294967296 colors^M
GPU1 Driver Version:   27.20.100.8682^M

GPU2 Description:      NVIDIA GeForce GTX 1070 with Max-Q Design 0 MB
GPU2 Video Mode:       <unknown>^M
GPU2 Driver Version:   30.0.15.1165^M

SCREEN0 Name:          \\.\DISPLAY1 SCREEN0 Bounds:        -1920,0 1920x1080

SCREEN1 Name:          \\.\DISPLAY8 (primary)SCREEN1 Bounds:        0,0 3440x1440

   Exception Source:      mscorlib
   Exception Type:        System.ArithmeticException
   Exception Target Site: Math.Sign
   Exception Message:     Function does not accept floating point Not-a-Number values.
   Exception Data:        none


   --[ Stack Trace ]------------
   System.Math.Sign(Double value)
       mscorlib.dll, IL 57, N 14200982
   Broo.Engine.Flickable2.ProcessFrameSmoothScrolling(Double dt, Double p0)
       BrooEngine.DLL, IL 0, N 442
   Broo.Engine.Flickable2.AnimationLoop(Double frameTimestamp)
       BrooEngine.DLL, IL 250, N 648
   Broo.Engine.DeviceTarget.GuiMainLoop()
       BrooEngine.DLL, IL 221, N 776
   Sooloos.Application.Main(String[] argv)
       Roon.exe, IL 1951, N 4514

I have a 9600k and just upgraded my desktop to Win 11, and I am also experiencing random crashes. The last time it happened was clicking on one of two Roon shortcuts in the taskbar. Win 11 doesn’t condense the shortcut and the open window…yet.

@moderators please merge my other thread as this one seems to have more visibility with roon @support. I am getting the Windows 11 crashing in many scenarios but in my use case it is easiest to reproduce if playing something and then trying to scroll up and down the playing history queue.

@support, please add me to the list of the victims of build 903 on Windows 11.
Roon remote crashes in a few minutes while viewing lyrics, consistently happens all the time. It is the most obvious bug ever.

@noris

I will add another action that seems to have a high chance to cause the crash. Please let me know if you want me to stop posting when I find something. Just trying to add some context and examples but I also understand to much can be detrimental to the effort.

When I am listening to a song and then click on the album bottom left hand side(red circle 1st image) and then in click the album the song is from(green circle 2nd image). This has several times crashed the application as soon as I do this.


1 Like

When mine crashes, the music cuts. The music doesnt keep playing for me.
It hasnt crashed again in the last 24 hours which is interesting. I’m not sure what i was doing to cause it to crash previous times.

2 Likes

I’m also getting random Windows 11 crashes. Usually when I’m not doing anything at all - the app just disappears.

1 Like

Yup. Same for me. Randomly crashes after being idle on Windows 11 desktop. Music continues uninterrupted, so it isn’t on the Core (or, in my case, MOCK). Just feels a bit unstable in Windows 11.

Thanks for looking at it.

Since the update of 1.8 (903) Roon Remote on Windows 11 is very unstable, I’ve had multiple crashes per day. This certainly pulls from the experience of Roon, just so happened when I was trying to sell a friend on the service. Add this along with the recent Tidal problems and the lack of accessible support. Disappointed and some changes are needed for sure!

1 Like

Hi All,

Thanks for the additional info here! We have a ticket in progress regarding this issue that is currently in testing, which we hope will help with these crashes once it is ready for release. If we need further debugging information, we’ll reach out again, thanks!

3 Likes

I have the same problem, usually the crash happens during the dynamic lyrics UI

Just did a search as I am having random crashing on my new desktop. Win 11 Pro, Thinkstation workstation with a Dell Precision acting as the Roon server. Music will be playing and then bam, Roon on my desktop closes and it goes silient. It opens again when I click on it and I hit play and resumes in the same place it left off.

@support

Also having the same issue on Win11; crashes randomly occur within the app. Sometimes they happen when viewing lyrics, sometimes they happen when I click on an album; it’s unclear to me what triggers it.

Getting the same logs as @Matthew_Ford at the top of this thread:

02/24 01:43:48 Info: 
Local Time:            02/24/2022 01:43:48 -05:00
Device Serial Number:  3621FC48-9E77-4280-812A-832399DB279D
User Id:               d1ba6951-2f2d-4f3f-8e61-84de6090699c
Roon Version:       1.8 (build 903) stable
OS Version:            Windows 11

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

CPU0 Description:      AMD64 Family 23 Model 113 Stepping 0 3600 MHz (64-bit)
CPU0 Num Cores:        Physical: 6 Logical: 12

GPU0 Description:      NVIDIA GeForce RTX 3080 0 MB
GPU0 Video Mode:       2560 x 1440 x 4294967296 colors
GPU0 Driver Version:   30.0.15.1165

SCREEN0 Name:          \\.\DISPLAY1 (primary)SCREEN0 Bounds:        0,0 2560x1440

SCREEN1 Name:          \\.\DISPLAY2 SCREEN1 Bounds:        2560,101 1920x1080

   Exception Source:      mscorlib
   Exception Type:        System.ArithmeticException
   Exception Target Site: Math.Sign
   Exception Message:     Function does not accept floating point Not-a-Number values.
   Exception Data:        none

   --[ Stack Trace ]------------
   System.Math.Sign(Double value)
       mscorlib.dll, IL 57, N 14200982
   Broo.Engine.Flickable2.ProcessFrameSmoothScrolling(Double dt, Double p0)
       BrooEngine.DLL, IL 0, N 442
   Broo.Engine.Flickable2.AnimationLoop(Double frameTimestamp)
       BrooEngine.DLL, IL 250, N 648
   Broo.Engine.DeviceTarget.GuiMainLoop()
       BrooEngine.DLL, IL 221, N 776
   Sooloos.Application.Main(String[] argv)
       Roon.exe, IL 1951, N 4526

02/24 01:43:48 Debug: FTMSI-B closed file for ti/E9F2C6F0; open files:0
02/24 01:43:48 Debug: FTMSI-B ti/E9F2C6F0 download status: FirstBlockRetrieved accessTimeout:False openFiles:0 prev:(FirstBlockRetrieved,False,1)
02/24 01:43:48 Info: FTMSI-B ti/E9F2C6F0: allocated bw changed from 51200 to 0 kbps
02/24 01:43:48 Info: FTMSI-B ti/FFB17302: allocated bw changed from 0 to 51200 kbps
02/24 01:43:48 Info: FTMSI-B 1 FileCache ti/E9F2C6F0 dwStatus:FirstBlockRetrieved files:0 accessTimeOut:False priorities: ('zoneplayer:3':126) --> bw limit:0kbps
02/24 01:43:48 Info: FTMSI-B 2 FileCache ti/FFB17302 dwStatus:FileLengthRetrieved files:1 accessTimeOut:False priorities: ('zoneplayer:3':127) --> bw limit:51200kbps
02/24 01:43:48 Debug: [storage] dispose deleting: C:\Users\apoll\AppData\Local\Roon\Temp\53dafd87b9cb430b97c6b6ccf18739f7
02/24 01:43:48 Warn: [storage] [directory] [itunes] dispose !!!!

Yes I have had windows 11 since it was released and has been stable up until the latest update and now intermittently crashes when viewing lyrics and sometimes when clicking on an album. Also when adding an album to my playlist it adds extra random tracks from the album for some reason and then when I go into it sometimes clears and then Roon crashes.

1 Like

Roon Core Machine

Windows 11 Dell Inspiron 17 3000 Laptop with Intel Core i5 with 8gb RAM

Networking Gear & Setup Details

On WIFI 4 router averaging 30mbs

Connected Audio Devices

Bowers & Wilkins Wedge, linked to internet with ethernet cable. Connecting to Roon via Roon Ready

Number of Tracks in Library

21,317 tracks

Description of Issue

Roon randomly shut down whilst playing. I updated to 903 build this morning and has played all day pretty much without issue.

Here is the last of the log entry from when is shut down:

02/16 18:00:02 Debug: [storage] dispose deleting: C:\Users\t_j_c\AppData\Local\Roon\Temp\3f45e054f6304d9db78a6a5cf78735ca
02/16 18:00:02 Warn: [storage] [directory] [itunes] dispose !!!
02/16 18:00:03 Debug: [storage] dispose deleting: C:\Users\t_j_c\AppData\Local\Roon\Temp\5e98dd440a4c4a1e926f1e7c6bb07066
02/16 18:00:03 Warn: [storage] [directory] [itunes] dispose !!!

Hi @Tim_Clegg ,

I’ve activated diagnostics for your Roon Core, can you please use the app for at least a few minutes and let me know here once you’ve done so? I will check the diagnostics report for any crashes after, thanks!

Hi @noris ,

I’ve just loaded up Roon Core now and it’ll be on for most of the day playing radio on the B&W Wedge as well as music via bluetooth to non-supported speakers.