microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.16k stars 28.84k forks source link

install fails to create directory in /run/user/7413 #126313

Closed pabtor closed 3 years ago

pabtor commented 3 years ago

Issue Type: Bug

I have been using Visual Studio Code and Code-Insiders for several months and noticed a few months ago that I could no longer invoke it after installing a new version. I tried version 1.54.0 of code-insiders and 1.53.2 of code and neither would invoke on my Red Hat 7 based machine. I tried a different Red Hat 7 based machine as well and couldn't run there either.

Today I decided to try code-insiders 1.58 and ran into the same issue.

I finally tracked down the issue to this sequence:

1) I am running on Exceed on Demand on a Red Hat 6 server. From this, I log into a Red Hat 7 or Red Hat 8 server using ssh and install code-insiders running as root from that shell.

2) I exit the root shell and then try to invoke code-insiders with DISPLAY set to my Red Hat 6 Exceed on Demand display.

3) nothing happens - no message or anything.

Today, after this happened again, I logged into my Red Hat 8.3 based server in a VNC session. That machine had already been installed with code-insiders 1.58 using the same ssh followed by rpm install that I described above. I attempted to invoke code-insiders there, and I get a dialog that says that I need to make sure that a couple of directories are writable:

~/.config/Code - Insiders - it was OK - there and writable ~/.vscode-insiders/extensions - it was OK - there and writable /run/user/7413 - it was not there

7413 is my Unix user id.

I ran again as root and created the directory and chown'ed it to my user name.

I was then finally able to invoke code-insiders.

So, in all, I think there are two problems:

1) there seems to be a chicken and egg problem in making sure that the directory /run/user/ gets created in time for it to be needed by code-insiders.

2) there seems to be a problem showing the error dialog when using Exceed on Demand over a DISPLAY variable.

