You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VSCode crash on start after packages updated on kubuntu 21.10 (development branch) #132455
chromiumIssues and items related to Chromiumfixed-in-electron-14Issues fixed with Electron 14.x updategpuIssues concerning GPU related itemslinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
# /usr/share/code/code
[main 2021-09-06T12:15:47.061Z] update#setState idle
[2930:0906/221547.065651:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=159
[2930:0906/221547.373376:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=159
[2930:0906/221547.534308:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=159
[3036:0906/221547.552065:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader
[2930:0906/221547.640368:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=159
[3040:0906/221547.648768:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader
[2930:0906/221547.743235:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=159
[3044:0906/221547.751366:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader
[2930:0906/221547.839606:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=159
[3048:0906/221547.843726:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled
[2930:0906/221547.952225:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=159
[3052:0906/221547.955907:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled
[2930:0906/221548.067570:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=159
[3056:0906/221548.071281:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled
[2930:0906/221548.175118:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=159
[2930:0906/221548.175137:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.Server response: Server response: Недопустимая инструкция (стек памяти сброшен на диск)
Last message is "Unsupported instruction (stacktrace dumped to disk)"
This bug has been fixed in the latest release of VS Code Insiders!
zorn-v, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version 1b9403c of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
I just tested and got the same results as hadlm: Same 159 exit codes and "GPU process isn't usable" s in the log when using --enable-gpu-debugging, whereas using --disable-gpu-sandbox causes it to work without crashing.
Run with code --disable-gpu --disable-software-rasterizer as workaround
By the way, sometimes need to run it several times to run code without crash.
With --disable-gpu-sandbox it run more stable, but I don't want to disable sandbox.
chromiumIssues and items related to Chromiumfixed-in-electron-14Issues fixed with Electron 14.x updategpuIssues concerning GPU related itemslinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
Activity
hadim commentedon Sep 6, 2021
Same here using Ubuntu 21.10 dev.
hadim commentedon Sep 6, 2021
Traceback:
zorn-v commentedon Sep 7, 2021
Run with
code --disable-gpu --disable-software-rasterizeras workaroundhadim commentedon Sep 7, 2021
Any chance to use VSCode without disabling the GPU? Is it something that should be fixed on the VSCode side or Ubuntu side?
deepak1556 commentedon Sep 8, 2021
Can you attach the crash dump following these steps https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-and-symbolicating-local-crash-reports, thanks!
zorn-v commentedon Sep 8, 2021
e5334fb3-8432-413d-a5f5aa8e-3a076d3d.dmp.gz
hadim commentedon Sep 8, 2021
b039eaa1-540a-4554-8e58f799-fc055e93.zip
deepak1556 commentedon Sep 9, 2021
Thanks for the logs, can you also confirm your systemd versions
systemctl --version, wondering if you are hitting #132609zorn-v commentedon Sep 9, 2021
15 remaining items
vscode-triage-bot commentedon Sep 22, 2021
This bug has been fixed in the latest release of VS Code Insiders!
zorn-v, you can help us out by commenting
/verifiedif things are now working as expected.If things still don't seem right, please ensure you're on version 1b9403c of Insiders (today's or later - you can use
Help: Aboutin the command palette to check), and leave a comment letting us know what isn't working as expected.Happy Coding!
zorn-v commentedon Sep 22, 2021
In message above, Hadrien Mary (@hadim) use exacly that version and it is not working as expected.
deepak1556 commentedon Sep 22, 2021
Thanks for verifying, can you provide the following additional data to help debug further
code-insiders --verbose --enable-gpu-debugging--disable-gpu-sandbox?hadim commentedon Sep 22, 2021
crash.zip
No I can't reproduce with that flag. Code works correctly.
3vi1 commentedon Sep 22, 2021
I just tested and got the same results as hadlm: Same 159 exit codes and "GPU process isn't usable" s in the log when using --enable-gpu-debugging, whereas using --disable-gpu-sandbox causes it to work without crashing.
zorn-v commentedon Sep 22, 2021
By the way, sometimes need to run it several times to run code without crash.
With
--disable-gpu-sandboxit run more stable, but I don't want to disable sandbox.deepak1556 commentedon Sep 23, 2021
Thanks for the logs, the root issue has been narrowed down. Merging to #133593
chore: bump [email protected]