Roon Server is still crashing with stack overflows

Further to my Roon Server crashing problems reported here

I can confirm that Roon Server is still stopping and restarting with stack overflow crashes.
It seemed to stop after the 9th October update to 1471
But there have been other updates since (currently 1478) and there have been several more crashes, including two just this morning, when no zones were playing…

I’ve moved your post into the Support forum, where it will be seen by the @support team.

1 Like

Mswsock.dll is a Windows component that is failing here

Bit tech but it looks like your pc / Windows install rather than Roon , do any other apps fail ? There is a proposed fix a bit down in the text

https://answers.microsoft.com/en-us/windows/forum/all/mswsockdll-error/766b659a-3095-46ad-84bd-55b67f566468

No, there are no other apps failing. The only application failures on this PC are from RoonAppliance.exe and they are all stack overflows. I think they started in February.

I also went through all the stuff with dism in that previous thread… it did not find anything to fix.

That microsoft thread with failing mswsock.dll are a different issue caused by a failure in a cumulative update. My Windows install is quite a lot later than that and I don’t have any update failures.

The five crashes since 13/10/2024 are all in mswsock.dll BUT they are all stack overflows so the actual cause could easily be somewhere else… it is unlikely that mswsock itself ate up 4MB of stack space. More likely that something else ate it up and a call to mwsock just triggered the overflow because it legitimately uses a large stack frame.

The crashes I saw before 13/10/2024 occur in all sorts of places… mswsock, coreclr, ntdll, ws2_32, and others.

The last two crashes share a common Fault offset (0x10C19) and the three before that are all 0x10BDF). In crashes prior to 13/11/2024 (nearly 300 crashes since 5th February 2024) I do occasionally see these two offsets but also LOTS of “random” others.

UPDATE: I should add that scandisk found no problems, Windows update troubleshooter found no problems, long memory test found no problems.
This PC is a dedicated i5 NUC running Windows 10 Pro 22H2 with latest updates, and Roon Server but nothing else.

Hi @Andrew_Beveridge,

Sorry to hear your issues reappeared. Please upload a few of the event viewer logs to our log uploader below, and we’ll have our team take another look: File Uploader

Thanks. Uploaded the …evtx logs for 07/10/2024 to 18/11/2024 just a couple minutes ago.

There is a big gap from 10/10/2024 to 02/11/2024.
That’s because it did not crash then.

Hello @Andrew_Beveridge ,

Thanks for the additional event viewer logs. We’ve put in an investigation ticket with the dev team to investigate this further. It may take some time to hear back, thank you in advance for your patience and we’ll let you know if more information is needed.

Just replying to keep this open.

It is not happening here often but it IS still happening.

Last crash here was another stack overflow, 2 days ago (2nd December at 7:11am).
I was not using Roon at the time.

That is the first crash since the last two on 18th November.
There has been an update between those. Currently on 2.0 Build 1484 earlyaccess.
Updated on on 21st November at 00:35

1 Like

Thanks for the additional info @Andrew_Beveridge , I’ve added that to your ticket.

Still crashing. Two more stack overflows

One yesterday, 08-Dec-24 10:56:30
Another today, 09-Dec-24 01:48:00

Nothing was playing at the time. No Client/UI activity either.

Hey @Andrew_Beveridge,

Thanks for following up - your ticket has been submitted for developer review, meaning that this may take some time to be reviewed.

There aren’t any additional details needed at this time, so no need to include any additional information. If any other questions arise after the developers have reviewed the case, we will reach out once more.

Thanks again for your report, and for your patience :+1:

RoonServer (RoonAppliance.exe) is still crashing with stack overflows.
Recent crashes happened on 11th and 14th December.
And it just crashed a few minutes ago, 17th December, whilst a track was playing

Any progress?

Hi @Andrew_Beveridge,

Our development team has a ticket in their queue for further investigation, once we have additional information to share we’ll follow up here promptly. :+1:

Two more stack overflow crashes on 19th December at 21:17 and 22:56

One in mswsock.dll, the other in “unknown” (fault offset just looks like stack garbage).
I have been reporting these since July/August but there is no sign of any progress.

Roon is clearly leaking stack memory somehow.
Are Roon really not able to reproduce it? And not able to add instrumentation (stack probes) to get any closer to the cause?

It is no longer making Roon impossible to use but it is still very annoying/frustrating.

And RoonAppliance just crashed again 23/12/2024 16:51

And Roon Server crashed again 25/12/2024 09:31

Still something very suspicious about the timing of these crashes.
What does Roon do at 15 minute intervals?

Over the holiday break I copied my whole library to a single 2.5in USB3 HDD and plugged that into the NUC and reconfigured Roon Server storage so that it only used this HDD, plus Tidal and Qobuz.

It still crashes out with stack overflows.
The last few crashes were

28-Dec-2024 09:31:00 in IPHLPAPI.DLL
31-Dec-2024 22:48:03 in mswsock nothing was playing
01-Jan-2025 16:42:43 in mswsock.dll
02-Jan-2025 01:38:14 in ws2_32.dll nothing was playing

No new files have been added to the library since this HDD was setup on 27th December.

Hi @Andrew_Beveridge,

Thank you for the updates - our development team has everything they need for now, and still have a ticket in for additional investigation. :+1:

The latest update to RoonServer EarlyAccess (auto-updated just yesterday) crashed with stack overflow again just now immediately when I launched Roon (client) on my desktop PC.

This is still running with the whole (fairly small) library on HDD and no library updates and with audio analysis (background and on-demand) OFF.

Looks just like all the previous stack overflows.
FYI, last several crashes are :-

2 Likes

Hi @Andrew_Beveridge ,

Thanks for the info, we’ve added it to the development ticket.