You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Electron apps crash on systems with 16K page size #45560
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
34.0.2
What operating system(s) are you using?
Other Linux
Operating System Version
Linux 6.12.12-asahi
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
33.3.2
Expected Behavior
Electron 34 apps do not crash when run on an ARM system with 16K page size (support for which is architecturally required by the ARM64 spec).
Actual Behavior
They do in fact crash.
Testcase Gist URL
No response
Additional Information
The upgrade to Chromium 132 introduced this severe bug which crashes the renderer on systems using 16K pages due to an incorrect hard-coded page size. Chromium 134 will include a fix for the issue, but they do not seem interested in backporting it to Chromium 132. Per the discussion on the upstream bug, your two options are:
Backport the fix and maintain it as a patch to Chromium 132
Pass --js-flags="--nodecommit_pooled_pages" to Chromium.
Activity
advait-zx commentedon Feb 17, 2025
Integrate the patch into the Chromium 132 codebase used by your Electron application.
where's the source code?
codebytere commentedon Feb 17, 2025
Closed by #45571