Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explorer text preview crashes #27779

Closed
Charvelx04 opened this issue Aug 2, 2023 · 2 comments
Closed

Explorer text preview crashes #27779

Charvelx04 opened this issue Aug 2, 2023 · 2 comments
Labels
Issue-Bug Something isn't working Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@Charvelx04
Copy link

Microsoft PowerToys version

0.72.0

Installation method

Microsoft Store

Running as admin

Yes

Area(s) with issue?

File Explorer: Preview Pane

Steps to reproduce

Just click on a file to highlight.

✔️ Expected Behavior

Expect to see contents of common txt files in Preview pane.

❌ Actual Behavior

Causes an Unhandled Exception error (.Net)

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 (0x80010108): The object invoked has disconnected from its clients. (0x80010108 (RPC_E_DISCONNECTED))
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__DisplayClass13_0`1.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at InvokeStub_SendOrPostCallback.Invoke(Object, Object, IntPtr*)
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.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Private.CoreLib.dll

PowerToys.MonacoPreviewHandler
Assembly Version: 0.72.0.0
Win32 Version: 0.72.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/PowerToys.MonacoPreviewHandler.dll

System.Runtime
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Runtime.dll

WinRT.Runtime
Assembly Version: 2.0.0.0
Win32 Version: 2.0.3.42921
CodeBase: file:///C:/Program%20Files/PowerToys/WinRT.Runtime.dll

System.Collections
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Collections.dll

System.Collections.Concurrent
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Collections.Concurrent.dll

System.Threading
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Threading.dll

System.Drawing.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Drawing.Primitives.dll

PowerToys.ManagedCommon
Assembly Version: 0.72.0.0
Win32 Version: 0.72.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/PowerToys.ManagedCommon.dll

System.Windows.Forms
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32106
CodeBase: file:///C:/Program%20Files/PowerToys/System.Windows.Forms.dll

PowerToys.PreviewHandlerCommon
Assembly Version: 0.72.0.0
Win32 Version: 0.72.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/PowerToys.PreviewHandlerCommon.dll

System.ComponentModel.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.ComponentModel.Primitives.dll

System.Windows.Forms.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32106
CodeBase: file:///C:/Program%20Files/PowerToys/System.Windows.Forms.Primitives.dll

System.Runtime.InteropServices
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Runtime.InteropServices.dll

System.Collections.Specialized
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Collections.Specialized.dll

PowerToys.Interop
Assembly Version: 0.72.0.0
Win32 Version: 0.72.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/PowerToys.Interop.dll

System.Runtime.Extensions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Runtime.Extensions.dll

System.Collections.NonGeneric
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Collections.NonGeneric.dll

WindowsBase
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32109
CodeBase: file:///C:/Program%20Files/PowerToys/WindowsBase.dll

PowerToys.Common.UI
Assembly Version: 0.72.0.0
Win32 Version: 0.72.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/PowerToys.Common.UI.dll

System.IO.Abstractions
Assembly Version: 17.0.0.0
Win32 Version: 17.2.3.42299
CodeBase: file:///C:/Program%20Files/PowerToys/System.IO.Abstractions.dll

System.Security.AccessControl
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Security.AccessControl.dll

System.Diagnostics.TraceSource
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Diagnostics.TraceSource.dll

System.Diagnostics.TextWriterTraceListener
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Diagnostics.TextWriterTraceListener.dll

System.Diagnostics.FileVersionInfo
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Diagnostics.FileVersionInfo.dll

System.Drawing.Common
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Drawing.Common.dll

Microsoft.Win32.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/Microsoft.Win32.Primitives.dll

System.ComponentModel.EventBasedAsync
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.ComponentModel.EventBasedAsync.dll

System.Threading.Thread
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Threading.Thread.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 7.0.923.32106
CodeBase: file:///C:/Program%20Files/PowerToys/Accessibility.dll

Microsoft.Win32.SystemEvents
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/Microsoft.Win32.SystemEvents.dll

System.Diagnostics.StackTrace
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Diagnostics.StackTrace.dll

System.Text.Encoding.Extensions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Text.Encoding.Extensions.dll

ControlzEx
Assembly Version: 6.0.0.0
Win32 Version: 6.0.0.283
CodeBase: file:///C:/Program%20Files/PowerToys/ControlzEx.dll

PresentationCore
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32109
CodeBase: file:///C:/Program%20Files/PowerToys/PresentationCore.dll

PresentationFramework
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32109
CodeBase: file:///C:/Program%20Files/PowerToys/PresentationFramework.dll

DirectWriteForwarder
Assembly Version: 7.0.0.0
Win32 Version: 7,0,923,32109 @Commit: d41bd7da4139331ef02657deb7944df43b8a181c
CodeBase: file:///C:/Program%20Files/PowerToys/DirectWriteForwarder.dll

System.Diagnostics.Debug
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Diagnostics.Debug.dll

System.Runtime.CompilerServices.VisualC
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Runtime.CompilerServices.VisualC.dll

System.ObjectModel
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.ObjectModel.dll

Microsoft.Win32.Registry
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/Microsoft.Win32.Registry.dll

System.Memory
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Memory.dll

System.ComponentModel.TypeConverter
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.ComponentModel.TypeConverter.dll

System.ComponentModel
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.ComponentModel.dll

System.Xaml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32109
CodeBase: file:///C:/Program%20Files/PowerToys/System.Xaml.dll

System.Private.Uri
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Private.Uri.dll

System.Configuration.ConfigurationManager
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Configuration.ConfigurationManager.dll

System.Xml.ReaderWriter
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Xml.ReaderWriter.dll

System.Private.Xml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Private.Xml.dll

System.Net.WebClient
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Net.WebClient.dll

System.Linq
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Linq.dll

PresentationFramework-SystemXml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32109
CodeBase: file:///C:/Program%20Files/PowerToys/PresentationFramework-SystemXml.dll

Microsoft.Web.WebView2.Core
Assembly Version: 1.0.1722.45
Win32 Version: 1.0.1722.45
CodeBase: file:///C:/Program%20Files/PowerToys/Microsoft.Web.WebView2.Core.dll

mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/mscorlib.dll

Microsoft.Web.WebView2.WinForms
Assembly Version: 1.0.1722.45
Win32 Version: 1.0.1722.45
CodeBase: file:///C:/Program%20Files/PowerToys/Microsoft.Web.WebView2.WinForms.dll

System.Runtime.CompilerServices.Unsafe
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Runtime.CompilerServices.Unsafe.dll

System.Numerics.Vectors
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Numerics.Vectors.dll

System.Drawing
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32106
CodeBase: file:///C:/Program%20Files/PowerToys/System.Drawing.dll

PowerToys.Settings.UI.Lib
Assembly Version: 0.72.0.0
Win32 Version: 0.72.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/PowerToys.Settings.UI.Lib.dll

System.Security.Principal.Windows
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Security.Principal.Windows.dll

System.Security.Claims
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Security.Claims.dll

System.Text.Json
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Text.Json.dll

System.Text.Encodings.Web
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Text.Encodings.Web.dll

System.Reflection.Emit.Lightweight
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Reflection.Emit.Lightweight.dll

System.Reflection.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Reflection.Primitives.dll

System.Reflection.Emit.ILGeneration
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Reflection.Emit.ILGeneration.dll

System.Runtime.Intrinsics
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Runtime.Intrinsics.dll

PowerToys.FilePreviewCommon
Assembly Version: 0.72.0.0
Win32 Version: 0.72.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/PowerToys.FilePreviewCommon.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.dll

System.Threading.ThreadPool
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Threading.ThreadPool.dll

System.Threading.Tasks
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Threading.Tasks.dll

System.Runtime.Loader
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Runtime.Loader.dll

System.Reflection.Metadata
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Reflection.Metadata.dll

System.Collections.Immutable
Assembly Version: 7.0.0.0
Win32 Version: 7.0.923.32018
CodeBase: file:///C:/Program%20Files/PowerToys/System.Collections.Immutable.dll

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

Other Software

No response

@Charvelx04 Charvelx04 added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Aug 2, 2023
@jaimecbernardo
Copy link
Collaborator

/dup #16567

@microsoft-github-policy-service
Copy link
Contributor

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!

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants