UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

[BUG] 3.0.2 - Fauly coreclr.dll

Open fernandog opened this issue 11 months ago • 24 comments

Please confirm these before moving forward

  • [X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • [X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • [X] I have checked the FAQ section for solutions
  • [X] This issue is about a bug (if it is not, please use the correct template)

Describe your issue

Where I can get more logs other than Event Viewer from Windows 10?

BTW I also have WingetUI beta 3.0.1 on Windows 11 and it runs fine.

Faulting application name: WingetUI.exe, version: 1.0.0.0, timestamp: 0x65a80000 Faulting module name: coreclr.dll, version: 8.0.324.11423, timestamp: 0x65cd500d Exception code: 0xc0000005 Fault offset: 0x000000000018c5e4 Faulting process ID: 0x12e8 Failed application start time: 0x01da7bea38e7d43a Faulting application path: C:\Program Files\WingetUI\WingetUI.exe Failing module path: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.3\coreclr.dll Report ID: e49d38ce-e374-41d1-aaf6-5e152c7dce18 Full name of the failed package: Application ID relative to the failed package:

Steps to reproduce the issue

No response

WingetUI Log

Can't get logs

Package Managers Logs

n/a

Relevant information

No response

Screenshots and videos

No response

fernandog avatar Mar 22 '24 00:03 fernandog

Can confirm, same problem on windows 11, had to downgrade to 2.2.0

vankos avatar Mar 22 '24 05:03 vankos

Can confirm, same problem on windows 11, had to downgrade to 2.2.0

Mine works on Windows 11, but it's an Insider release.

fernandog avatar Mar 22 '24 12:03 fernandog

Please try installing https://dotnet.microsoft.com/es-es/download/dotnet/thank-you/runtime-desktop-8.0.2-windows-x64-installer

marticliment avatar Mar 22 '24 14:03 marticliment

Please advise if different bug/issue ... Windows 10, with .NET 8.0.3, updated yesterday. WingetUI does NOT launch in any profile but admin. I'm in my user profiles and I've tried to launch WingetUI with administrative privileges ... nothing happens. Nothing in task bar, no program, no nothing. If I launch under the admin account, no issues. I have not had an opportunity to test on Windows 11 as that is a new set up with only admin account.

Meche697 avatar Mar 22 '24 21:03 Meche697

Please try uninstalling .NET 8.0.3 and installing .NET 8.0.2 using the link provided in my last comment

marticliment avatar Mar 22 '24 21:03 marticliment

Please try uninstalling .NET 8.0.3 and installing .NET 8.0.2 using the link provided in my last comment

Worked with 8.0.2

fernandog avatar Mar 22 '24 22:03 fernandog

Please try uninstalling .NET 8.0.3 and installing .NET 8.0.2 using the link provided in my last comment

Will try, thank you. Funny thing is WingetUI updated .NET under admin the other day :).

Meche697 avatar Mar 22 '24 23:03 Meche697

@marticliment thanks, it helped

vankos avatar Mar 23 '24 01:03 vankos

Please try uninstalling .NET 8.0.3 and installing .NET 8.0.2 using the link provided in my last comment

Will try, thank you. Funny thing is WingetUI updated .NET under admin the other day :).

block the update of .NET 8.0.2 to avoid this issue

fernandog avatar Mar 24 '24 02:03 fernandog

What's the easiest way to block .NET 8.0.3? I have uninstalled 8.0.3 a couple of times now and it keeps coming back?

13regent avatar Mar 25 '24 02:03 13regent

I suspect .NET gets updated via Windows Update, so I guess you could disable "Update other Microsoft Products through Windows Update" from Windows Settings, and ignore updates for .NETCore8 on WingetUI

marticliment avatar Mar 25 '24 08:03 marticliment

Btw, next WingetUI Version will install NET 8.0.2 instead of 8.0.3. I will therefore close this issue

marticliment avatar Mar 25 '24 08:03 marticliment

Hello, everyone,

WingetUI 3.0.2 has been published. It fixes

  • Crashes with .NET Sdk 8.0.3 (no launch at all)
  • Crashes with .NET Sdk 8.0.4 (Cannot locate resource from 'ms-appx:///Microsoft.UI.Xaml/Themes/themeresources.xaml)
  • Crashes with the App Sdk (This app requires whe Windows App runtime) when it was already installed
  • Crashes when elevating WingetUI from non-admin users

WingetUI 3.0.2 can be downloaded directly from here. If the crashes persist, please reply here and I will reopen the issue.

marticliment avatar Apr 11 '24 15:04 marticliment

@marticliment sorry about late response, but issue still persists with 3.02:

mmc_XwqF1ac1Oc

image

fernandog avatar Apr 25 '24 21:04 fernandog

Which .NET do you have installed?

marticliment avatar Apr 25 '24 21:04 marticliment

It's on the first screenshot. Here are the full details:

image

fernandog avatar Apr 25 '24 22:04 fernandog

Please try uninstalling and installing .NEt 8.0.2

marticliment avatar Apr 25 '24 22:04 marticliment

issue persists. Weird that in Event viewer it shows coreclr.dll, version: 8.0.324.11423

and in Winget folder, it has the coreclr.dll. Which explains why I had installed 8.0.4 and the first Event Viewer screenshot was showing 8.0.3

image

image

fernandog avatar Apr 25 '24 23:04 fernandog

Doesn't matter the version of .net desktop runtime I have installed. I loads the one from the Winget folder.

I replaced coreclr.dll inside Winget folder with 8.02, restarted and issue persisted.

image

Then replaced coreclr.dll with 8.0.4, restarted and still no luck.

image

fernandog avatar Apr 25 '24 23:04 fernandog

any idea what's going on? I can't understand this event viewer crash logs

fernandog avatar Apr 26 '24 14:04 fernandog

There is something wrong with .NET. coreclr.dll is one of the main components of the .NET runtime, and it is crashing for some reason. I can't really do anything but test another version of NET and cross my fingers for it to work

marticliment avatar Apr 26 '24 14:04 marticliment

What is weird is that it used to work with 8.0.2 and replacing the file inside Wigetui folder with the 8.02 doesn't work.

fernandog avatar Apr 26 '24 15:04 fernandog

Any recent updates? MS is changing a lot of items with the upcoming 24H2 that they may be experimenting with the the feature updates... Just a thought.

Meche697 avatar Apr 26 '24 16:04 Meche697

What is weird is that it used to work with 8.0.2 and replacing the file inside Wigetui folder with the 8.02 doesn't work.

I don't think it is possible to hot-swap a dll without recompiling a self-contained .NET app, so this might be the cause of the test you did failing

marticliment avatar Apr 26 '24 16:04 marticliment

tested new 3.1.0 alpha0, worked. thanks!

fernandog avatar May 19 '24 18:05 fernandog