Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode crashes on start when installed on UNC path or network drive: launch-failed, code 18 #190669

Closed
imthematrix opened this issue Aug 17, 2023 · 4 comments
Assignees
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues sandbox Running VSCode in a node-free environment

Comments

@imthematrix
Copy link

imthematrix commented Aug 17, 2023

Type: Bug

VSCode crashes on start. This prompt is shown but the app crashes and the prompt disappears without clicking on Close.

grafik

I have downloaded the VSCode .zip version and tested both the lastest stable and Insiders build.


VS Code version: Code - Insiders 1.82.0-insider (ccb95fd, 2023-08-17T05:33:29.141Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz (16 x 2600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 64.00GB (39.28GB free)
Process Argv --no-sandbox --disable-gpu-sandbox --crash-reporter-id c45a6380-599d-461b-9383-7f861c4051a8
Screen Reader no
VM 100%
Extensions: none
@dbaeumer dbaeumer assigned deepak1556 and bpasero and unassigned dbaeumer Aug 17, 2023
@bpasero bpasero removed their assignment Aug 17, 2023
@bpasero bpasero added freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues sandbox Running VSCode in a node-free environment labels Aug 17, 2023
@deepak1556
Copy link
Collaborator

Yup the runtime sandbox does not support your current UNC environment, this is captured in #122951

Please use the persistent setting mentioned in https://code.visualstudio.com/updates/v1_80#_disable-chromium-sandbox as a workaround.

@imthematrix
Copy link
Author

imthematrix commented Aug 18, 2023

Yup the runtime sandbox does not support your current UNC environment, this is captured in #122951

I don't think the process is running with elevated rights in my case. I'm not on an admin account. Also, I'm not sure if we are using AppLocker. I have never heard of it before.

@deepak1556
Copy link
Collaborator

Sorry, that is the wrong issue. UNC path issue for sandbox is tracked in #185173

@imthematrix
Copy link
Author

imthematrix commented Aug 21, 2023

Oh okey. Then you're right, it's a duplicate. I have googled beforehand but this exit code seems to happen fairly often. Didn't find any exact match to this problem.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues sandbox Running VSCode in a node-free environment
Projects
None yet
Development

No branches or pull requests

5 participants