Skip to content

fix: crash on startup in X11 - #35075

Merged
deepak1556 merged 1 commit into
mainfrom
fix/34996-regression-crash-on-startup-in-Xorg-on-20.0.0-beta.9
Jul 27, 2022
Merged

fix: crash on startup in X11#35075
deepak1556 merged 1 commit into
mainfrom
fix/34996-regression-crash-on-startup-in-Xorg-on-20.0.0-beta.9

Conversation

@ckerr

@ckerr ckerr commented Jul 26, 2022

Copy link
Copy Markdown
Member

Description of Change

Fixes #34996.

This is a regression introduced in 20.0.0-beta.9 caused by ElectronBrowserMainParts::PreCreateThreads() creating the main window before loading the locale resource bundle, but ui::BuildDisplaysFromXRandRInfo() needed that locale info to be loaded.

CC @electron/wg-releases

Checklist

Release Notes

Notes: Fix 20.0.0-beta.8 X11 crash regression.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jul 26, 2022

@VerteDinde VerteDinde left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🙌 Tested on Fedora with X11, crash is no longer happening

@codebytere codebytere added the semver/patch backwards-compatible bug fixes label Jul 26, 2022
@deepak1556

Copy link
Copy Markdown
Member

Failing test is unrelated, merging.

@deepak1556
deepak1556 merged commit 62001dc into main Jul 27, 2022
@deepak1556
deepak1556 deleted the fix/34996-regression-crash-on-startup-in-Xorg-on-20.0.0-beta.9 branch July 27, 2022 04:44
@release-clerk

release-clerk Bot commented Jul 27, 2022

Copy link
Copy Markdown

Release Notes Persisted

Fix 20.0.0-beta.8 X11 crash regression.

@trop trop Bot mentioned this pull request Jul 27, 2022
@trop

trop Bot commented Jul 27, 2022

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "20-x-y", please check out #35092

schetle pushed a commit to schetle/electron that referenced this pull request Nov 3, 2022
khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-pr 🌱 PR opened recently semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: SIGTRAP when starting electron >= 20.0.0-beta.9

5 participants