Repository navigation
Closed as not planned
Labels
*out-of-scopePosted issue is not in scope of VS Code
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: code-1.75.1-1675892189 or code-insiders-1.76.0-1676438994 in the examples below, but older versions behaved the same way
- OS Version: aarch64 (aka arm64) RHEL8, more details below
Steps to Reproduce:
- Get an aarch64 aka arm64 system running RHEL 8. For example I've used a "Standard D2pls v5" VM in Azure. Detailed information below.
- Install latest arm64/aarch64 rpm with VS Code or VS Code Insider.
- Try running
codeorcode-insiderand see how it crashes with SIGTRAP.
Important note:
the same versions of VS Code work fine on aarch64 Ubuntu 22.04 and (!!!) RHEL 9. One important difference immediately coming to my mind is page size. Ubuntu always kept 4kb pages as on x86, while RHEL 7 and 8 are using 64kb page size by default. Then RHEL 9 reverted back to 4 kb... And we've seen (long in the past) problems with Javascript JIT engines running on non-4kb-page systems, both Mozilla's SpiderMonkey and Google's V8. If your Electron wrapper is using an affected version of V8, it may be the "simplest" explanation of the problem.
Examples:
[azureuser@vscode-test-rhel8 ~]$ sudo rpm -i code-1.75.1-1675892189.el7.aarch64.rpm
[azureuser@vscode-test-rhel8 ~]$ code
/usr/bin/code: line 62: 28694 Trace/breakpoint trap (core dumped) ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"
[azureuser@vscode-test-rhel8 ~]$ code --disable-extensions
/usr/bin/code: line 62: 28709 Trace/breakpoint trap (core dumped) ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"
[azureuser@vscode-test-rhel8 ~]$ sudo rpm -i code-insiders-1.76.0-1676438994.el7.aarch64.rpm
[azureuser@vscode-test-rhel8 ~]$ code-insiders
/usr/bin/code-insiders: line 62: 28744 Trace/breakpoint trap (core dumped) ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"
[azureuser@vscode-test-rhel8 ~]$ code-insiders --disable-extensions
/usr/bin/code-insiders: line 62: 28758 Trace/breakpoint trap (core dumped) ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"
Detailed information about the system:
[azureuser@vscode-test-rhel8 ~]$ lsb_release -a
LSB Version: :core-4.1-aarch64:core-4.1-noarch
Distributor ID: RedHatEnterprise
Description: Red Hat Enterprise Linux release 8.6 (Ootpa)
Release: 8.6
Codename: Ootpa
[azureuser@vscode-test-rhel8 ~]$ curl -s -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance/compute?api-version=2021-02-01" | jq
{
"azEnvironment": "AzurePublicCloud",
"customData": "",
"evictionPolicy": "",
"isHostCompatibilityLayerVm": "false",
"licenseType": "",
"location": "westeurope",
"name": "vscode-test-rhel8",
"offer": "rhel-arm64",
"osProfile": {
"adminUsername": "azureuser",
"computerName": "vscode-test-rhel8",
"disablePasswordAuthentication": "true"
},
"osType": "Linux",
"placementGroupId": "",
"plan": {
"name": "",
"product": "",
"publisher": ""
},
"platformFaultDomain": "0",
"platformUpdateDomain": "0",
"priority": "",
"provider": "Microsoft.Compute",
"publicKeys": [
{
"keyData": "ssh-rsa xxx\n",
"path": "/home/azureuser/.ssh/authorized_keys"
}
],
"publisher": "redhat",
"resourceGroupName": "vscode-test",
"resourceId": "/subscriptions/4024882c-a819-44ea-ba29-01dfea79e88e/resourceGroups/vscode-test/providers/Microsoft.Compute/virtualMachines/vscode-test-rhel8",
"securityProfile": {
"secureBootEnabled": "false",
"virtualTpmEnabled": "false"
},
"sku": "8_6-arm64",
"storageProfile": {
"dataDisks": [],
"imageReference": {
"id": "",
"offer": "rhel-arm64",
"publisher": "redhat",
"sku": "8_6-arm64",
"version": "latest"
},
"osDisk": {
"caching": "ReadWrite",
"createOption": "FromImage",
"diffDiskSettings": {
"option": ""
},
"diskSizeGB": "64",
"encryptionSettings": {
"enabled": "false"
},
"image": {
"uri": ""
},
"managedDisk": {
"id": "/subscriptions/4024882c-a819-44ea-ba29-01dfea79e88e/resourceGroups/vscode-test/providers/Microsoft.Compute/disks/vscode-test-rhel8_disk1_2db5418ac5f74084a99612dd16c2d714",
"storageAccountType": "Premium_LRS"
},
"name": "vscode-test-rhel8_disk1_2db5418ac5f74084a99612dd16c2d714",
"osType": "Linux",
"vhd": {
"uri": ""
},
"writeAcceleratorEnabled": "false"
},
"resourceDisk": {
"size": "0"
}
},
"subscriptionId": "4024882c-a819-44ea-ba29-01dfea79e88e",
"tags": "",
"tagsList": [],
"userData": "",
"version": "8.6.2022060901",
"vmId": "b49cd070-da6d-4bfb-a9aa-1834e7368da5",
"vmScaleSetName": "",
"vmSize": "Standard_D2pls_v5",
"zone": ""
}
Reacted by DancingCorpse and DeepblueLam
Metadata
Metadata
Assignees
Labels
*out-of-scopePosted issue is not in scope of VS Code
Activity
DeepblueLam commentedon Aug 3, 2023
The same problem :
NodeJs Ver:
Linux Ver:
deepak1556 commentedon Dec 5, 2023
64k page size is unsupported in the runtime, refs https://bugs.chromium.org/p/chromium/issues/detail?id=1301788. Closing as out of scope.
pawelmoll commentedon Jul 2, 2024
Change making Chromium work on aarch64/arm64 Linux with 64k pages has been just merged upstream:
chromium/chromium@a0ac9e3
Can this issue be reopened or should I open a new one?
nojaf commentedon Sep 23, 2025
Hello Paweł Moll (@pawelmoll), what is the latest update on this?
Did this ever get resolved?
jgiannuzzi commentedon Sep 25, 2025
I can confirm that
linux-arm64v1.97.0 works on both 4k and 64k pages kernel (tested with Ubuntu 24.04's6.8.0-84-genericand6.8.0-84-generic-64kkernels.However v1.104.1 crashes on the 64k pages kernel on the same system, which seems like a regression!