PowerToys: Object reference not set to an instance of an object - Preview Handler

Microsoft PowerToys version

0.55.1

Running as admin

  • Yes

Area(s) with issue?

Developer file preview

Steps to reproduce

In a directory containing .css .html and several very big .js files, select all of them while the preview pane is open.

✔️ Expected Behavior

No preview (because multiple files are selected), no errors

❌ Actual Behavior

Preview shows filesize warning (likely legitimate), explorer loses focus to a .net runtime error dialog.

PowerToysReport_2022-02-04-14-23-29.zip

grafik

Dialog contents: grafik

Informationen über das Aufrufen von JIT-Debuggen anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

  ************** Ausnahmetext **************
  System.NullReferenceException: Object reference not set to an instance of an object.
     at Microsoft.PowerToys.PreviewHandler.Monaco.MonacoPreviewHandlerControl.<>c__DisplayClass6_1`1.<<DoPreview>b__3>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)
  
  
  ************** Geladene Assemblys **************
  System.Private.CoreLib
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Private.CoreLib.dll.
  ----------------------------------------
  PowerToys.MonacoPreviewHandler
      Assembly-Version: 0.55.1.0.
      Win32-Version: 0.55.1.0.
      CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.MonacoPreviewHandler.dll.
  ----------------------------------------
  PowerToys.PreviewHandlerCommon
      Assembly-Version: 0.55.1.0.
      Win32-Version: 0.55.1.0.
      CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.PreviewHandlerCommon.dll.
  ----------------------------------------
  System.Runtime
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Runtime.dll.
  ----------------------------------------
  System.Drawing.Primitives
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Drawing.Primitives.dll.
  ----------------------------------------
  System.ComponentModel.TypeConverter
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.ComponentModel.TypeConverter.dll.
  ----------------------------------------
  System.Runtime.InteropServices
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Runtime.InteropServices.dll.
  ----------------------------------------
  System.Windows.Forms
      Assembly-Version: 5.0.13.0.
      Win32-Version: 5.0.1321.56701.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/System.Windows.Forms.dll.
  ----------------------------------------
  System.ComponentModel.Primitives
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.ComponentModel.Primitives.dll.
  ----------------------------------------
  System.Windows.Forms.Primitives
      Assembly-Version: 5.0.13.0.
      Win32-Version: 5.0.1321.56701.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/System.Windows.Forms.Primitives.dll.
  ----------------------------------------
  System.Collections.Specialized
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Collections.Specialized.dll.
  ----------------------------------------
  System.Drawing.Common
      Assembly-Version: 5.0.0.2.
      Win32-Version: 5.0.1221.52207.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/System.Drawing.Common.dll.
  ----------------------------------------
  System.Diagnostics.TraceSource
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Diagnostics.TraceSource.dll.
  ----------------------------------------
  System.Collections
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Collections.dll.
  ----------------------------------------
  Microsoft.Win32.Primitives
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/Microsoft.Win32.Primitives.dll.
  ----------------------------------------
  System.Threading
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Threading.dll.
  ----------------------------------------
  System.ComponentModel.EventBasedAsync
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.ComponentModel.EventBasedAsync.dll.
  ----------------------------------------
  System.Threading.Thread
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Threading.Thread.dll.
  ----------------------------------------
  Accessibility
      Assembly-Version: 4.0.0.0.
      Win32-Version: 5.0.1321.56701.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/Accessibility.dll.
  ----------------------------------------
  Microsoft.Win32.SystemEvents
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.20.51904.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/Microsoft.Win32.SystemEvents.dll.
  ----------------------------------------
  System.Runtime.Extensions
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Runtime.Extensions.dll.
  ----------------------------------------
  System.Buffers
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Buffers.dll.
  ----------------------------------------
  System.Collections.NonGeneric
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Collections.NonGeneric.dll.
  ----------------------------------------
  Microsoft.Web.WebView2.WinForms
      Assembly-Version: 1.0.961.33.
      Win32-Version: 1.0.961.33.
      CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.WinForms.dll.
  ----------------------------------------
  Microsoft.Web.WebView2.Core
      Assembly-Version: 1.0.961.33.
      Win32-Version: 1.0.961.33.
      CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.Core.dll.
  ----------------------------------------
  mscorlib
      Assembly-Version: 4.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/mscorlib.dll.
  ----------------------------------------
  System.IO.FileSystem
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.IO.FileSystem.dll.
  ----------------------------------------
  PowerToys.Common.UI
      Assembly-Version: 0.55.1.0.
      Win32-Version: 0.55.1.0.
      CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Common.UI.dll.
  ----------------------------------------
  PowerToys.ManagedCommon
      Assembly-Version: 0.55.1.0.
      Win32-Version: 0.55.1.0.
      CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedCommon.dll.
  ----------------------------------------
  netstandard
      Assembly-Version: 2.1.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/netstandard.dll.
  ----------------------------------------
  ControlzEx
      Assembly-Version: 4.0.0.0.
      Win32-Version: 4.4.0.50.
      CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/ControlzEx.dll.
  ----------------------------------------
  PresentationCore
      Assembly-Version: 5.0.13.0.
      Win32-Version: 5.0.1321.56702.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/PresentationCore.dll.
  ----------------------------------------
  PresentationFramework
      Assembly-Version: 5.0.13.0.
      Win32-Version: 5.0.1321.56702.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/PresentationFramework.dll.
  ----------------------------------------
  WindowsBase
      Assembly-Version: 5.0.13.0.
      Win32-Version: 5.0.1321.56702.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/WindowsBase.dll.
  ----------------------------------------
  DirectWriteForwarder
      Assembly-Version: 5.0.13.0.
      Win32-Version: 5,0,1321,56702 @Commit: 9d281216b007da60fe4b7c317156f0ed90fa5283.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/DirectWriteForwarder.dll.
  ----------------------------------------
  System.Runtime.CompilerServices.VisualC
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Runtime.CompilerServices.VisualC.dll.
  ----------------------------------------
  System.Diagnostics.Debug
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Diagnostics.Debug.dll.
  ----------------------------------------
  Microsoft.Win32.Registry
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/Microsoft.Win32.Registry.dll.
  ----------------------------------------
  System.ObjectModel
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.ObjectModel.dll.
  ----------------------------------------
  System.ComponentModel
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.ComponentModel.dll.
  ----------------------------------------
  System.Xaml
      Assembly-Version: 5.0.13.0.
      Win32-Version: 5.0.1321.56702.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/System.Xaml.dll.
  ----------------------------------------
  System.Private.Uri
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Private.Uri.dll.
  ----------------------------------------
  System.Configuration.ConfigurationManager
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.20.51904.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/System.Configuration.ConfigurationManager.dll.
  ----------------------------------------
  System.Diagnostics.Process
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Diagnostics.Process.dll.
  ----------------------------------------
  System.Xml.ReaderWriter
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Xml.ReaderWriter.dll.
  ----------------------------------------
  System.Private.Xml
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Private.Xml.dll.
  ----------------------------------------
  System.Net.WebClient
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Net.WebClient.dll.
  ----------------------------------------
  System.Net.Primitives
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Net.Primitives.dll.
  ----------------------------------------
  System.Net.Requests
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Net.Requests.dll.
  ----------------------------------------
  System.Net.WebHeaderCollection
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Net.WebHeaderCollection.dll.
  ----------------------------------------
  System.Memory
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Memory.dll.
  ----------------------------------------
  System.Security.Cryptography.Algorithms
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Security.Cryptography.Algorithms.dll.
  ----------------------------------------
  System.Text.Encoding.Extensions
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Text.Encoding.Extensions.dll.
  ----------------------------------------
  System.Linq
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Linq.dll.
  ----------------------------------------
  PresentationFramework-SystemXml
      Assembly-Version: 5.0.13.0.
      Win32-Version: 5.0.1321.56702.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/PresentationFramework-SystemXml.dll.
  ----------------------------------------
  System.Runtime.InteropServices.RuntimeInformation
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Runtime.InteropServices.RuntimeInformation.dll.
  ----------------------------------------
  System
      Assembly-Version: 4.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.dll.
  ----------------------------------------
  System.Threading.ThreadPool
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Threading.ThreadPool.dll.
  ----------------------------------------
  System.Text.Json
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Text.Json.dll.
  ----------------------------------------
  System.Numerics.Vectors
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Numerics.Vectors.dll.
  ----------------------------------------
  System.Runtime.CompilerServices.Unsafe
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Runtime.CompilerServices.Unsafe.dll.
  ----------------------------------------
  System.Threading.Tasks
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Threading.Tasks.dll.
  ----------------------------------------
  System.Drawing
      Assembly-Version: 5.0.13.0.
      Win32-Version: 5.0.1321.56701.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/System.Drawing.dll.
  ----------------------------------------
  System.Windows.Forms.resources
      Assembly-Version: 5.0.13.0.
      Win32-Version: 5.0.1321.56701.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.13/de/System.Windows.Forms.resources.dll.
  ----------------------------------------
  System.Diagnostics.StackTrace
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Diagnostics.StackTrace.dll.
  ----------------------------------------
  System.Reflection.Metadata
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Reflection.Metadata.dll.
  ----------------------------------------
  System.Collections.Immutable
      Assembly-Version: 5.0.0.0.
      Win32-Version: 5.0.1321.56516.
      CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.13/System.Collections.Immutable.dll.
  ----------------------------------------
  
  ************** JIT-Debuggen **************
  

Other Software

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 29 (8 by maintainers)

Most upvoted comments

This is fixed with 0.561. Please head over to https://aka.ms/installpowertoys

Ok. I can reproduce this within VM by selecting different files fast (clicking around from file to file), PT v0.55.2

Edit: Looks like machine performance plays a role for reproducing

I think this was my scenario, i ran into the issue when rapidly clicking between a couple files and quickly opening one. My bet is weirdness with the preview pane lifecycle.

Ok. I can reproduce this within VM by selecting different files fast (clicking around from file to file), PT v0.55.2

Edit: Looks like machine performance plays a role for reproducing

@Hofferic / @oguh43 / @PromanSEW / @888iee / @GetzzY Few questions:

  • How often does this occur? (Daily basis, etc…)
  • What files are causing this? (Please attach the file or email it to us if possible. If there is multiple files, please zip it first. )
  • Can you please send a screen recording of when this occurred?

Thank you in advance.

  1. It happens when I quickly drag-select multiple-files in a “File Open” dialog (notably when I do “Add \ Existing item…” to a filter in VS2022)
  2. Not sure.
  3. Heh, now that I tried to reproduce it, couldn’t 😦

EDIT:

finally, here’s the stack trace (no gif), same thing: selecting multiple files in the aforementioned “file open” dialog (be warned, it’s pretty long)

************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.PowerToys.PreviewHandler.Monaco.MonacoPreviewHandlerControl.<>c__DisplayClass6_1`1.<<DoPreview>b__3>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)

