chocolatey / ChocolateyGUI

A delicious GUI for Chocolatey
https://docs.chocolatey.org/en-us/chocolatey-gui/
Apache License 2.0
1.61k stars 248 forks source link

COMException HRESULT 0x80072EE4 when trying to view __some__ package's details #1040

Closed jmbreuer closed 3 months ago

jmbreuer commented 3 months ago

Checklist

What You Are Seeing?

For some packages, I can't display the package details. Instead, an error dialog comes up:

"Klasse nicht registriert" is COM's "class not registered", but I can't easily follow that up since I don't know which COM class it's complaining about.

What is Expected?

I'd like to be able to view all package's details in ChocolateyGUI.

How Did You Get This To Happen?

  1. Switch to the chocolatey repo (as opposed to e.g. 'my PC') list
  2. Search for/select an affected package, see below under "Additional Context"
  3. Click on the package with the right mouse button
  4. Choose 'Details' from the context menu
  5. Observe a big error dialog
  6. Confirm the error dialog
  7. ChocolateyGUI shows a small, undecorated, modal black window in the upper left corner
  8. Closing this window (from the task bar) closes all of ChocolateyGUI

System Details

Installed Packages

7zip.install 23.1.0
adobe-connect 2023.9.482
adobereader 2023.8.20555
AdoptOpenJDK11openj9jre 11.0.11.900
ausweisapp2 2.1.0
chocolatey 2.2.2
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolateygui 2.1.0
chocolatey-windowsupdate.extension 1.0.5
dotnetfx 4.8.0.20220524
FirefoxESR 115.8.0
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
KB3118401 1.0.5
microsoft-teams-new-bootstrapper 1.0.2407104
nextcloud-client 3.12.1
notepadplusplus.install 8.6.4
powershell-core 7.4.1
putty.install 0.80.0
thunderbird 115.8.1
vcredist140 14.38.33135

Output Log

(How) does this apply to ChocolateyGUI?

Additional Context

Which packages work correctly, and which break, appears to be stable to me. Here's some examples of both:

Packages (always) working for me:

Packages (always) breaking for me:

corbob commented 3 months ago

