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
VSCode doesn't start on aarch64/arm64 Linux systems using 64k pages #268354
Does this issue occur when all extensions are disabled?: Yes
VS Code Version: code-stable-arm64-1758714463.tar.gz (1.104, I believe)
OS Version: aarch64 (aka arm64) RHEL8
This is a follow up to #174505 which was closed as Chromium thus Electron didn't work correctly on Linux with 64k pages at the time. It has been fixed a while ago in chromium/chromium@a0ac9e3. And at some point VSCode picked up the updates and it started working on aarch64/arm64 Linux with 64-bit code - it has been reported to work in version 1.97.2. Today download of a stable build (as above) crashes again, as previously.
Steps to Reproduce:
Get an aarch64 aka arm64 Linux system with kernel configured to use 64k pages, for example RHEL 8:
$ uname -m
aarch64
$ getconf PAGESIZE
65536
Download and untar code-stable-arm64-1758714463.tar.gz.
Try running VSCode-linux-arm64/bin/code and see how it crashes:
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.104.2. Please try upgrading to the latest version and checking whether this issue remains.
I'm a bit out of my league here, but I did some digging and found some potentially relevant upstream context that might help:
What I Found
There appear to be two separate issues affecting non-4KB page systems on ARM64 Linux:
PartitionAlloc (Chromium's memory allocator) — This was fixed in Chromium commit a0ac9e3 which added 64KB page support. This fix made it into Electron and is likely why VSCode 1.97.2 (Electron 32.2.7, Chromium 128) worked.
Could someone with affected hardware try launching VSCode with this flag?
code --js-flags="--no-decommit-pooled-pages"
This is the workaround Debian uses for Chromium on non-4KB page systems. If it works, it would confirm the V8 regression is the culprit.
Next Steps (I think?)
This might need a new upstream issue on Electron specifically for 64KB page support, since the 16KB fix may not cover it and the old issue (#35829) was closed. But I'm not 100% sure — someone more familiar with the codebase would know better.
Hope this helps point things in the right direction!
Activity
vs-code-engineering commentedon Sep 25, 2025
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.104.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
pawelmoll commentedon Sep 25, 2025
Not being 100% sure what "1758714463" build is, I've also downloaded a tarball through the https://update.code.visualstudio.com/1.104.2/linux-arm64/stable URL. No change in behaviour:
nojaf commentedon Jan 26, 2026
I'm a bit out of my league here, but I did some digging and found some potentially relevant upstream context that might help:
What I Found
There appear to be two separate issues affecting non-4KB page systems on ARM64 Linux:
PartitionAlloc (Chromium's memory allocator) — This was fixed in Chromium commit a0ac9e3 which added 64KB page support. This fix made it into Electron and is likely why VSCode 1.97.2 (Electron 32.2.7, Chromium 128) worked.
V8's
--decommit-pooled-pages— A newer regression in V8 that affects non-4KB page systems. This was identified in Debian Bug #1089647 as the culprit for crashes on 16KB page systems starting around Chromium 131. The V8 commit in question is https://chromium-review.googlesource.com/c/v8/v8/+/5864909.Electron History
Version Comparison
Possible Workaround to Test
Could someone with affected hardware try launching VSCode with this flag?
This is the workaround Debian uses for Chromium on non-4KB page systems. If it works, it would confirm the V8 regression is the culprit.
Next Steps (I think?)
This might need a new upstream issue on Electron specifically for 64KB page support, since the 16KB fix may not cover it and the old issue (#35829) was closed. But I'm not 100% sure — someone more familiar with the codebase would know better.
Hope this helps point things in the right direction!
deepak1556 commentedon Jan 26, 2026
The guard regions in V8 responsible for the crash in 16KB page size has been removed since Chromium 134, if this is still crashing on 64KB pages it must be a different cause. Please share the crash dumps to [email protected] following steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report
pawelmoll commentedon Jan 26, 2026
I've just checked and the good news is that it works again:
so thank you, Florian Verdonck (@nojaf) for prompting me to have another go.
If I may ask a question, Robo (@deepak1556)... Is there any chance to have the case covered by VSCode CI?
deepak1556 commentedon Jan 26, 2026
Thanks for verifying!
Yes this is happening via #279402
cc Dmitriy Vasyura (@dmitrivMS)