-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
VS Code crashes at startup with 1.86 version on Ubuntu 22.04 #204159
Comments
I am also experiencing this issue |
Please attach the crash logs following the steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report |
Does it also crash when disabling the sandbox, |
It does also crash when using dumpfile.zip |
Same issue as OP
Still crashes with: |
For me it also crashes with: --disable-gpu and code --disable-chromium-sandbox Attached you will find ziped files produced with --crash-reporter-directory flag. |
I experience the same problem. Here is the crash from |
I have the same issue. |
I've slowly been having this issue over the last few months with Electron programs as they update, I believe it's likely due to a recent Electron change? |
Thanks for the crash logs, it does indicate an OOM crash in the accelerated video decode code path. Please try the workaround mentioned by @Sneppys
|
Looks like it is tracked in https://issues.chromium.org/issues/40285787 |
I can confirm that this workaround works from command line (--disable-accelerated-video-decode) with additional warning: However it does not work if put in vscode config file argv.json. |
Thanks for confirming!
We don't support all chromium flags in this file, only a subset defined here |
Thank you @Sneppys. I've been trying to find a solution to this problem for many months and after trying several things, what worked here for me was the parameter you indicated |
i try this code --disable-accelerated-video-decode and then i get this output Warning: 'disable-accelerated-video-decode' is not in the list of known options, but still passed to Electron/Chromium. |
It seems the May release of vscode is breaking on Ubuntu 24.04 (at least it is for me). Solution
|
Can confirm that this works also on Ubuntu 22.04. |
Funny @magick93 you posted that 38 minutes ago as of the time I'm writing this, and I spent the last hour or so trying to fix this. Good timing! |
just now tried to go with |
Same for me. Works on Fedora release 36 |
Thank this worked for my Ubuntu 23.10 |
Thank you. This worked for me. |
Can confirm that this works also on Ubuntu 20.04. |
Hi all, seems like there is a bit of confusion here. The crash on startup using 1.90 snap package is tracked in #212494. This issue is unrelated to it. |
Hi, I'm experiencing the same issue. |
This worked for me |
this solution has worked for me and i agree it seems there is a breaking change that has been introduced |
You guys don't need to downgrade to 1.89. The latest 1.90.0 deb version from https://code.visualstudio.com/download works just fine. It's just the snap version that is broken. (And the correct ticket for that is #212494 as mentioned above.) |
Perfect, this works also for me. Thank you very much! |
Installing the 1.90.0 deb version works! Thank you guys! |
Hi, using the solution pointed in #212494 worked for me, no need to reinstall / downgrade: |
Thanks a lot for the solution!!! |
This works, thanks a lot! |
It works here too. |
Can confirm that this worked for me on Ubuntu 24.04, but I think that I will just |
i have ubuntu and got this error.
|
This worked for me, thank you! |
Works on Ubuntu 23.10 too |
I am locking this issue, since the comments about 1.90 crash is unrelated and is diverging the original issue. |
Type: Bug
Logs says it is because of GPU crash, disable gpu with --disable-gpu doesn't help.
After downgrade to 1.85.1 it works fine. Report was made on 1.85.1 version as 1.86.0 is crashing immediately.
OS: Ubuntu 22.04
[main 2024-02-02T16:06:20.571Z] IPC Object URL: Registered new channel vscode:981b32c9-da60-4c41-a4f3-b421ee9b1233.
[main 2024-02-02T16:06:20.571Z] window#validateWindowState: validating window state on 3 display(s) { mode: 0, x: 838, y: 52, width: 855, height: 445 }
[main 2024-02-02T16:06:20.571Z] window#validateWindowState: multi-monitor working area { x: 0, y: 28, width: 1684, height: 919 }
[main 2024-02-02T16:06:20.571Z] window#ctor: using window state { mode: 0, x: 838, y: 52, width: 855, height: 445 }
[main 2024-02-02T16:06:20.617Z] window#load: attempt to load window (id: 2)
[main 2024-02-02T16:06:20.621Z] StorageMainService: creating workspace storage (b13d82f963dfe78b145cc7ed7aa145cc)
[main 2024-02-02T16:06:20.622Z] windowsManager#open used window count 2 (workspacesToOpen: 0, foldersToOpen: 3, emptyToRestore: 0, emptyToOpen: 0)
[main 2024-02-02T16:06:20.623Z] lifecycle (main): phase changed (value: 3)
[main 2024-02-02T16:06:20.623Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
[main 2024-02-02T16:06:20.624Z] update#setState idle
[1990896:0202/170620.671564:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=5
[1990896:0202/170620.671585:WARNING:gpu_process_host.cc(1364)] The GPU process has crashed 5 time(s)
[1990896:0202/170620.708963:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=5
[1990896:0202/170620.708974:WARNING:gpu_process_host.cc(1364)] The GPU process has crashed 6 time(s)
[1990896:0202/170620.708980:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
[0202/170620.714640:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0202/170620.714726:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0202/170620.714765:ERROR:elf_dynamic_array_reader.h(64)] tag not found
VS Code version: Code 1.85.1 (0ee08df, 2023-12-13T09:47:11.635Z)
OS version: Linux x64 6.5.0-14-generic
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: disabled_off
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: disabled_off
webgl2: disabled_off
webgpu: disabled_off
Extensions (124)
(8 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: