dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.56k stars 4.54k forks source link

Shared framework .NET 8/.NET 9 applications and services randomly crash in real-world deployments #100452

Open juergen001 opened 3 months ago

juergen001 commented 3 months ago

There have been many issues logged over the years (i.e. see https://github.com/dotnet/runtime/issues/60144 and all the linked issues). Some of those issues are very old and not titled in a way that would draw attention to them, for example, referring to .NET 5 when the issue affects .NET 8 also (and presumably .NET 9, I'm guessing).

The summary is: If Windows Update updates the .NET shared framework, then running .NET applications and services may crash in unpredictable ways sometime afterwards. That means, for example, .NET Windows Services deployed on Windows Server COULD RANDOMLY FAIL at an unrelated time after the update.

Maybe there needs to be some coordination between Windows Updater and the .NET installer?

Or at least an officially recommended workaround, like the one posted on the linked issue?

Can this be given a higher priority?

joeloff commented 3 months ago

@jamshedd as an FYI.

We should at least get the MU/AU/RM interaction documented and probably get a single issue where we can track guidance/solutions once we close on those.