VS Code version: Code - Insiders 1.58.0-insider (e1161be26874f0d39a5b9cdeb2c5fbfd4f83bb80, 2021-06-14T05:13:48.044Z) OS version: Linux x64 4.18.0-240.el8.x86_64 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz (4 x 2497)| |GPU Status|2d_canvas: unavailable_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software| |Load (avg)|1, 0, 0| |Memory (System)|15.46GB (2.94GB free)| |Process Argv|--crash-reporter-id a127b379-56aa-4b65-aeb3-cd1564895ef8| |Screen Reader|no| |VM|100%| |DESKTOP_SESSION|gnome| |XDG_CURRENT_DESKTOP|GNOME| |XDG_SESSION_DESKTOP|gnome| |XDG_SESSION_TYPE|x11|
Extensions (2) Extension|Author (truncated)|Version ---|---|--- cpptools|ms-|1.4.1 vim|vsc|1.21.2
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368:30146709 vsreu685:30147344 python383cf:30185419 pythonvspyt602:30291494 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt639:30291487 pythontb:30258533 pythonvspyt551:30291412 vspre833:30267464 pythonptprofiler:30281269 vshan820:30294714 pythondataviewer:30285072 vscus158cf:30286554 pythonvsuse255:30319630 vscgsv2:30305091 vscorehov:30301224 vscod805:30301674 vscextlangct:30310089 vsccppwt:30312692 ```
bpasero commented 3 years ago

Can you try running with --no-sandbox?

pabtor commented 3 years ago

Hi,

I did a couple of experiments:

On my RHEL 8.3 system, I removed the directory /run/user/7413 to return it to the original state. I then invoked code-insiders from an xterm that was displaying on my RHEL 6 Exceed on Demand desktop. It successfully showed me the dialog that it had been unable to earlier. When I recreated the /run/user/7413 directory, it was again able to launch successfully. The gui seems to work fine there. The --no-sandbox didn't seem to change anything there.

On my RHEL 7 system, I have still not been able to invoke code-insiders there successfully. The directory /run/user/7413 seems to have been previously created there without incident, but that doesn't seem to be the issue on that machine.

I ran code-insiders there again once again with no response. I ran code-insiders --no-sandbox and it issued the following message:

$ code-insiders --no-sandbox Warning: 'sandbox' is not in the list of known options, but still passed to Electron/Chromium.

It did display successfully to my Exceed on Demand desktop. However, the gui is unresponsive there (it will not respond to mouse or keyboard activity). It is showing a dialog that says:

Do you trust the authors of the files in this folder?

Code - Insiders provides features that may automatically execute files in this folder.

If you don't trust the authors of these files, we recommend to continue in restricted mode as the files may be malicious. See our docs to learn more.

[ ] Trust the authors of all files in the parent folder 'pbrooks_nobackup'

[ Yes, I trust the authors ] [ No, I don't trust the authors ]

[ Trust folder and enable all features ] [ Browse folder in restricted mode ]

I seem unable to end the process from the gui. I tried kill and that didn't work either. Finally, I tried kill -9 and that stopped it. In all, I am still unable to invoke on the RHEL 7 system. The RHEL 8.3 system seems to be working fine after creating the /run/user/7413 folder again.

Phil

On Tue, Jun 15, 2021 at 12:21 AM Benjamin Pasero @.***> wrote:

Can you try running with --no-sandbox?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/126313#issuecomment-861250118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPOHGQ3ZBUCT5XM3RJHCKTTS35PVANCNFSM46WFANVA .

bpasero commented 3 years ago

Hm, can you then try code --no-sandbox --disable-gpu to see if that unblocks the UI interaction?

pabtor commented 3 years ago

That has the same issue - the gui comes up with the security dialog and it won't accept mouse or keyboard events.

I will see if I can get a VNC session going on the RHEL 7 machine today - there seems to be something else wrong there, or my RHEL 6 VNC recipe doesn't work anymore. I am wondering if this is an Exceed On Demand specific issue. (Our own gui tools often have Exceed On Demand specific problems).

Phil

On Tue, Jun 15, 2021 at 9:22 AM Benjamin Pasero @.***> wrote:

Hm, can you then try code --no-sandbox --disable-gpu to see if that unblocks the UI interaction?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/126313#issuecomment-861640203, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPOHGTQ5344DQHGJY5EMYLTS542XANCNFSM46WFANVA .

bpasero commented 3 years ago

Ok thanks.

pabtor commented 3 years ago

OK - I finally got the VNC going on the RHEL 7 machine. It has the same symptoms I was seeing through Exceed on Demand: It shows no gui when invoked normally, comes up but won't respond to mouse or keyboard when invoked using --no-sandbox, same thing when invoked using --no-sandbox --disable-gpu.

I also uninstalled it using rpm -e code-insiders and re-installed version 1.52 - that works fine again, then upgraded back to 1.58 and ran into the same symptoms once again.

Phil

On Wed, Jun 16, 2021 at 9:13 AM Benjamin Pasero @.***> wrote:

Ok thanks.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/126313#issuecomment-862514187, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPOHGRSOFHZ35O5OACBNMTTTDETJANCNFSM46WFANVA .

deepak1556 commented 3 years ago

@pabtor can you paste the output of code --verbose from the RHEL 7 machine.

pabtor commented 3 years ago

$ code-insiders --verbose [17915:0622/171745.987004:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/share/code-insiders/chrome-sandbox is owned by root and has mode 4755.

Looking at code-insiders/chrome-sandbox:

$ ls -l /usr/share/code-insiders/chrome-sandbox -rwxr-xr-x 1 root root 4706832 Jun 13 22:30 /usr/share/code-insiders/chrome-sandbox

No setuid. I'll try installing again to see what happens:

$ sudo su ... @. Downloads]# rpm -e code-insiders @. Downloads]# ls -l /usr/share/code-insiders/chrome-sandbox ls: cannot access /usr/share/code-insiders/chrome-sandbox: No such file or directory @. Downloads]# @. Downloads]# ls *.rpm code-insiders-1.52.0-1607530412.el7.x86_64.rpm code-insiders-1.58.0-1623648651.el8.x86_64.rpm @. Downloads]# rpm -i code-insiders-1.58.0-1623648651.el8.x86_64.rpm @. Downloads]# ls -l /usr/share/code-insiders/chrome-sandbox -rwxr-xr-x 1 root root 4706832 Jun 13 22:30 /usr/share/code-insiders/chrome-sandbox

Still not setuid. Something wrong in the installer?

Phil

Here is what happens when I invoke code-insiders --verbose --no-sandbox (the gui is still unresponsive to mouse and keyboard).

$ code-insiders --verbose --no-sandbox Warning: 'sandbox' is not in the list of known options, but still passed to Electron/Chromium. [main 2021-06-23T00:24:26.409Z] Starting VS Code [main 2021-06-23T00:24:26.411Z] from: /usr/share/code-insiders/resources/app [main 2021-06-23T00:24:26.411Z] args: { _: [], diff: false, add: false, goto: false, 'new-window': false, 'reuse-window': false, wait: false, help: false, 'list-extensions': false, 'show-versions': false, version: false, verbose: true, status: false, 'prof-startup': false, 'prof-v8-extensions': false, 'disable-extensions': false, 'disable-gpu': false, telemetry: false, debugRenderer: false, logExtensionHostCommunication: false, 'skip-release-notes': false, 'skip-welcome': false, 'disable-telemetry': false, 'disable-updates': false, 'disable-keytar': false, 'disable-workspace-trust': false, 'disable-crash-reporter': false, 'crash-reporter-id': 'a127b379-56aa-4b65-aeb3-cd1564895ef8', 'skip-add-to-recently-opened': false, 'unity-launch': false, 'open-url': false, 'file-write': false, 'file-chmod': false, 'driver-verbose': false, force: false, 'do-not-sync': false, trace: false, 'force-user-env': false, 'force-disable-user-env': false, 'open-devtools': false, __sandbox: false, 'no-proxy-server': false, nolazy: false, 'force-renderer-accessibility': false, 'ignore-certificate-errors': false, 'allow-insecure-localhost': false, logsPath: '/home/pbrooks/.config/Code - Insiders/logs/20210622T172426' } [main 2021-06-23T00:24:26.413Z] Resolving machine identifier... Error: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node) at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1846) at Object.Module._extensions..node (internal/modules/cjs/loader.js:1185:18) at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2073) at Module.load (internal/modules/cjs/loader.js:982:32) at Module._load (internal/modules/cjs/loader.js:823:14) at Function.f._load (electron/js2c/asar_bundle.js:5:12684) at Module.require (internal/modules/cjs/loader.js:1006:19) at v (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:698) at bindings (/usr/share/code-insiders/resources/app/node_modules.asar/bindings/bindings.js:112:48) at Object.<anonymous> (/usr/share/code-insiders/resources/app/node_modules.asar/spdlog/index.js:3:35) at Module.u._compile (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:1315) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10) at Module.load (internal/modules/cjs/loader.js:982:32) at Module._load (internal/modules/cjs/loader.js:823:14) at Function.f._load (electron/js2c/asar_bundle.js:5:12684) at Module.require (internal/modules/cjs/loader.js:1006:19) at require (internal/modules/cjs/helpers.js:88:18) at t (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:101) at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:1722) at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:3:10249) at l (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10314) at Object.errorback (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10435) at r.triggerErrorback (/usr/share/code-insiders/resources/app/out/vs/loader.js:3:10613) at /usr/share/code-insiders/resources/app/out/vs/loader.js:3:10319 at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:1739) at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:3:10249) at l (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10314) at r._loadModule (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10444) at r._resolve (/usr/share/code-insiders/resources/app/out/vs/loader.js:6:452) at r.defineModule (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:6145) at r._relativeRequire (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:6831) at n (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:9420) at A.P (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:32:4511) at new Promise (<anonymous>) at A (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:32:4491) at n._createSpdLogLogger (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:32:5471) at new n (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:32:5287) at /usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:61:2009 at processTicksAndRejections (internal/process/task_queues.js:93:5) at async re.startup (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:61:1818) { phase: 'loading', moduleId: 'spdlog', neededBy: [ '===anonymous3===' ] } [main 2021-06-23T00:24:26.415Z] Resolved machine identifier: ac66aac40dce5c2c7c4a816e56623cfdaf32e951c0ceb4fc66a91dcda2aa735e [main 2021-06-23T00:24:26.417Z] Main->SharedProcess#connect [main 2021-06-23T00:24:26.444Z] StorageMainService: creating global storage [main 2021-06-23T00:24:26.445Z] lifecycle (main): phase changed (value: 2) [main 2021-06-23T00:24:26.446Z] windowsManager#open [main 2021-06-23T00:24:26.504Z] windowsManager#open pathsToOpen [ { workspace: { id: '909d7ab4cbf285bc2b79cadcb1c66df8', uri: [m] }, exists: true } ] [main 2021-06-23T00:24:26.507Z] IPC Object URL: Registered new channel vscode:9efbfd2a-6092-4a7d-8853-c9905ec04aa2. [main 2021-06-23T00:24:26.507Z] window#validateWindowState: validating window state on 1 display(s) { mode: 0, x: 0, y: 64, width: 1920, height: 936 } [main 2021-06-23T00:24:26.508Z] window#validateWindowState: 1 monitor working area { x: 0, y: 0, width: 5760, height: 1400 } [main 2021-06-23T00:24:26.508Z] window#ctor: using window state { mode: 0, x: 0, y: 64, width: 1920, height: 936 } [main 2021-06-23T00:24:26.508Z] window: using vscode-file:// protocol and V8 cache options: bypassHeatCheck libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast [5763:0622/172426.569490:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [main 2021-06-23T00:24:29.823Z] StorageMainService: creating workspace storage (909d7ab4cbf285bc2b79cadcb1c66df8) [main 2021-06-23T00:24:29.823Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 1, emptyToRestore: 0, emptyToOpen: 0) [main 2021-06-23T00:24:29.825Z] lifecycle (main): phase changed (value: 3) [main 2021-06-23T00:24:29.826Z] update#setState idle [main 2021-06-23T00:24:29.826Z] resolveShellEnv(): skipped (VSCODE_CLI is set) [5763:0622/172429.842363:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") Error: /lib64/libstdc++.so.6: versionGLIBCXX_3.4.21' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/native-keymap/build/Release/keymapping.node) at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1846) at Object.Module._extensions..node (internal/modules/cjs/loader.js:1185:18) at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2073) at Module.load (internal/modules/cjs/loader.js:982:32) at Module._load (internal/modules/cjs/loader.js:823:14) at Function.f._load (electron/js2c/asar_bundle.js:5:12684) at Module.require (internal/modules/cjs/loader.js:1006:19) at v (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:698) at NativeBinding._init (/usr/share/code-insiders/resources/app/node_modules.asar/native-keymap/index.js:15:22) at NativeBinding.getKeyMap (/usr/share/code-insiders/resources/app/node_modules.asar/native-keymap/index.js:19:10) at Object.exports.getKeyMap (/usr/share/code-insiders/resources/app/node_modules.asar/native-keymap/index.js:58:18) at n (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:33:11355) at E._doInitialize (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:33:11039) TypeError: Cannot read property 'getCurrentKeyboardLayout' of null at NativeBinding.getCurrentKeyboardLayout (/usr/share/code-insiders/resources/app/node_modules.asar/native-keymap/index.js:29:29) at Object.exports.getCurrentKeyboardLayout (/usr/share/code-insiders/resources/app/node_modules.asar/native-keymap/index.js:55:18) at n (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:33:11371) at E._doInitialize (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:33:11039) TypeError: Cannot read property 'onDidChangeKeyboardLayout' of null at NativeBinding.onDidChangeKeyboardLayout (/usr/share/code-insiders/resources/app/node_modules.asar/native-keymap/index.js:38:22) at Object.exports.onDidChangeKeyboardLayout (/usr/share/code-insiders/resources/app/node_modules.asar/native-keymap/index.js:61:18) at E._doInitialize (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:33:11046) [main 2021-06-23T00:24:29.851Z] [storage state.vscdb] open(): Unable to open DB due to Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node) [main 2021-06-23T00:24:29.860Z] [storage state.vscdb] open(): Unable to open DB due to Error: /lib64/libstdc++.so.6: versionCXXABI_1.3.9' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node) [main 2021-06-23T00:24:29.864Z] [storage state.vscdb] open(): Unable to use backup due to Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node) [main 2021-06-23T00:24:29.864Z] StorageMain#initialize(): Unable to init storage due to Error: /lib64/libstdc++.so.6: versionCXXABI_1.3.9' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node) [main 2021-06-23T00:24:29.958Z] [storage state.vscdb] open(): Unable to use backup due to Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node) [main 2021-06-23T00:24:29.958Z] StorageMain#initialize(): Unable to init storage due to Error: /lib64/libstdc++.so.6: versionCXXABI_1.3.9' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node)

/lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node) [main 2021-06-23T00:24:29.964Z] Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node) at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1846) at Object.Module._extensions..node (internal/modules/cjs/loader.js:1185:18) at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2073) at Module.load (internal/modules/cjs/loader.js:982:32) at Module._load (internal/modules/cjs/loader.js:823:14) at Function.f._load (electron/js2c/asar_bundle.js:5:12684) at Module.require (internal/modules/cjs/loader.js:1006:19) at v (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:698) at Object. (/usr/share/code-insiders/resources/app/node_modules.asar/vscode-sqlite3/lib/sqlite3.js:1:77) at Module.u._compile (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:1315) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10) at Module.load (internal/modules/cjs/loader.js:982:32) at Module._load (internal/modules/cjs/loader.js:823:14) at Function.f._load (electron/js2c/asar_bundle.js:5:12684) at Module.require (internal/modules/cjs/loader.js:1006:19) at require (internal/modules/cjs/helpers.js:88:18) at t (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:101) at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:1722) at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:3:10249) at l (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10314) at Object.errorback (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10435) at r.triggerErrorback (/usr/share/code-insiders/resources/app/out/vs/loader.js:3:10613) at /usr/share/code-insiders/resources/app/out/vs/loader.js:3:10319 at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:1739) at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:3:10249) at l (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10314) at r._loadModule (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10444) at r._resolve (/usr/share/code-insiders/resources/app/out/vs/loader.js:6:452) at r.defineModule (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:6145) at r._relativeRequire (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:6831) at n (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:9420) at /usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:21:31984 at new Promise () at /usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:21:31964 at new Promise () at n.doConnect (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:21:31944) at n.connect (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:21:31393) at new n (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:21:28735) at g.doCreate (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:53:9768) at /usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:53:8658 at g.init (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:53:9000) at /usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:53:12458 [5794:0622/172430.246323:ERROR:angle_platform_impl.cc(43)] Display.cpp:832 (initialize): ANGLE Display::initialize error 12289: OpenGL ES 2.0 is not supportable. [5794:0622/172430.246475:ERROR:gl_surface_egl.cc(774)] EGL Driver message (Critical) eglInitialize: OpenGL ES 2.0 is not supportable. [5794:0622/172430.246515:ERROR:gl_surface_egl.cc(1329)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [5794:0622/172430.260598:ERROR:angle_platform_impl.cc(43)] Display.cpp:832 (initialize): ANGLE Display::initialize error 12289: Cannot create an OpenGL ES platform on GLX without the GLX_ARB_create_context extension. [5794:0622/172430.260677:ERROR:gl_surface_egl.cc(774)] EGL Driver message (Critical) eglInitialize: Cannot create an OpenGL ES platform on GLX without the GLX_ARB_create_context extension. [5794:0622/172430.260710:ERROR:gl_surface_egl.cc(1329)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [5794:0622/172430.260744:ERROR:gl_initializer_linux_x11.cc(182)] GLSurfaceEGL::InitializeOneOff failed. [5794:0622/172430.262066:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization [main 2021-06-23T00:24:30.366Z] resolveShellEnv(): skipped (VSCODE_CLI is set) Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node) at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1846) at Object.Module._extensions..node (internal/modules/cjs/loader.js:1185:18) at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2073) at Module.load (internal/modules/cjs/loader.js:982:32) at Module._load (internal/modules/cjs/loader.js:823:14) at Function.f._load (electron/js2c/asar_bundle.js:5:12684) at Module.require (internal/modules/cjs/loader.js:1006:19) at v (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:698) at bindings (/usr/share/code-insiders/resources/app/node_modules.asar/bindings/bindings.js:112:48) at Object. (/usr/share/code-insiders/resources/app/node_modules.asar/spdlog/index.js:3:35) at Module.u._compile (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:1315) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10) at Module.load (internal/modules/cjs/loader.js:982:32) at Module._load (internal/modules/cjs/loader.js:823:14) at Function.f._load (electron/js2c/asar_bundle.js:5:12684) at Module.require (internal/modules/cjs/loader.js:1006:19) at require (internal/modules/cjs/helpers.js:88:18) at t (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:101) at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:1722) at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:3:10249) at l (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10314) at Object.errorback (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10435) at r.triggerErrorback (/usr/share/code-insiders/resources/app/out/vs/loader.js:3:10613) at /usr/share/code-insiders/resources/app/out/vs/loader.js:3:10319 at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:4:1739) at r.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:3:10249) at l (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10314) at r._loadModule (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:10444) at r._resolve (/usr/share/code-insiders/resources/app/out/vs/loader.js:6:452) at r.defineModule (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:6145) at r._relativeRequire (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:6831) at n (/usr/share/code-insiders/resources/app/out/vs/loader.js:5:9420) at A.P (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:32:4511) at new Promise () at A (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:32:4491) at n._createSpdLogLogger (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:32:5471) at new n (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:32:5287) at /usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:61:2009 at processTicksAndRejections (internal/process/taskqueues.js:93:5) at async re.startup (/usr/share/code-insiders/resources/app/out/vs/code/electron-main/main.js:61:1818) { phase: 'loading', moduleId: 'spdlog', neededBy: [ '===anonymous3===' ] } [5763:0622/172431.538574:INFO:CONSOLE(627)] "%cTRACE color: #888 [lifecycle] starting up (startup kind: 1)", source: vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js (627) [5763:0622/172431.539204:INFO:CONSOLE(627)] "%cTRACE color: #888 lifecycle: phase changed (value: 2)", source: vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js (627) [5763:0622/172431.542549:INFO:CONSOLE(627)] "%cTRACE color: #888 Renderer->SharedProcess#connect", source: vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js (627) [5763:0622/172431.545638:INFO:CONSOLE(627)] "%cTRACE color: #888 Skipping initializing user data in desktop", source: vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js (627) [5763:0622/172431.738753:INFO:CONSOLE(627)] "%cTRACE color: #888 Layout#layout, height: 911, width: 1920", source: vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js (627) [5763:0622/172431.759608:INFO:CONSOLE(627)] "%cTRACE color: #888 workbench configuration {"":[],"diff":false,"add":false,"goto":false,"new-window":false,"reuse-window":false,"wait":false,"help":false,"list-extensions":false,"show-versions":false,"version":false,"verbose":true,"status":false,"prof-startup":false,"prof-v8-extensions":false,"disable-extensions":false,"disable-gpu":false,"telemetry":false,"debugRenderer":false,"logExtensionHostCommunication":false,"skip-release-notes":false,"skip-welcome":false,"disable-telemetry":false,"disable-updates":false,"disable-keytar":false,"disable-workspace-trust":false,"disable-crash-reporter":false,"crash-reporter-id":"a127b379-56aa-4b65-aeb3-cd1564895ef8","skip-add-to-recently-opened":false,"unity-launch":false,"open-url":false,"file-write":false,"file-chmod":false,"driver-verbose":false,"force":false,"do-not-sync":false,"trace":false,"force-user-env":false,"force-disable-user-env":false,"open-devtools":false,"__sandbox":false,"no-proxy-server":false,"nolazy":false,"force-renderer-accessibility":false,"ignore-certificate-errors":false,"allow-insecure-localhost":false,"logsPath":"/home/pbrooks/.config/Code

Insiders/logs/20210622T172426","machineId":"ac66aac40dce5c2c7c4a816e56623cfdaf32e951c0ceb4fc66a91dcda2aa735e","windowId":1,"mainPid":5763,"appRoot":"/usr/share/code-insiders/resources/app","execPath":"/usr/share/code-insiders/code-insiders","codeCachePath":"/home/pbrooks/.config/Code

Insiders/CachedData/e1161be26874f0d39a5b9cdeb2c5fbfd4f83bb80","backupPath":"/home/pbrooks/.config/Code

Insiders/Backups/1ec91861a71c941b514f0a394d754630","homeDir":"/home/pbrooks","tmpDir":"/tmp","userDataDir":"/home/pbrooks/.config/Code

Insiders","workspace":{"id":"909d7ab4cbf285bc2b79cadcb1c66df8","uri":{"$mid":1,"fsPath":"/wv/pbrooks_nobackup/p_build","external":"file:///wv/pbrooks_nobackup/p_build","path":"/wv/pbrooks_nobackup/p_build","scheme":"file"}},"userEnv":{"VSCODE_IPC_HOOK":"/run/user/7413/vscode-4f8e15ea-1.58.0-insider-main.sock","VSCODE_NLS_CONFIG":"{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}"},"logLevel":0,"product":{"nameShort":"Code

deepak1556 commented 3 years ago

Thanks for the logs, it helped identify the issues. There are two parts,

1) the issue with sandbox is tracked in https://github.com/microsoft/vscode/issues/126019 and will be fixed in next stable release.

2) The second issue is due to CXXABI incompatibility, this is tracked https://github.com/microsoft/vscode/issues/115784. Please follow that issue for updates. Thanks!