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.

Faulting module name: coreclr.dll

See original GitHub issue
  • .NET Core Version: 5.0
  • Windows version: Screen Shot 2021-11-01 at 21 04 01
  • Does the bug reproduce also in WPF for .NET Framework 4.8?: Don’t know
  • Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc…)? No

Problem description:

Launching a published/released WPF application with “Produce single file” causes a crash on startup.

Actual behavior:

Event Viewer reports:

Faulting application name: actmx.exe, version: 0.0.1.0, time stamp: 0x6115a20d
Faulting module name: coreclr.dll, version: 5.0.1021.41214, time stamp: 0x611590cd
Exception code: 0xc0000005
Fault offset: 0x0019ee4a
Faulting process id: 0x580
Faulting application start time: 0x01d7cf5a9efd4a11
Faulting application path: \\Mac\Projects\MyApp\pub\actmx.exe
Faulting module path: \\Mac\Projects\MyApp\pub\coreclr.dll
Report Id: b67f5181-fa57-4305-9a9b-15d4d97e4c8c

Expected behavior:

Launching application just fine as it works without “Produce single file” enabled in the publishing profile.

Minimal repro: Enable “Produce single file” in the publishing profile of a new WPF application with .net 5.0 Windows target. Architecture target is x86, but the exe will be executed on a x64 machine.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
iam-Robocommented, Aug 11, 2022

Good day,

I am facing the same issue on my Windows server 2019 😦

This is the complete report

Faulting application name: w3wp.exe, version: 10.0.17763.1, time stamp: 0xa7ccada2 Faulting module name: coreclr.dll, version: 5.0.1722.21314, time stamp: 0x62576ff1 Exception code: 0xc0000094 Fault offset: 0x0009f871 Faulting process id: 0x58f8 Faulting application start time: 0x01d8ad568825e529 Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe Faulting module path: C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\5.0.17\coreclr.dll Report Id: db320efa-5c8f-47dd-9f20-4de963cf1a77 Faulting package full name: Faulting package-relative application ID:

1reaction
singhashish-wpfcommented, Jul 5, 2022

@martin-braun as .NET 5 is out of support, I tried to repro this on .NET6 however it didn’t reproduce on my system. I made sure of below items.

  • Release
  • x86
  • run on x64
  • single file
Read more comments on GitHub >

github_iconTop Results From Across the Web

Faulting module name: coreclr.dll #7758 - dotnet winforms
Issue description. My application that is supposed to run 24/7 regularly crashes. This is what I see in event viewer: Faulting application name...
Read more >
Wpf app crashing - Faulting module name coreclr.dll version
I have the same issue with .NET 5.0 and I filed a report, since I believe this is related. For now, I simply...
Read more >
Details of a .NET core 3.1 application crash
My .net core 3.1 application is running in development environment. ... Faulting module name: coreclr.dll, version: 4.700.20.51601, ...
Read more >
coreclr.dll faulting - Troubleshooting & Bug Reports
Windows 10 Store version sometimes crashes when editing or loading .tga files. According to event viewer coreclr.dll faults.
Read more >
Faulting module name coreclr.dll in uipath - Robot
I am facing below issue in coreclr.dll file/module , faulting module name coreclr.dll in UiPath. Can you please help me out it is...
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