-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Description
Does this issue occur when all extensions are disabled?: Yes
Hello Friends,
I'm running vscode from Arch Linux ARM (Asahi) on my MacBook Air M1 and its giving me a segfault before it opens.
/opt/visual-studio-code/bin/code: line 62: 16644 Segmentation fault ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"
I have never opened code before on this system and I think it may be related to the fact that the M1 uses a 16K address page (chromium had a similar issue and maybe a similar patch can be applied) instead of a 4K. More info in the Asahi wiki.
I know its a very niche case on a probably unsupported platform but since more ARM systems would start using pages bigger than the standard x86 4K for the big performance improvement it may be worth it the report.
- VS Code Version: Both 1.68.1 and Insiders build 1656566876
- OS Version: Arch Linux Asahi ARM64 (MacBook Air M1) - Linux 5.17.0-rc7-asahi-next-20220310-5-2-ARCH
Steps to Reproduce:
- Open visual studio code with command
/usr/bin/code --unity-launch %For simplycode.