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
fix: crash dump location on Linux #31668
Conversation
LGTM with the directory alignment change but it does not solve the underlying issue reported which is incorrect path of The problem arises from electron/shell/browser/electron_browser_client.cc Lines 563 to 564 in 2a2a1a8
electron/shell/browser/api/electron_api_crash_reporter.cc Lines 89 to 95 in 2a2a1a8
|
The fix should also be targeted to |
@codebytere updated the PR addressing the root issue. |
Release Notes Persisted
|
I have automatically backported this PR to "16-x-y", please check out #31711 |
I have automatically backported this PR to "15-x-y", please check out #31712 |
I had already tested v15 with I only noticed it failing when trying v16 🤔 |
* fix: crash dump location on Linux * fix: ignore client_id for Zygote process * chore: update comment Co-authored-by: deepak1556 <hop2deep@gmail.com>
Description of Change
Closes #31643.
Closes #31565
Refs #30278 - now that Electron has switched to Crashpad by default on Linux
DIR_CRASH_DUMPS
should be the same across supported platforms.Checklist
npm test
passesRelease Notes
Notes: Fixed an issue where
app.getPath('crashDumps')
returned an incorrect path for Linux.