microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.28k stars 6.55k forks source link

No idea what this is #23488

Closed sryu1 closed 1 year ago

sryu1 commented 1 year ago

Microsoft PowerToys version

0.66.0

Installation method

PowerToys auto-update

Running as admin

None

Area(s) with issue?

General

Steps to reproduce

I have no idea how it happens, but I think it started after I updated java.

✔️ Expected Behavior

No errors while using the computer in general.

❌ Actual Behavior

This error happens about every 10 minutes:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (0x8000FFFF (E_UNEXPECTED))
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2ControllerAsync(IntPtr ParentWindow)
   at Microsoft.Web.WebView2.WinForms.WebView2.InitCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)
   at Microsoft.PowerToys.PreviewHandler.Monaco.MonacoPreviewHandlerControl.<>c__DisplayClass14_1`1.<<DoPreview>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

************** Loaded Assemblies **************
System.Private.CoreLib
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.CoreLib.dll
----------------------------------------
PowerToys.MonacoPreviewHandler
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.MonacoPreviewHandler.dll
----------------------------------------
System.Runtime
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.dll
----------------------------------------
WinRT.Runtime
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.1.40881
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/WinRT.Runtime.dll
----------------------------------------
System.Collections
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.dll
----------------------------------------
System.Collections.Concurrent
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Concurrent.dll
----------------------------------------
System.Threading
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.dll
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.Primitives.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56811
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Windows.Forms.dll
----------------------------------------
PowerToys.PreviewHandlerCommon
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.PreviewHandlerCommon.dll
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.Primitives.dll
----------------------------------------
System.Windows.Forms.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56811
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Windows.Forms.Primitives.dll
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.InteropServices.dll
----------------------------------------
System.Collections.Specialized
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Specialized.dll
----------------------------------------
PowerToys.Interop
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Interop.dll
----------------------------------------
System.Runtime.Extensions
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Extensions.dll
----------------------------------------
System.Collections.NonGeneric
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.NonGeneric.dll
----------------------------------------
WindowsBase
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/WindowsBase.dll
----------------------------------------
PowerToys.Common.UI
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Common.UI.dll
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.TraceSource.dll
----------------------------------------
System.Drawing.Common
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.Common.dll
----------------------------------------
Microsoft.Win32.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.Primitives.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
System.Threading.Thread
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.Thread.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56811
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Accessibility.dll
----------------------------------------
Microsoft.Win32.SystemEvents
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.SystemEvents.dll
----------------------------------------
Microsoft.Web.WebView2.Core
    Assembly Version: 1.0.1343.22
    Win32 Version: 1.0.1343.22
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.Core.dll
----------------------------------------
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/mscorlib.dll
----------------------------------------
Microsoft.Web.WebView2.WinForms
    Assembly Version: 1.0.1343.22
    Win32 Version: 1.0.1343.22
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.WinForms.dll
----------------------------------------
System.IO.Abstractions
    Assembly Version: 17.0.0.0
    Win32 Version: 17.2.3.42299
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.IO.Abstractions.dll
----------------------------------------
System.Security.AccessControl
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Security.AccessControl.dll
----------------------------------------
System.Diagnostics.TextWriterTraceListener
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.TextWriterTraceListener.dll
----------------------------------------
System.Text.Encoding.Extensions
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Diagnostics.StackTrace
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Runtime.CompilerServices.Unsafe
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.CompilerServices.Unsafe.dll
----------------------------------------
PowerToys.ManagedCommon
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedCommon.dll
----------------------------------------
ControlzEx
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1.15
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/ControlzEx.dll
----------------------------------------
PresentationCore
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationCore.dll
----------------------------------------
PresentationFramework
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationFramework.dll
----------------------------------------
DirectWriteForwarder
    Assembly Version: 7.0.0.0
    Win32 Version: 7,0,122,56903 @Commit: b824ea7e65424cd8b0121cc7d2dea88a4a2cb4aa
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/DirectWriteForwarder.dll
----------------------------------------
System.Diagnostics.Debug
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.Debug.dll
----------------------------------------
System.Runtime.CompilerServices.VisualC
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.CompilerServices.VisualC.dll
----------------------------------------
Microsoft.Win32.Registry
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.Registry.dll
----------------------------------------
System.Memory
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Memory.dll
----------------------------------------
System.ObjectModel
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ObjectModel.dll
----------------------------------------
System.ComponentModel.TypeConverter
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.ComponentModel
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.dll
----------------------------------------
System.Xaml
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Xaml.dll
----------------------------------------
System.Private.Uri
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.Uri.dll
----------------------------------------
System.Configuration.ConfigurationManager
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Configuration.ConfigurationManager.dll
----------------------------------------
System.Xml.ReaderWriter
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.Xml.dll
----------------------------------------
System.Net.WebClient
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Net.WebClient.dll
----------------------------------------
System.Linq
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Linq.dll
----------------------------------------
PresentationFramework-SystemXml
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationFramework-SystemXml.dll
----------------------------------------
System.Numerics.Vectors
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Numerics.Vectors.dll
----------------------------------------
System.Text.Json
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Json.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.dll
----------------------------------------
PowerToys.Settings.UI.Lib
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Settings.UI.Lib.dll
----------------------------------------
System.Text.Encodings.Web
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Encodings.Web.dll
----------------------------------------
System.Reflection.Emit.Lightweight
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Emit.Lightweight.dll
----------------------------------------
System.Reflection.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Primitives.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Emit.ILGeneration.dll
----------------------------------------
System.Runtime.Intrinsics
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Intrinsics.dll
----------------------------------------
System.Threading.ThreadPool
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.ThreadPool.dll
----------------------------------------
System.Threading.Tasks
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.Tasks.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.dll
----------------------------------------
PowerToys.ManagedTelemetry
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedTelemetry.dll
----------------------------------------
System.Diagnostics.Tracing
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.Tracing.dll
----------------------------------------
System.Runtime.Loader
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Loader.dll
----------------------------------------
System.Reflection.Metadata
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Immutable.dll
----------------------------------------

************** JIT Debugging **************

Other Software

No response

sryu1 commented 1 year ago

image

Aaron-Junker commented 1 year ago

/dup https://github.com/microsoft/PowerToys/issues/23384

Please update your webview2 runtime

ghost commented 1 year ago

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!