@jmbreuer thank you so much for this excellent issue. I have attempted to reproduce this issue on a Windows 10 VM, and I am currently unable to reproduce it. Which at this point would lead me to believe this is an environment issue. Looking at the error message, I'm making a guess that it's German. I set my VM to German (Germany), and still could not reproduce the error. I would be more than happy to test it with a different German, as well as possibly attempt to install a straight German Windows (assumiung I can find an ISO, I'm only typically installing English) instead of installing German language after the fact.

image

On the topic of output logs, the Chocolatey CLI logs can sometimes pertain to Chocolatey GUI if the issue is with running a Chocolatey CLI command (for instance, if an install is failing). In this case, I was initially leaning towards agreeing, but it's possible that Chocolatey GUI is attempting the Chocolatey CLI info command, and so they may be pertinent. If it makes it easier, we would only need the Chocolatey CLI logs from when you're reproducing the issue. Each log message starts with the date and time of the message, so you can take log messages just from the time that you're reproducing the issue.

Would you mind capturing the Chocolatey CLI logs during reproduction of the issue and editting your original message to include them (or a link to a gist if they're long). Could you also include the Chocolatey GUI logs (they're stored in C:\ProgramData\ChocolateyGUI\Logs if I recall correctly)? And one last bit of "logs" to possibly grab: Windows Event Viewer has a section Windows Logs > Application. When .Net applications throw unhandled exceptions, it is often logged in here as an Error with a Source of .Net (if I'm remembering correctly). The details of the message will typically include more details than the message box we're displaying here. Could you check for the existence of one of these entries and include it as well.

corbob commented 3 months ago

Actually... I was trying to parse that error message, and I picked up a few things in there. I have now formulated a theory I'd like to verify:

First, for the packages you know are causing issues, are their icons being shown?

And second, regardless of if the icons are shown, could you check a few other packages for me (I've grabbed 15 that I believe will all fail... I realize it may be cumbersome to check them all, but it's better than the 450+ I started with 😂).

If you'd rather not check all 18 packages, could you at least report back the results of say 5 of the first 15, and definitely the last 3 where I suspect possibly no issues.

jmbreuer commented 3 months ago

Thank you for looking into this!

I'll check this first, and then reply to your earlier message.

First, for the packages you know are causing issues, are their icons being shown?

Yes, their icons show normally in the Chocolatey GUI tile view; Adobe Connect for example:

And second, regardless of if the icons are shown, could you check a few other packages for me (I've grabbed 15 that I believe will all fail... I realize it may be cumbersome to check them all, but it's better than the 450+ I started with 😂).

If you'd rather not check all 18 packages, could you at least report back the results of say 5 of the first 15, and definitely the last 3 where I suspect possibly no issues.

Those for now, I'll have a look at answering your other comments first and then go back to checking through the list.

corbob commented 3 months ago

Those for now, I'll have a look at answering your other comments first and then go back to checking through the list.

Don't worry about going back and checking the other packages, I think the two give enough of a clue about what's going on.

What happens if you load the page for the failing packages in a web browser? (Adobe connect should be here: https://community.chocolatey.org/packages/adobe-connect). In particular, there should be an image in the description of the package, does it load?

Does the image at this url load for you? https://cdn.jsdelivr.net/gh/chtof/chocolatey-packages/automatic/adobe-connect/screenshot.png

Basically of the ones I asked about, they're all maintained by the same maintainer. The ones that break all include a screenshot off of their GitHub. The few that didnts break don't have images. The interesting thing is that the icons are hosted on the same domains.

jmbreuer commented 3 months ago

@jmbreuer thank you so much for this excellent issue. I have attempted to reproduce this issue on a Windows 10 VM, and I am currently unable to reproduce it. Which at this point would lead me to believe this is an environment issue. Looking at the error message, I'm making a guess that it's German. I set my VM to German (Germany), and still could not reproduce the error. I would be more than happy to test it with a different German, as well as possibly attempt to install a straight German Windows (assumiung I can find an ISO, I'm only typically installing English) instead of installing German language after the fact.

"Mine"/the one this issue pertains to is German (Germany) as well.

My gut would tell me it might have more to do with other aspects of the environment here than the language - it's fairly "nailed shut" for mere mortals with GPOs. I'm running ChocolateyGUI using an AD domain administrator account (that also has full administrative rights on the client). This administrative account is configured more for convenience than paranoia, I'm not aware of deliberately crippled functionality. This is the first real crash/indication of a missing (COM) component I'm experiencing in a loong while on that installation.

On the topic of output logs, the Chocolatey CLI logs can sometimes pertain to Chocolatey GUI if the issue is with running a Chocolatey CLI command (for instance, if an install is failing). In this case, I was initially leaning towards agreeing, but it's possible that Chocolatey GUI is attempting the Chocolatey CLI info command, and so they may be pertinent. If it makes it easier, we would only need the Chocolatey CLI logs from when you're reproducing the issue. Each log message starts with the date and time of the message, so you can take log messages just from the time that you're reproducing the issue.

Would you mind capturing the Chocolatey CLI logs during reproduction of the issue and editting your original message to include them (or a link to a gist if they're long). Could you also include the Chocolatey GUI logs (they're stored in C:\ProgramData\ChocolateyGUI\Logs if I recall correctly)? And one last bit of "logs" to possibly grab: Windows Event Viewer has a section Windows Logs > Application. When .Net applications throw unhandled exceptions, it is often logged in here as an Error with a Source of .Net (if I'm remembering correctly). The details of the message will typically include more details than the message box we're displaying here. Could you check for the existence of one of these entries and include it as well.

Sure, I just didn't know where to find useful logs - thank you for the directions!

ChocolateyGui.20240325.log (I'm only grabbing non-duplicate sections for now):

2024-03-25 12:44:45.901 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='connect'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0
2024-03-25 12:44:46.664 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='connect'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0 761ms
2024-03-25 12:44:46.792 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='connect'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0
2024-03-25 12:44:47.471 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='connect'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0 677ms
2024-03-25 12:44:47.834 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='connect'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2024-03-25 12:44:48.315 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='connect'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 478ms
2024-03-25 12:44:51.883 +01:00 [Warning] Something went wrong with: "https://www.displaylink.com/img/logo.png".
System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: Die Komponente wurde nicht gefunden. (Exception from HRESULT: 0x88982F50)
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at Splat.PlatformBitmapLoader.withInit(BitmapImage source, Action`1 block)
   at Splat.PlatformBitmapLoader.<>c__DisplayClass0_0.<Load>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<LoadImage>d__11.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 177
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<GetImage>d__4.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Controls.InternetImage.<SetImage>d__7.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Controls\InternetImage.xaml.cs:line 64
2024-03-25 12:45:12.229 +01:00 [Warning] Something went wrong with: "https://www.displaylink.com/img/logo.png".
System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: Die Komponente wurde nicht gefunden. (Exception from HRESULT: 0x88982F50)
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at Splat.PlatformBitmapLoader.withInit(BitmapImage source, Action`1 block)
   at Splat.PlatformBitmapLoader.<>c__DisplayClass0_0.<Load>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<LoadImage>d__11.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 177
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<GetImage>d__4.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Controls.InternetImage.<SetImage>d__7.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Controls\InternetImage.xaml.cs:line 64
2024-03-25 12:45:15.159 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0
2024-03-25 12:45:15.835 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0 674ms
2024-03-25 12:45:15.952 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0
2024-03-25 12:45:16.645 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0 691ms
2024-03-25 12:45:17.032 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2024-03-25 12:45:17.569 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 534ms
2024-03-25 12:45:18.749 +01:00 [Warning] Something is wrong with: "https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@84a3a84e256daa3255c4a896eefbf8f5589fb842/icons/InkScape.svg".
System.ArgumentNullException: Value cannot be null.
Parameter name: s
   at System.IO.StringReader..ctor(String s)
   at Svg.ExCSS.StylesheetReader..ctor(String styleText) in D:\a\1\s\externals\SVG\Source\External\ExCSS\StylesheetReader.cs:line 26
   at Svg.ExCSS.Parser.Parse(String css) in D:\a\1\s\externals\SVG\Source\External\ExCSS\Parser.cs:line 56
   at Svg.SvgDocument.Open[T](XmlReader reader) in D:\a\1\s\externals\SVG\Source\SvgDocument.cs:line 460
   at Svg.Skia.SKSvg.Load(Stream stream) in D:\a\1\s\src\Svg.Skia\SKSvg.cs:line 407
   at ChocolateyGui.Common.Windows.Services.PackageIconService.ExtractImageFromStream(String url, Size desiredSize, Stream inputStream, Stream imageStream) in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 81
2024-03-25 12:45:18.839 +01:00 [Warning] Something went wrong with: "https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@84a3a84e256daa3255c4a896eefbf8f5589fb842/icons/InkScape.svg".
System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: Die Komponente wurde nicht gefunden. (Exception from HRESULT: 0x88982F50)
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at Splat.PlatformBitmapLoader.withInit(BitmapImage source, Action`1 block)
   at Splat.PlatformBitmapLoader.<>c__DisplayClass0_0.<Load>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<LoadImage>d__11.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 177
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<GetImage>d__4.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Controls.InternetImage.<SetImage>d__7.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Controls\InternetImage.xaml.cs:line 64
2024-03-25 12:45:19.363 +01:00 [Warning] Something went wrong with: "https://sites.google.com/site/cakirbey/_/rsrc/1267560342501/skr-custom-size-200-150.jpg".
System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: Die Komponente wurde nicht gefunden. (Exception from HRESULT: 0x88982F50)
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at Splat.PlatformBitmapLoader.withInit(BitmapImage source, Action`1 block)
   at Splat.PlatformBitmapLoader.<>c__DisplayClass0_0.<Load>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<LoadImage>d__11.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 177
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<GetImage>d__4.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Controls.InternetImage.<SetImage>d__7.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Controls\InternetImage.xaml.cs:line 64
2024-03-25 12:45:33.417 +01:00 [Information] [NuGet]   CACHE https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&searchTerm='connect'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0
2024-03-25 12:45:33.426 +01:00 [Information] [NuGet]   CACHE https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&searchTerm='connect'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0
2024-03-25 12:45:33.838 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='connect'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2024-03-25 12:45:33.880 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='connect'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 39ms
2024-03-25 12:45:34.939 +01:00 [Warning] Something went wrong with: "https://www.displaylink.com/img/logo.png".
System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: Die Komponente wurde nicht gefunden. (Exception from HRESULT: 0x88982F50)
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at Splat.PlatformBitmapLoader.withInit(BitmapImage source, Action`1 block)
   at Splat.PlatformBitmapLoader.<>c__DisplayClass0_0.<Load>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<LoadImage>d__11.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 177
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<GetImage>d__4.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Controls.InternetImage.<SetImage>d__7.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Controls\InternetImage.xaml.cs:line 64
2024-03-25 12:45:52.298 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe connect'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0
2024-03-25 12:45:52.814 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe connect'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0 514ms
2024-03-25 12:45:52.822 +01:00 [Information] [NuGet]   GET http://community.chocolatey.org/api/v2/Search?searchTerm='adobe connect'&targetFramework=''&includePrerelease=false&$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&$top=30&$skiptoken='25559','adobe-connect'
2024-03-25 12:45:53.618 +01:00 [Information] [NuGet]   OK http://community.chocolatey.org/api/v2/Search?searchTerm='adobe connect'&targetFramework=''&includePrerelease=false&$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&$top=30&$skiptoken='25559','adobe-connect' 795ms
2024-03-25 12:45:53.658 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe connect'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2024-03-25 12:45:54.104 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe connect'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 446ms
2024-03-25 12:46:00.093 +01:00 [Information] [NuGet]   CACHE https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&searchTerm='adobe'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0
2024-03-25 12:46:00.107 +01:00 [Information] [NuGet]   CACHE https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&searchTerm='adobe'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0
2024-03-25 12:46:00.409 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2024-03-25 12:46:00.451 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='adobe'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 39ms
2024-03-25 12:46:01.428 +01:00 [Warning] Something went wrong with: "https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@84a3a84e256daa3255c4a896eefbf8f5589fb842/icons/InkScape.svg".
System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: Die Komponente wurde nicht gefunden. (Exception from HRESULT: 0x88982F50)
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at Splat.PlatformBitmapLoader.withInit(BitmapImage source, Action`1 block)
   at Splat.PlatformBitmapLoader.<>c__DisplayClass0_0.<Load>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<LoadImage>d__11.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 177
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<GetImage>d__4.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Controls.InternetImage.<SetImage>d__7.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Controls\InternetImage.xaml.cs:line 64
2024-03-25 12:46:01.695 +01:00 [Warning] Something went wrong with: "https://sites.google.com/site/cakirbey/_/rsrc/1267560342501/skr-custom-size-200-150.jpg".
System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: Die Komponente wurde nicht gefunden. (Exception from HRESULT: 0x88982F50)
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at Splat.PlatformBitmapLoader.withInit(BitmapImage source, Action`1 block)
   at Splat.PlatformBitmapLoader.<>c__DisplayClass0_0.<Load>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<LoadImage>d__11.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 177
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<GetImage>d__4.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Controls.InternetImage.<SetImage>d__7.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Controls\InternetImage.xaml.cs:line 64
2024-03-25 12:46:16.081 +01:00 [Fatal] Unhandled Exception
[...]
2024-03-25 12:53:42.799 +01:00 [Information] [NuGet]   CACHE https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&searchTerm='automouseclick'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0
2024-03-25 12:53:42.815 +01:00 [Information] [NuGet]   CACHE https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&searchTerm='automouseclick'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0
2024-03-25 12:53:42.820 +01:00 [Information] [NuGet]   CACHE http://community.chocolatey.org/api/v2/Search?searchTerm='automouseclick'&targetFramework=''&includePrerelease=false&$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&$top=20&$skiptoken='94','autorunner'
2024-03-25 12:53:43.103 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='automouseclick'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2024-03-25 12:53:43.151 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='automouseclick'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 44ms
2024-03-25 12:53:44.204 +01:00 [Warning] Something went wrong with: "https://github.com/xatupal/AutoTypeSplitter/blob/master/AutoTypeSplitter/Resources/Splitter.png".
System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: Die Komponente wurde nicht gefunden. (Exception from HRESULT: 0x88982F50)
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at Splat.PlatformBitmapLoader.withInit(BitmapImage source, Action`1 block)
   at Splat.PlatformBitmapLoader.<>c__DisplayClass0_0.<Load>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<LoadImage>d__11.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 177
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Services.PackageIconService.<GetImage>d__4.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Services\PackageIconService.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Common.Windows.Controls.InternetImage.<SetImage>d__7.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Controls\InternetImage.xaml.cs:line 64
[...]
2024-03-25 12:55:23.670 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='vuescan'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0
2024-03-25 12:55:24.135 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='vuescan'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0 463ms
2024-03-25 12:55:24.168 +01:00 [Information] [NuGet]   GET http://community.chocolatey.org/api/v2/Search?searchTerm='vuescan'&targetFramework=''&includePrerelease=false&$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&$top=30&$skiptoken='19649','vuescan'
2024-03-25 12:55:24.708 +01:00 [Information] [NuGet]   OK http://community.chocolatey.org/api/v2/Search?searchTerm='vuescan'&targetFramework=''&includePrerelease=false&$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&$top=30&$skiptoken='19649','vuescan' 538ms
2024-03-25 12:55:24.753 +01:00 [Information] [NuGet]   GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='vuescan'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2024-03-25 12:55:25.223 +01:00 [Information] [NuGet]   OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='vuescan'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 467ms
2024-03-25 12:55:42.647 +01:00 [Fatal] Unhandled Exception

The crashes seem to only correlate with the [Fatal] Unhandled Exception log lines; the stack traces etc that make it into the log rather seem to correlate with icons not loading or such.

There are some entries in the Windows / Application Event Log, it looks like two per crash and identical between the various crashes:

.NET Runtime Error Event 1026

Application: ChocolateyGui.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32, IntPtr)
   at MS.Win32.WinInet.get_InternetCacheFolder()
   at System.Windows.Media.Imaging.BitmapDownload.BeginDownload(System.Windows.Media.Imaging.BitmapDecoder, System.Uri, System.Net.Cache.RequestCachePolicy, System.IO.Stream)
   at System.Windows.Media.Imaging.LateBoundBitmapDecoder..ctor(System.Uri, System.Uri, System.IO.Stream, System.Windows.Media.Imaging.BitmapCreateOptions, System.Windows.Media.Imaging.BitmapCacheOption, System.Net.Cache.RequestCachePolicy)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(System.Uri, System.Uri, System.IO.Stream, System.Windows.Media.Imaging.BitmapCreateOptions, System.Windows.Media.Imaging.BitmapCacheOption, System.Net.Cache.RequestCachePolicy, Boolean)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at Markdig.Renderers.Wpf.Inlines.LinkInlineRenderer.Write(Markdig.Renderers.WpfRenderer, Markdig.Syntax.Inlines.LinkInline)
   at Markdig.Renderers.RendererBase.Write(Markdig.Syntax.MarkdownObject)
   at Markdig.Renderers.RendererBase.WriteChildren(Markdig.Syntax.Inlines.ContainerInline)
   at Markdig.Renderers.RendererBase.Write(Markdig.Syntax.MarkdownObject)
   at Markdig.Renderers.WpfRenderer.WriteLeafInline(Markdig.Syntax.LeafBlock)
   at Markdig.Renderers.Wpf.ParagraphRenderer.Write(Markdig.Renderers.WpfRenderer, Markdig.Syntax.ParagraphBlock)
   at Markdig.Renderers.RendererBase.Write(Markdig.Syntax.MarkdownObject)
   at Markdig.Renderers.RendererBase.WriteChildren(Markdig.Syntax.ContainerBlock)
   at Markdig.Renderers.RendererBase.Write(Markdig.Syntax.MarkdownObject)
   at Markdig.Renderers.WpfRenderer.Render(Markdig.Syntax.MarkdownObject)
   at Markdig.Wpf.Markdown.ToFlowDocument(System.String, Markdig.MarkdownPipeline, Markdig.Renderers.WpfRenderer)
   at Markdig.Wpf.MarkdownViewer.RefreshDocument()
   at Markdig.Wpf.MarkdownViewer.MarkdownChanged(System.Object, System.Windows.DependencyPropertyChangedEventArgs)
   at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
   at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
   at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
   at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType)
   at System.Windows.DependencyObject.InvalidateProperty(System.Windows.DependencyProperty, Boolean)
   at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean)
   at System.Windows.Data.BindingExpression.TransferValue(System.Object, Boolean)
   at System.Windows.Data.BindingExpression.Activate(System.Object)
   at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt)
   at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean)
   at MS.Internal.Data.DataBindEngine+Task.Run(Boolean)
   at MS.Internal.Data.DataBindEngine.Run(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at ChocolateyGui.App.Main(System.String[])

Application Error Event 1000

Name der fehlerhaften Anwendung: ChocolateyGui.exe, Version: 2.1.0.0, Zeitstempel: 0x649d32be
Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 10.0.19041.3996, Zeitstempel: 0xb756c9ff
Ausnahmecode: 0xe0434352
Fehleroffset: 0x000000000002cf19
ID des fehlerhaften Prozesses: 0x2f1c
Startzeit der fehlerhaften Anwendung: 0x01da7eaac7e5f0cb
Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Chocolatey GUI\ChocolateyGui.exe
Pfad des fehlerhaften Moduls: C:\Windows\System32\KERNELBASE.dll
Berichtskennung: b62a70ca-c57e-4c4f-b543-8000276a2a51
Vollständiger Name des fehlerhaften Pakets: 
Anwendungs-ID, die relativ zum fehlerhaften Paket ist: 

(yes, those last two items don't show any value)

There also is a ChocolateyGuiCli.20240320.log, but that only has a couple of lines apparently to do with a (semi-automated on my end) cache purge operation; nothing that would match this UI problem / be from the same day, even.

Capturing more logs - how do I do that? I don't readily find options to turn on more logging/debugging/verbose in ChocolateyGUI; and since it's the GUI calling the CLI (not me), I wouldn't know how to pass the additional arguments suggested by the bug template. Also, the ChocolateyGUI start menu entry doesn't have a 'Properties' context menu entry or similar, I don't see a way to "extract" a command line from that entry that I could call with additional arguments. I tried running chocolateygui --debug --verbose from a PowerShell prompt, but there's no further info in the log or in that console when I provoke the crash.

The directory mentioned in the submission guidelines, $env:ChocolateyInstall\log\ (resolving to C:\ProgramData\chocolatey\log\) does not exist on my system.

jmbreuer commented 3 months ago

What happens if you load the page for the failing packages in a web browser? (Adobe connect should be here: https://community.chocolatey.org/packages/adobe-connect). In particular, there should be an image in the description of the package, does it load?

Yes, it looks like it does (in both Firefox and MS Edge on the affected machine):

Does the image at this url load for you? https://cdn.jsdelivr.net/gh/chtof/chocolatey-packages/automatic/adobe-connect/screenshot.png

Yes it does, it's the same screenshot embedded in the details section above (right?).

Basically of the ones I asked about, they're all maintained by the same maintainer. The ones that break all include a screenshot off of their GitHub. The few that didnts break don't have images. The interesting thing is that the icons are hosted on the same domains.

Hrm. Poking at this beast from the other side, as it were, I found this:

https://learnwpf.com/post/2008/05/11/IE8-Beta-1-breaks-Image-Download-in-WPF-applications.aspx

It's waay old, but very close to what I'm seeing, interestingly. It seems to indicate/imply that WPF uses MSIE components to load HTTP content. The client machine (image) in question is not supposed to expose IE to the users, forcing them towards MSEdge or FF (depending on their own preference, basically). Maybe something around there is "too effective" in turning IE off... I'll dig along those lines a bit further, though at this point it is a bit of an exploration in the dark.

Trying to open "Internet Explorer" from the Start menu will in fact open MSEdge; I do believe that's behavior as intended by Microsoft (and nothing to do with our local IE 'discouragements').

First interesting observation: that MS.Win32.WinInet.get_InternetCacheFolder() probably wants to point at %LocalAppData%\Microsoft\Windows\Temporary Internet Files\ - which comes up as "access denied" for me?!?

Even more weirdly, it's a junction that wants to point at %LocalAppData%\Microsoft\Windows\InetCache\, which is accessible perfectly fine.

I've found this and added the registry key suggested there (it did not exist in my profile), but alas, no change.

Eventually, I also figured out how to reset permissions on the %LocalAppData%\Microsoft\Windows\Temporary Internet Files\ junction, so I can access it normally from both command line and Windows Explorer, but still no change in ChocolateyGUI.

I'll send this comment off for now, and further dig after building something small and simple that calls MS.Win32.WinInet.get_InternetCacheFolder() and see where that gets me.

corbob commented 3 months ago

One thing to check might be: does the same thing happen when you launch Chocolatey GUI as your normal user? Chocolatey GUI is configured for highest available UAC context, so it will run without elevation IF a user is not an administrator.

Seeing a number of exceptions in the log about being unable to get various image files, but it seems the only one that's not actually being handled is in the description.

One other thing you might be able to verify is if the issue occurs when loading the details for the adobe-connect package when looking at the "This PC" source.

If you're able to share the settings you use to limit IE for the users, I could try it in my virtual machine and see if it gives any reproduction assistance.

jmbreuer commented 3 months ago

One thing to check might be: does the same thing happen when you launch Chocolatey GUI as your normal user? Chocolatey GUI is configured for highest available UAC context, so it will run without elevation IF a user is not an administrator.

Yes, it breaks exactly the same.

One other thing you might be able to verify is if the issue occurs when loading the details for the adobe-connect package when looking at the "This PC" source.

Yes, it breaks exactly the same.

If you're able to share the settings you use to limit IE for the users, I could try it in my virtual machine and see if it gives any reproduction assistance.

If only I knew which all of the millions of GPOs etc floating around in this environment would pertain to just that... 🙄 I'll have a dig through the GPResults of this machine... (That Microsoft chose to half-assedly translate all the GPO names and descriptions won't help, either) ... ... I don't see any smoking guns there at first glance (any more, most such policies became obsolete with Edge becoming the officially preferred default by MS), and are no longer active/applied in the domain.

jmbreuer commented 3 months ago

Following up on this, I found some smoke that I'm now tracing back to the gun.

It's blowing from the direction of "compliant non-persistence of WebCacheV01.dat et al".

I'll get back with (hopefully) real results on this soon.

jmbreuer commented 3 months ago

Ookay, guess I found it.

On our client image, for compliance reasons WebCacheV01.dat is turned off quite drastically, since it appears to keep a history of visited web addresses that's not readily clear-able by the user:

https://www.sevenforums.com/browsers-mail/311407-ie10-uses-webcachev01-dat-vs-index-dat-files-how-clear-delete.html

https://github.com/logpresso/community/blob/main/contents/006_How_to_analyze_Internet_Explorer_Logs.md

This is a privacy/compliance nightmare waiting to happen, which is why we decided to disable both the CacheTask and the {3EB3C877-1F16-487C-9050-104DBCD66683} AppID (as described here).

Chocolatey GUI is the only software we've found/identified so far that seems to have an issue with this. Since Chocolatey GUI is only used for administration, not in day-to-day use, we can work with enabling and disabling the AppID Registry Key (by renaming it) as appropriate in our imaging scripts.

Therefore, I'm closing this issue - it appears to be a corner case and I have a workaround for my specific scenario.

jmbreuer commented 3 months ago

Another piece of information for other folks who might run into this: Whether WinINetCache (the COM Service the above AppID refers to) is working can be easily seen by opening inetcpl.cpl and looking at the cache settings: When a cache directory path and a non-zero size are shown, WinINetCache is active and working (as required by Chocolatey GUI). When the path shows blank and the size stays zero (even after e.g. entering a non-zero size, saving, and re-opening the dialog), WinINetCache to the best of my understanding is "sucessfully disabled".