I have this weird problem that almost every .NET application crashes, including .NET Core 3.0. (2.2 runs fine)
Noticed this first with Visual Studio Installer and Visual Studio. ServiceHub is almost constantly crashing. Several error logs are being reported in the event viewer about .NET Runtime.
In some cases, there is no problem and the application runs without error or crash. But most of the time, it crashes. Other applications run just fine and don’t show this behaviour.
I’ve collected a lot of logs and uploaded them into a folder here. Almost every error is a AccessViolationException.
Most of the times, the faulting module is clr.dll, as can be seen here:
Faulting application name: Microsoft.ServiceHub.Controller.exe, version: 188.8.131.52930, time stamp: 0x9af4007e Faulting module name: clr.dll, version: 4.8.4018.0, teitstempel: 0x5d4a67fe Exception code: 0xc0000005 Fault offset: 0x0000000000001fce Faulting process id: 0x2c38 Faulting application start time: 0x01d57aca1289ebe9 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Controller\Microsoft.ServiceHub.Controller.exe Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll Report Id: e4529198-7beb-4ebe-a8c7-30cf8ba83917
But in other occasions, the module is just empty or a other file, such as KERNELBASE.dll.
I tested my memory with the windows memory diagnostic tool and memtest86 (the standard free test). No errors were found. Checked the timings of the RAM in my BIOS and everything is correct. The XMP 2.0 profile is active.
I also tested this on a Windows 10 VM by installing a clean build on VMware Workstation and installing nothing else than Firefox and Visual Studio Installer, but the problem also seems to occur there.
.NET Core 3.0 adapts the same behaviour. In most of the cases, I can’t create a project for example. It crashes randomly, whereas the .NET Core 2.2 SDK runs just fine.
Going into safe mode and trying to run these applications there does not fix it. Tried it with the default safe mode and the safe mode with network drivers.
This problem is not only persistent on Windows, but also on Ubuntu. I tried creating and running a .NET core 3.0 projet on a Ubuntu 19.09 live usb and in approximately 20 runs, the application crashed like 3-5 times with the same error.
I’m currently on a fresh install of Windows 10 (1903) on a i9 9900K and the latest updates are installed. Every driver is up to date, including the BIOS.
My graphics card is the RTX 2080 and Windows 10 is installed on a 970 EVO Pro.
User contributions licensed under CC BY-SA 3.0