-
Notifications
You must be signed in to change notification settings - Fork 54
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
[Problem/Bug]: empty Crashpad reports directory when crashing #4382
Comments
If you simply kill the process, it is an unexpected process failure, but not a crash. A crash report would not be created for this case. This is by design. If a real crash happened, dump files should be generated. |
@LiangTheDev thanks - is there a way to mimic a webview2 process crash then? One that would generate a dump file? |
I'm seeing a browser process crash (#4843) that generates crash dumps on one machine but not on another. Not sure if there's some other OS-level setting, say, that controls this. Not clear why we see this discrepancy. |
If the OS setting doesn't allow collecting of "optional diagnostic data", then Edge code would not collect dump. The setting could be accessed from Settings app, "Privacy & security -> Diagnostics & feedback". |
@LiangTheDev thanks, my "send optional diagnostics" was on, but after turning it off and back on, now crash dumps generate. |
You could have navigate to edge:// urls from DevTools opened for http/https pages. That's the browser security. |
What happened?
My understanding is that crash reporting is enabled by default.
If I start my app, open Task Manager and kill the browser process (--embedded-browser-webview) or the renderer process (--type=renderer), the
ProcessFailed
event is raised, but I don't see any reports getting created.IsCustomCrashReportingEnabled
is set tofalse
(though I don't think that matters for your purposes) andFailureReportFolderPath
is set to%localappdata%\\<appName>\\EBWebView\\Crashpad\\reports
However, the reports directory is empty.
The only modified file after the crash is settings.dat.
Seems related to this issue (maybe that's answered and I'm just not understanding the resolution)
--
though I see this in Edge too assuming I'm following the steps correctly. Maybe it's expected that we don't create dumps in these cases?
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
121.0.2277.128
SDK Version
1.0.2277.86
Framework
Winforms
Operating System
Windows 10
OS Version
10.0.19045 Build 19045
Repro steps
see above
Repros in Edge Browser
Yes
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: