Share via

Applications using .NET Framework consistently CTD with internal CLR error (0x80131506), event viewer blames coreclr.dll

Anonymous
2023-11-22T18:15:03+00:00

Any and all applications that use dotnet, such as paintdotnet.exe, will briefly function before closing with an internal CLR error (0x80131506). The applications' individual error logs cite different and inconsistent paths each crash, which gives me the impression that this is specifically the framework itself. All existing threads involving these errors are made by developers, not users, so I have not been able to find a solution on this forum.

The event viewer consistently logs these crashes in quick succession as follows, using paintdotnet.exe as an example:

1)

Application: paintdotnet.exe

CoreCLR Version: 7.0.1223.47720

.NET Version: 7.0.12

Description: The process was terminated due to an internal error in the .NET Runtime at IP (My IP) with exit code 0x80131506.

2)

Faulting application name: paintdotnet.exe, version: 5.11.8685.3093, time stamp: 0x65274f2e
Faulting module name: coreclr.dll, version: 7.0.1223.47720, time stamp: 0x6514cca2
Exception code: 0xc0000005
Fault offset: 0x00000000002483fd
Faulting process id: 0xa1c
Faulting application start time: 0x01da1d6a3bcfcc10
Faulting application path: C:\Program Files\paint.net\paintdotnet.exe
Faulting module path: C:\Program Files\paint.net\coreclr.dll
Report Id: 408d3fb4-a919-44a7-85f1-425e22a6c40b
Faulting package full name: 
Faulting package-relative application ID: 

3)

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: paintdotnet.exe
P2: 5.11.8685.3093
P3: 65274f2e
P4: coreclr.dll
P5: 7.0.1223.47720
P6: 6514cca2
P7: c0000005
P8: 00000000002483fd
P9: 
P10: 

Solutions I have tried include:

  • Uninstalling and reinstalling the program in question. Reinstallation occasionally fails with the same error shown in event viewer.
  • Uninstalling and reinstalling the respective .NET Frameworks versions. However, as the programs in question have pre-packaged files, this likely didn't do anything.
  • sfc /scannow and the DISM triad (check/scan/restore).
  • Running the .NET Framework repair tool,
  • Uninstalling and reinstalling drivers.
  • Running MSERT and other programs to check for malware.
  • Running ProcessMonitor to pinpoint the exact moment the issue occurs.
    Notably, dotnet.exe calls for HKLM/SOFTWARE/Microsoft/Rpc/SecurityService, vssvc.exe creates a thread, mmc.exe enters HKCU, and dotnet.exe subsequently calls for WerFault.exe to (presumably) begin the error log.
  • Uninstalling and reinstalling windows updates, and preventing the update service from running.
    After uninstalling update KB5031356, the issue appeared to have been resolved; however, now that it has been reinstalled, it produces error 0x800f0905 when I attempt to uninstall it a second time.

I've been troubleshooting this for about a week now, and I'm a bit stumped. I don't want to reset this PC yet, though. Thank you in advance.

EDIT: Attempting to reinstall Windows 10 while keeping all files and apps did not fix the issue.
The event viewer recently portrayed the same error as "System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

EDIT: This issue now has a post on the feedback hub. It can be found at https://aka.ms/AAnryp7
EDIT:
 Well, I solved it - It was an issue with my laptop's charger. I don't know how to set this as solved, and I don't know the how, why, or what even when it comes to the logistics behind this, but I'm just happy it's finally over.

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2023-11-26T02:21:03+00:00

    I've upvoted for you.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-11-24T18:23:14+00:00

    Gotcha - The feedback in question can be found at https://aka.ms/AAnryp7

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-11-24T08:56:10+00:00

    You can share the link to your feedback in your reply, so that others can see it and vote for it. The more people make upvote, the more attention developers will give to the issue.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-11-24T05:31:54+00:00

    Understood, thank you! I've submitted this to the feedback hub. Checking around there showed no results for this error, either, so this one's a real doozy.
    I'll be holding off on the full reinstallation of windows for now - that does seem like a last resort.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2023-11-23T10:07:16+00:00

    Hello, Spidsy

    Welcome to Microsoft Community.

    Error 0x800f0905 typically indicates that the update cannot be uninstalled. In this case, if the issue you are experiencing is specifically related to update KB5031356, you can provide feedback to the developers. They may possibly investigate the cause and potentially fix the issue:

    How to send feedback to Microsoft with the Feedback Hub app - Microsoft Support

    Before submitting feedback, I suggest you do one last thing - reinstall Windows without keeping any files, so as to determine whether there's something wrong with Windows installation or not. Remember to back up your important files in advance:

    How to: Perform a Clean Install or Reinstall of Windows 10 - Microsoft Community

    Of course, you can ignore this if you don't find it necessary.

    Yuhao Li

    Microsoft Community Technical Support

    Was this answer helpful?

    0 comments No comments