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

:loudspeaker: See Staff Note :loudspeaker:


Roon Core Machine

Windows 11, Intel 9900k, 16gb ram

Networking Gear & Setup Details

No networking gear, just playing locally on windows

Connected Audio Devices

Schiit Bifrost 2 USB Dac in exclusive mode

Number of Tracks in Library

0, did fresh install, just streaming from tidal

Description of Issue

After playing song for a bit, seems random, might last half a song, might last a few songs, roon just dissapears with crash to desktop and no popup message.
Log indicates the following at the end:

02/16 19:23:03 Trace: [Bifrost 2] [Lossless 35.5x, 24/44 MQA TIDAL FLAC => 24/88] [100% buf] [PLAYING @ 1:25/3:14] bad guy - Billie Eilish
02/16 19:23:04 Info: 
Local Time:            02/16/2022 19:23:04 +08:00
Device Serial Number:  EB5B8B7B-F0AB-4F72-82E8-BF7972AC2704
User Id:               38458849-3f32-47d7-91a8-54849e9bb3bb
Roon Version:       1.8 (build 903) stable
OS Version:            Windows 11

Application Domain:    Roon.exe
Assembly Codebase:     file:///C:/Users/matty/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 158 Stepping 12 3600 MHz (64-bit)
CPU0 Num Cores:        Physical: 8 Logical: 16

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

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

   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 4520

02/16 19:23:04 Debug: FTMSI-B closed file for ti/C482698E; open files:0
02/16 19:23:04 Debug: FTMSI-B ti/C482698E download status: AllBlocksDownloaded accessTimeout:False openFiles:0 prev:(AllBlocksDownloaded,False,1)
02/16 19:23:04 Trace: FTMSI-B 1 FileCache ti/C482698E dwStatus:AllBlocksDownloaded files:0 accessTimeOut:False priorities: ('zoneplayer:1':13) --> bw limit:0kbps
02/16 19:23:04 Trace: FTMSI-B 2 FileCache ti/B1A2FC0B dwStatus:AllBlocksDownloaded files:1 accessTimeOut:True priorities: ('zoneplayer:1':14) --> bw limit:0kbps
02/16 19:23:04 Debug: FTMSI-B closed file for ti/B1A2FC0B; open files:0
02/16 19:23:04 Debug: FTMSI-B ti/B1A2FC0B download status: AllBlocksDownloaded accessTimeout:True openFiles:0 prev:(AllBlocksDownloaded,True,1)
02/16 19:23:04 Trace: FTMSI-B 1 FileCache ti/C482698E dwStatus:AllBlocksDownloaded files:0 accessTimeOut:False priorities: ('zoneplayer:1':13) --> bw limit:0kbps
02/16 19:23:04 Trace: FTMSI-B 2 FileCache ti/B1A2FC0B dwStatus:AllBlocksDownloaded files:0 accessTimeOut:True priorities: ('zoneplayer:1':14) --> bw limit:0kbps
02/16 19:23:04 Debug: [tidal/storage] dispose
2 Likes

Hi @Matthew_Ford ,

Thank you for the report! We are aware of this issue and are investigating a path towards a solution. Can you please let us know - was the Roon Remote idle when the crash occurred or did you click on any specific buttons/tabs when the crash occured?

1 Like

Roon Core Machine

Nucleus+ Rev B

Networking Gear & Setup Details

Home network:
ASUS router

Connected Audio Devices

Win11 laptop via built in headphone output
Mola Mola Tambaqui connected via Ethernet
Mola Mola Tambaqui connected via USB
Macbook Pro 13" with built in speakers
Macbook Pro 16" M1 with built in speakers

Number of Tracks in Library

<10000 on device currently.

Description of Issue

The Roon application crashes/closes but music is still playing. I have had an issue very similar to what I am seeing now but that was happening when I would try adding albums to my library. This is now happening for almost anything I am doing. I can be just clicking on an album, trying to add a song to queue, and basically anything in the application and it just closes but the music is still playing.

Are there instructions on setting a debug log output for windows and mac that I can set so when I am running Roon I get some useful output? Is there something I can add in the roon.exe.config or any arguments for the roon.exe to make them verbose. I know the log location for Windows and I’m sure I can get the same for MacOS with a few seconds of effort.

This has not stopped since my prior ticket but was very intermittent and just a small inconvenience, since I updated to 903 it is literally doing this constantly. In the span of 30 minutes while using Roon on Win11 with output to Tambaqui I have had it crash 18-20 times.

[User@Win11 ]$ cat VERSION; cat Roon.exe.config
100800903
1.8 (build 903) stable
stable

<configuration>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <probing privatePath="100800903"/>
        </assemblyBinding>
    </runtime>
</configuration>

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 !!!!