************** Loaded Assemblies **************

very long, click
System.Private.CoreLib
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Private.CoreLib.dll
----------------------------------------
PowerToys.MonacoPreviewHandler
    Assembly Version: 0.55.2.0
    Win32 Version: 0.55.2.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.MonacoPreviewHandler.dll
----------------------------------------
PowerToys.PreviewHandlerCommon
    Assembly Version: 0.55.2.0
    Win32 Version: 0.55.2.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.PreviewHandlerCommon.dll
----------------------------------------
System.Runtime
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Runtime.dll
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Drawing.Primitives.dll
----------------------------------------
System.ComponentModel.TypeConverter
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Runtime.InteropServices.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 5.0.14.0
    Win32 Version: 5.0.1422.6104
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/System.Windows.Forms.dll
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.ComponentModel.Primitives.dll
----------------------------------------
System.Windows.Forms.Primitives
    Assembly Version: 5.0.14.0
    Win32 Version: 5.0.1422.6104
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/System.Windows.Forms.Primitives.dll
----------------------------------------
System.Collections.Specialized
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Collections.Specialized.dll
----------------------------------------
System.Drawing.Common
    Assembly Version: 5.0.0.2
    Win32 Version: 5.0.1221.52207
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/System.Drawing.Common.dll
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Diagnostics.TraceSource.dll
----------------------------------------
System.Collections
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Collections.dll
----------------------------------------
Microsoft.Win32.Primitives
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/Microsoft.Win32.Primitives.dll
----------------------------------------
System.Threading
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Threading.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
System.Threading.Thread
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Threading.Thread.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 5.0.1422.6104
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/Accessibility.dll
----------------------------------------
Microsoft.Win32.SystemEvents
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.20.51904
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.Runtime.Extensions
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Runtime.Extensions.dll
----------------------------------------
System.Buffers
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Buffers.dll
----------------------------------------
System.Collections.NonGeneric
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Collections.NonGeneric.dll
----------------------------------------
Microsoft.Web.WebView2.WinForms
    Assembly Version: 1.0.961.33
    Win32 Version: 1.0.961.33
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.WinForms.dll
----------------------------------------
Microsoft.Web.WebView2.Core
    Assembly Version: 1.0.961.33
    Win32 Version: 1.0.961.33
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.Core.dll
----------------------------------------
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/mscorlib.dll
----------------------------------------
System.IO.FileSystem
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.IO.FileSystem.dll
----------------------------------------
PowerToys.Common.UI
    Assembly Version: 0.55.2.0
    Win32 Version: 0.55.2.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Common.UI.dll
----------------------------------------
PowerToys.ManagedCommon
    Assembly Version: 0.55.2.0
    Win32 Version: 0.55.2.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedCommon.dll
----------------------------------------
netstandard
    Assembly Version: 2.1.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/netstandard.dll
----------------------------------------
ControlzEx
    Assembly Version: 4.0.0.0
    Win32 Version: 4.4.0.50
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/ControlzEx.dll
----------------------------------------
PresentationCore
    Assembly Version: 5.0.14.0
    Win32 Version: 5.0.1422.6108
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/PresentationCore.dll
----------------------------------------
PresentationFramework
    Assembly Version: 5.0.14.0
    Win32 Version: 5.0.1422.6108
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/PresentationFramework.dll
----------------------------------------
WindowsBase
    Assembly Version: 5.0.14.0
    Win32 Version: 5.0.1422.6108
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/WindowsBase.dll
----------------------------------------
DirectWriteForwarder
    Assembly Version: 5.0.14.0
    Win32 Version: 5,0,1422,6108 @Commit: ef5fac198de3a26a967f16f4a0fbfed73736b2e7
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/DirectWriteForwarder.dll
----------------------------------------
System.Runtime.CompilerServices.VisualC
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Runtime.CompilerServices.VisualC.dll
----------------------------------------
System.Diagnostics.Debug
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Diagnostics.Debug.dll
----------------------------------------
Microsoft.Win32.Registry
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/Microsoft.Win32.Registry.dll
----------------------------------------
System.ObjectModel
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.ObjectModel.dll
----------------------------------------
System.ComponentModel
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.ComponentModel.dll
----------------------------------------
System.Xaml
    Assembly Version: 5.0.14.0
    Win32 Version: 5.0.1422.6108
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/System.Xaml.dll
----------------------------------------
System.Private.Uri
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Private.Uri.dll
----------------------------------------
System.Configuration.ConfigurationManager
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.20.51904
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/System.Configuration.ConfigurationManager.dll
----------------------------------------
System.Diagnostics.Process
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Diagnostics.Process.dll
----------------------------------------
System.Xml.ReaderWriter
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Private.Xml.dll
----------------------------------------
System.Net.WebClient
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Net.WebClient.dll
----------------------------------------
System.Net.Primitives
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Net.Primitives.dll
----------------------------------------
System.Net.Requests
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Net.Requests.dll
----------------------------------------
System.Net.WebHeaderCollection
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Net.WebHeaderCollection.dll
----------------------------------------
System.Memory
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Memory.dll
----------------------------------------
System.Security.Cryptography.Algorithms
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Security.Cryptography.Algorithms.dll
----------------------------------------
System.Text.Encoding.Extensions
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Linq
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Linq.dll
----------------------------------------
PresentationFramework-SystemXml
    Assembly Version: 5.0.14.0
    Win32 Version: 5.0.1422.6108
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/PresentationFramework-SystemXml.dll
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.dll
----------------------------------------
System.Threading.ThreadPool
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Threading.ThreadPool.dll
----------------------------------------
System.Text.Json
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Text.Json.dll
----------------------------------------
System.Numerics.Vectors
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Numerics.Vectors.dll
----------------------------------------
System.Runtime.CompilerServices.Unsafe
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Runtime.CompilerServices.Unsafe.dll
----------------------------------------
System.Threading.Tasks
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Threading.Tasks.dll
----------------------------------------
System.Drawing
    Assembly Version: 5.0.14.0
    Win32 Version: 5.0.1422.6104
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.14/System.Drawing.dll
----------------------------------------
System.Diagnostics.StackTrace
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1422.5710
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.14/System.Collections.Immutable.dll
----------------------------------------

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

Sorry, no JIT info, i have it turned off, as it was getting annoying trying to debug everything in my system 😦
(the intel management ui, or intel DPC++/C++ compiler’s installer, the windows configuration designer, the SDK previews or simply the windows store crashing, or anything throwing/logging an exception every 10 minutes 😕

Is this perhaps related to having many files selected?

Maybe. But why does this happen in dev file preview. And not other preview handlers?

Dev file preview is a bit more complicated, due to the extra thread handling. That might be related. Have you replicated this?

I can reproduce this. I’ll try debugging it.

I can’t debug it with VS 2022. I always get a DRIVER_OVERRAN_STACK_BUFFER bluescreen when attaching it to prevhost.exe and I have no idea why. IMG_20220210_195808.jpg