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

Unhandled .NET Exception 0x800705B4 SVG Thumbnail Timeout #18125

Closed
Road-hog123 opened this issue May 6, 2022 · 2 comments
Closed

Unhandled .NET Exception 0x800705B4 SVG Thumbnail Timeout #18125

Road-hog123 opened this issue May 6, 2022 · 2 comments
Assignees
Labels
Area-Quality Stability, Performance, Etc. Issue-Bug Something isn't working Priority-1 Bug that is high priority Product-File Explorer Power Toys that touch explorer like Preview Pane Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. Status-Reproducible This issue was reproduced by a maintainer

Comments

@Road-hog123
Copy link

Road-hog123 commented May 6, 2022

Microsoft PowerToys version

0.58.0

Running as admin

No

Area(s) with issue?

SVG Thumbnail

Steps to reproduce

  1. Open a folder that contains an SVG in File Explorer
  2. Copy and Paste the SVG file
  3. Create a shortcut (.lnk) to either of the files
  4. Shortcut does not get a thumbnail, progress bar loads forever, timeout exception window eventually appears

Clicking continue resumes COM Surrogate's CPU usage, which does not cease even with cancelling the progress bar, refreshing or closing the File Explorer window, or force restarting Windows Explorer. If you kill COM Surrogate and restart Windows Explorer, then the thumbnail will generate just fine on re-opening the folder with no continued CPU usage.

While creating a shortcut is a reliable way of reproducing this issue, I am also getting this fairly frequently when simply saving a file from Inkscape into a folder open in File Explorer, which has been very frustrating.

✔️ Expected Behavior

Thumbnail is generated in at most a couple of seconds

❌ Actual Behavior

Thumbnail is not immediately generated, File Explorer progress bar appears, .NET Exception window opens somewhere with 0x800705B4, COM continues to use CPU indefinitely:

System.Runtime.InteropServices.COMException (0x800705B4): This operation returned because the timeout period expired. (0x800705B4)
   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)
   at Microsoft.PowerToys.ThumbnailHandler.Svg.SvgThumbnailProvider.<>c__DisplayClass10_0.<<GetThumbnail>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)

Other Software

Inkscape 1.1.2

Nothing of note in the File Explorer logs, just initialising after each computer restart. Windows 10 21H2 (19044.1645).

@Road-hog123 Road-hog123 added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels May 6, 2022
@davidegiacometti davidegiacometti added the Product-File Explorer Power Toys that touch explorer like Preview Pane label May 7, 2022
@davidegiacometti
Copy link
Collaborator

davidegiacometti commented May 7, 2022

Can reproduce this.
Ref MicrosoftEdge/WebView2Feedback#2054

EDIT: @jaimecbernardo adding priority 1 since explorer become unresponsive after hitting the error.

image

@davidegiacometti davidegiacometti added the Priority-1 Bug that is high priority label May 7, 2022
@htcfreek
Copy link
Collaborator

htcfreek commented May 7, 2022

Can we implement the workaround mentioned in the WebView2 repo issue?

MicrosoftEdge/WebView2Feedback#2054 (comment)

@Jay-o-Way Jay-o-Way added Area-Quality Stability, Performance, Etc. Status-Reproducible This issue was reproduced by a maintainer Needs-Team-Response An issue author responded so the team needs to follow up labels May 9, 2022
@stefansjfw stefansjfw self-assigned this May 12, 2022
@jaimecbernardo jaimecbernardo added Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Quality Stability, Performance, Etc. Issue-Bug Something isn't working Priority-1 Bug that is high priority Product-File Explorer Power Toys that touch explorer like Preview Pane Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. Status-Reproducible This issue was reproduced by a maintainer
Projects
None yet
Development

No branches or pull requests

6 participants