electron: [Bug]: Electron segmentation fault on CentOS7 aarch64(arm64)
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
Issue Details
- Electron Version:
- 7.1.4
- 10.1.1
- Operating System:
- centos 7.6 aarch64
Expected Behavior
Electron running normal
Actual Behavior
Electron failing with segmentation fault.
To Reproduce
wget https://github.com/electron/electron/releases/download/v10.1.1/electron-v10.1.1-linux-arm64.zip
unzip electron-v10.1.1-linux-arm64.zip
./electron
segmentation fault
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 20 (6 by maintainers)
Commits related to this issue
- chore: backport a704c3a from chromium Refs https://chromium-review.googlesource.com/c/chromium/src/+/3545665 Fixes https://github.com/electron/electron/issues/25387 — committed to electron/electron by deepak1556 2 years ago
- chore: backport a704c3a from chromium (#34385) * chore: backport a704c3a from chromium Refs https://chromium-review.googlesource.com/c/chromium/src/+/3545665 Fixes https://github.com/electron/ele... — committed to electron/electron by deepak1556 2 years ago
Same issue on Asahi linux which uses 16K pages
It’s said that:
However, Chromium seems to show no interest in 64 Ki page size in the foreseeable future:
I think it is linux kernel’s PAGESIZE problem. PAGESIZE = 64k on cetos 7 aarch64 (redhat 7) but, PAGESIZE = 4K on other linux(such debian aarch64) PAGESIZE = 4K on centos 7 x86_64
i think two way can resolve it :