-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS 17.8 MS testhost.exe crashing on .NET 8 with Internal CLR error. (0x80131506) #4752
Comments
Looks like this is running under code coverage. Could you try disabling that? |
I disabled codeCoverage in the yml task and removed the runsettings file for it, and still no crash after 10 test runs. It looks like this might be the culprit. |
@jakubch1 please have a look here. This is working after CC is disabled. |
@extedosse to find the root cause we need to reproduce issue locally. Could you please provide all binaries needed to run: Extedo.NGP.Connector.MessageQueue.Tests project? You can open issue on: https://developercommunity.visualstudio.com/home and provide those binaries in private way. We can also try to tweak your runsettings to find workaround for this issue. Could you please provide you runsettings and result .coverage file (it should be generated even if your test run failed)? |
Hello, |
Closing here. |
Description
I migrated a solution to .NET 8 from .NET 7 on wednesday and for that installed VS 2022 17.8 on the build system.
The PR build executes a few thousand tests in an Azure Devops pipeline and I noticed that around 30-40% of the time, testrunner.exe crashed.
Thus I opened an issue with a minidump on the runtime repo dotnet/runtime#94770
@jkotas suggested that the crash is due to unmanaged memory corruption and suggested that if it happened after upgrade to VS 17.8 it might be an issue in the respective vstest runner.
To continue with that, I modified my PR Build to manually install a specific test runner via the VisualStudioTestPlatformInstaller task:
The result of that is:
With the result of these tests, I closed the bug in the runtime repo and opened it again here.
Something keeps crashing test runner for my tests (completely unrelated tests), I tried with runInIsolation, without runInParallel and the runner still crashes.
Steps to reproduce
not yet certain
Expected behavior
No crash
Actual behavior
testhost.exe crashes
Diagnostic logs
testhost.exe_8160_1700050648_crashdump.zip
Environment
Windows Server 2016 DataCenter
Visual Studio 2022 17.8 (from tuesday)
The text was updated successfully, but these errors were encountered: