WebView2 crashes, but unsure if it's a bug or expected behavio #3909
Replies: 7 comments
-
Hey @kyle-mcknight - thanks for the question! Do you have a small sample app that can reproduce this issue? Something is making the WebView2 be disposed, and it's unclear whether it's coming from the host app side, or perhaps a crash in the browser processes. You can try listening to the BrowserProcessFailed event to see if that hits first. |
Beta Was this translation helpful? Give feedback.
-
Hey @champnic i'm experiencing the issue too with version 1.0.992.28 (nugget) for WPF, installed runtime Edge WebView2 Runtime 94.0.992.50. I can provide you a sample project to reproduce the issue, however their is nothing more than a source url binding on the webview. By my side, this occurs randomly by following this scenario :
I tried listening to the CoreWebView2.ProcessFailed event, but the exception is thrown first. Edit: I added related crash dump file (from my binary directory \EBWebView\Crashpad\reports) |
Beta Was this translation helpful? Give feedback.
-
@r-cass Thank you for the reference to my issue! I'm curious how did you get the msedge.dll internal code visible? Are there (publicly available) PDB's you can download somewhere? |
Beta Was this translation helpful? Give feedback.
-
@fvanheeswijk Aw, these PDB's are available publicly. First I opened the dump file with visual studio but I was unable to get symbols neither. However as a native and not a managed dump, I gave a try to windbg preview app, this way, fortunaly, symbols were loaded successfully. Nothing more ^^ |
Beta Was this translation helpful? Give feedback.
-
Are there further findings around ^? We're observing the same issue too. |
Beta Was this translation helpful? Give feedback.
-
Hey, I can't recall what version helped, but when we updated to a later version, this worked for us with no changes from us. If I can find the version, I'll post it. |
Beta Was this translation helpful? Give feedback.
-
We were originally using version Version |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When creating a new CoreWebView2 instance with the following code
var op = new CoreWebView2EnvironmentOptions($"--disable-web-security --allow-file-access-from-files --remote-debugging-port=9229");
And when our application opens another website within an iframe AND the devtools are open, the application crashes with the following stack trace
Not sure if this should be reported as a bug or this is a browser problem in general vs a webview2 problem. I'm not familiar enough with how browsers work in that fashion.
Beta Was this translation helpful? Give feedback.
All reactions