question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: The process "corerun.exe" not found.

See original GitHub issue

Quite a few failures of tests end up with the error above.

Frequency:

  • System.Data.OleDb.Tests - quite a few PRs (mixed with other errors)
  • I think I have seen it on another test suite, but don’t remember - I hope you can query logs better than I

Example of Console log:

C:\h\w\A2A20979\w\B1FA098B\e>"C:\h\w\A2A20979\p\dotnet.exe" exec --runtimeconfig System.Data.OleDb.Tests.runtimeconfig.json --depsfile System.Data.OleDb.Tests.deps.json xunit.console.dll System.Data.OleDb.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
Failed to load the dll from [C:\h\w\A2A20979\p\shared\Microsoft.NETCore.App\8.0.0\coreclr.dll], HRESULT: 0x8007045A
----- end Sat 09/10/2022  0:04:55.39 ----- exit code -1073740791 ----------------------------------------------------------
2022-09-10T00:04:55.984Z	INFO   	run.py	run(48)	main	Beginning reading of test results.
2022-09-10T00:04:55.984Z	INFO   	run.py	__init__(42)	read_results	Searching 'C:\h\w\A2A20979\w\B1FA098B\e' for test results files
2022-09-10T00:04:55.984Z	INFO   	run.py	__init__(42)	read_results	Searching 'C:\h\w\A2A20979\w\B1FA098B\uploads' for test results files
2022-09-10T00:04:55.984Z	WARNING	run.py	__init__(55)	read_results	No results file found in any of the following formats: xunit, junit, trx
2022-09-10T00:04:55.984Z	INFO   	run.py	packing_test_reporter(30)	report_results	Packing 0 test reports to 'C:\h\w\A2A20979\w\B1FA098B\e\__test_report.json'
2022-09-10T00:04:55.984Z	INFO   	run.py	packing_test_reporter(33)	report_results	Packed 1434 bytes
ERROR: The process "corerun.exe" not found.
read file: C:\h\w\A2A20979\p\debug-dump-template.md
writing output file: C:\h\w\A2A20979\w\B1FA098B\uploads\how-to-debug-dump.md
done writing debug dump information
['System.Data.OleDb.Tests' END OF WORK ITEM LOG: Command exited with -1073740791]

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jkoritzinskycommented, Sep 12, 2022

Yes, this is an issue with getting AddressSanitizer online in dotnet/runtime. I’m working on resolving these issues with the MSVC team until we get to a point that things are green. In the meantime, I know some legs (in particular the libraries test legs) are on the floor.

0reactions
MattGalcommented, Nov 29, 2022

@karelz yes, I will close this then. Checking out that exit code in recent times:

let jobs = 
WorkItems
| where Finished > ago (20d)
| where FriendlyName == "System.Data.OleDb.Tests"
| where ExitCode == "-1073740791"
| project JobId;
Jobs | where JobId  in (jobs)

we see 100% of this specific failure are Jeremy’s PR still.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CoreConsole.exe not working but CoreRun.exe does #4376
Hi,. I'm trying to run a console application, using the instructions provided in "Get .NET Core on Windows - Raw Experience".
Read more >
Unable to start process dotnet.exe
I was having the same problem. I look for dotnet.exe in that directory and it exists but debugger cannot execute it, so i...
Read more >
Fix: You must install .NET Core error - YouTube
Getting the "To run this application, you must install .NET Core." error ? Well it's a super simple fix that you can fix...
Read more >
Cannot debug net6.0-macos Apps - Developer Community
This is a regression. I can no longer debug net6.0-macos apps. It also fails for net6.0-maccatalyst apps. When I hit debug, the following ......
Read more >
dotnet run command - .NET CLI
The dotnet run command provides a convenient option to run your application from the source code.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found