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

**The window terminated unexpectedly (reason: ‘crashed’, code: ‘5’)** #242773

Closed
TolardTuran opened this issue Mar 6, 2025 · 15 comments
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@TolardTuran
Copy link

Type: Performance Issue

it crashes every 30 seconds after last update

VS Code version: Code 1.98.0 (6609ac3, 2025-03-04T21:06:18.612Z)
OS version: Linux arm64 6.6.74+rpt-rpi-2712
Modes:

System Info
Item Value
CPUs Cortex-A76 (4 x 2400)
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
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 2, 2, 1
Memory (System) 7.86GB (5.41GB free)
Process Argv
Screen Reader no
VM 0%
DESKTOP_SESSION LXDE-pi
XDG_CURRENT_DESKTOP LXDE
XDG_SESSION_DESKTOP LXDE-pi-x
XDG_SESSION_TYPE x11
Process Info
CPU %	Mem MB	   PID	Process
    1	   241	  5502	code main
    0	    89	  5505	   zygote
    0	   113	  5541	     gpu-process
    0	    89	  5506	   zygote
    0	    24	  5508	     zygote
    0	   113	  5546	   utility-network-service
    4	   185	  5609	shared-process
    0	     0	  6116	     /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	  6117	       /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	   153	  6034	fileWatcher [6]
    0	   201	  6044	extensionHost [6]
Workspace Info
|  Window (main.cpp - Tolard3d - Visual Studio Code)
|    Folder (Tolard3d): 1447 files
|      File types: png(309) json(144) cmake(101) txt(69) cpp(69) o(67) h(67)
|                  a(40) ttf(23) xml(18)
|      Conf files: cmake(101) launch.json(1) settings.json(1) tasks.json(1)
|      Launch Configs: cppdbg;
Extensions: none
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
5a9hg449:31230677
hdaa2157:31222309
copilot_t_ci:31222730
jda6j935:31233686
5b33h341:31253271

@bogacg
Copy link

bogacg commented Mar 6, 2025

I just had a similar problem (different error code). Downgrading to 1.97.2 works:

Arm64 1.97.2 Deb package

@AcidVienna
Copy link

same here - always when some new extensions or updates are loaded

@jdbruner
Copy link

jdbruner commented Mar 6, 2025

Same for me, making VSCode on the Raspberry Pi unusable.

@richiephp
Copy link

The fact they don't have a report option in the help menu, suggest to me they don't want to support Linux based problems, just their darlings Operating Systems like MacOS and Windows

@Prolora
Copy link

Prolora commented Mar 7, 2025

In my case (Pi 5 Bookworm) I suspect it may be related to a) vs code running when the update was applied and/or b) a venv active in the vs code terminal. It did not occur on my Pi 4 Bookworm system where vs code was not running at the time of the update. Also, Sourcegraph Cody extension was active.

@richiephp
Copy link

In my case (Pi 5 Bookworm) I suspect it may be related to a) vs code running when the update was applied and/or b) a venv active in the vs code terminal. It did not occur on my Pi 4 Bookworm system where vs code was not running at the time of the update. Also, Sourcegraph Cody extension was active.

How does software crash when its not running? My venv wasn't running at the time of crashing

@MarcoPieters
Copy link

MarcoPieters commented Mar 7, 2025

same for me. version 1.98 crashes after a few seconds on RPi5 Debian linux.
Installed older version (1.97) with following commands:

VERSION="1.97.2" # Change this to the version you want
wget "https://update.code.visualstudio.com/$VERSION/linux-deb-arm64/stable" -O vscode.deb
sudo apt install ./vscode.deb

sudo apt-mark hold code

@jdbruner
Copy link

jdbruner commented Mar 7, 2025

This does not repro for me on a 64-bit Intel box running Ubuntu 24.05.

@jdbruner jdbruner mentioned this issue Mar 7, 2025
@gjsjohnmurray
Copy link
Contributor

See #242844 (comment)

@jdbruner
Copy link

jdbruner commented Mar 7, 2025

Also see #242843

You can work around it by launching it from bash with code --js-flags="--nodecommit_pooled_pages"

@gjsjohnmurray
Copy link
Contributor

/duplicate

@vs-code-engineering vs-code-engineering bot added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 7, 2025
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 7, 2025
@drmikecooke
Copy link

A link to the other issue would be helpful, rather than just telling us all to search for it (which I have just done and come here from my own issue where I got the identical response from https://github.com/apps/vs-code-engineering

@drmikecooke
Copy link

Found it: #242742

Looks like will be fixed in the March release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

11 participants