Vscode crashing constantly

Open
#318,951 1 comment 2 reactions 1 assignee View on GitHub

@deepak1556 is already working on this.

Since May 29, 2026.

Assessment

This issue has not been assessed yet.

Description

Type: Bug

Hi,
Vscode was running fine without any issue but has started crashing now after 1-2 frequently. I open the app in my workspace, do nothing and still it crashes. Also, it is creating a process called "rg" which is consuming 50% of the cpu. When I ran in verbose I got the following error:

[15156:0529/130833.060608:INFO:CONSOLE:414] "%cDEBUG background: #eee; color: #888 [perf] SLOW task detected (8369ms) but renderer profiling is disabled via 'application.experimental.rendererProfiling'", source: vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (414)
<--- Last few GCs --->

[1:0x231c004c8000] 171392 ms: Scavenge (during sweeping) 3923.1 (3983.4) -> 3920.1 (3987.7) MB, pooled: 0.0 MB, 5.07 / 0.00 ms (average mu = 0.356, current mu = 0.323) allocation failure;
[1:0x231c004c8000] 172692 ms: Mark-Compact (reduce) 3925.2 (3989.2) -> 3922.8 (3977.2) MB, pooled: 0.0 MB, 785.79 / 0.10 ms (+ 385.2 ms in 65 steps since start of marking, biggest step 14.0 ms, walltime since start of marking 1298 ms) (average mu = 0.31
[15226:0529/130839.041790:ERROR:third_party/blink/renderer/bindings/core/v8/v8_initializer.cc:855] V8 javascript OOM (Ineffective mark-compacts near heap limit).
[0529/130839.142842:ERROR:third_party/crashpad/crashpad/util/file/directory_reader_posix.cc:43] opendir /home/rajasjoshi/.config/Code/Crashpad/attachments/6b4f5deb-bd07-4f88-a2e4-d6b4d222ed37: No such file or directory (2)
[0529/130839.398532:ERROR:third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc:472] curl_easy_perform: Failure when receiving data from the peer (56)
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
[main 2026-05-29T12:08:40.063Z] CodeWindow: renderer process gone (reason: crashed, code: 132)
[main 2026-05-29T12:08:40.244Z] [UtilityProcess id: 2, type: extensionHost, pid: 15348]: received exit event with code 0
[main 2026-05-29T12:08:40.245Z] Extension host with pid 15348 exited with code: 0, signal: unknown.
Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed
at s.send (node:electron/js2c/browser_init:2:101803)
at b.send (node:electron/js2c/browser_init:2:86230)
at Mf.send (file:///usr/share/code/resources/app/out/main.js:412:16130)
at Wd.sendBuffer (file:///usr/share/code/resources/app/out/main.js:407:13539)
at Wd.send (file:///usr/share/code/resources/app/out/main.js:407:13479)
at Wd.sendResponse (file:///usr/share/code/resources/app/out/main.js:407:13332)
at Ma.value (file:///usr/share/code/resources/app/out/main.js:408:336)
at b._deliver (file:///usr/share/code/resources/app/out/main.js:406:3244)
at b._deliverQueue (file:///usr/share/code/resources/app/out/main.js:406:3333)
at b.fire (file:///usr/share/code/resources/app/out/main.js:406:3667)
at Ma.value (file:///usr/share/code/resources/app/out/main.js:422:13884)
at b._deliver (file:///usr/share/code/resources/app/out/main.js:406:3244)
at b.fire (file:///usr/share/code/resources/app/out/main.js:406:3562)
at ForkUtilityProcess.Z (file:///usr/share/code/resources/app/out/main.js:404:9487)
at ForkUtilityProcess.emit (node:events:519:28)
at ForkUtilityProcess.a.emit (node:electron/js2c/browser_init:2:82184)
Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed
at s.send (node:electron/js2c/browser_init:2:101803)
at b.send (node:electron/js2c/browser_init:2:86230)
at Mf.send (file:///usr/share/code/resources/app/out/main.js:412:16130)
at Wd.sendBuffer (file:///usr/share/code/resources/app/out/main.js:407:13539)
at Wd.send (file:///usr/share/code/resources/app/out/main.js:407:13479)
at Wd.sendResponse (file:///usr/share/code/resources/app/out/main.js:407:13332)
at Ma.value (file:///usr/share/code/resources/app/out/main.js:408:336)
at b._deliver (file:///usr/share/code/resources/app/out/main.js:406:3244)
at b.fire (file:///usr/share/code/resources/app/out/main.js:406:3562)
at file:///usr/share/code/resources/app/out/main.js:404:8668
at Ma.value (file:///usr/share/code/resources/app/out/main.js:404:6268)
at b._deliver (file:///usr/share/code/resources/app/out/main.js:406:3244)
at b._deliverQueue (file:///usr/share/code/resources/app/out/main.js:406:3333)
at b.fire (file:///usr/share/code/resources/app/out/main.js:406:3667)
at Ma.value (file:///usr/share/code/resources/app/out/main.js:404:6127)
at b._deliver (file:///usr/share/code/resources/app/out/main.js:406:3244)
at b.fire (file:///usr/share/code/resources/app/out/main.js:406:3562)
at EventEmitter.Z (file:///usr/share/code/resources/app/out/main.js:404:9487)
at EventEmitter.emit (node:events:531:35)
at BrowserWindow. (node:electron/js2c/browser_init:2:18502)
at BrowserWindow.emit (node:events:519:28)
[main 2026-05-29T12:08:40.865Z] [UtilityProcess id: 1, type: fileWatcher, pid: 15363]: received exit event with code 0
[main 2026-05-29T12:08:40.866Z] [UtilityProcessWorker]: terminated normally with code 0, signal: unknown
Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed

VS Code version: Code 1.122.1 (8761a5560cfd65fdd19ce7e2bd18dab5c0a4d84e, 2026-05-29T09:25:37+02:00)
OS version: Linux x64 7.0.0-15-generic
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz (8 x 3888)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x25a5, DRIVER_VENDOR=Mesa, DRIVER_VERSION=26.0.3
GPU1: VENDOR= 0x8086, DEVICE=0x9a49, DRIVER_VENDOR=Mesa, DRIVER_VERSION=26.0.3 ACTIVE
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 3, 6, 5
Memory (System) 22.66GB (17.71GB free)
Process Argv --crash-reporter-id b0eb1bc7-0c71-4f88-b3c8-392bd3c9ba7d
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP ubuntu:GNOME
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE wayland
Extensions (10)
Name Identifier Author Version
Black Formatter ms-python.black-formatter ms-python 2026.4.0
Python Debugger ms-python.debugpy ms-python 2026.6.0
isort ms-python.isort ms-python 2026.6.0
Python ms-python.python ms-python 2026.4.0
Pylance ms-python.vscode-pylance ms-python 2026.2.1
Python Environments ms-python.vscode-python-envs ms-python 1.30.0
Remote - SSH ms-vscode-remote.remote-ssh ms-vscode-remote 0.123.0
Remote - SSH: Editing Configuration Files ms-vscode-remote.remote-ssh-edit ms-vscode-remote 0.87.0
C/C++ ms-vscode.cpptools ms-vscode 1.32.2
Remote Explorer ms-vscode.remote-explorer ms-vscode 0.5.0
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsdeactivate2:31505458
cloudbuttont:31379625
3efgi100_wstrepl:31403338
839jf696:31457053
ec5jj548:31422691
cp_cls_t_966_ss:31454198
inlinechat_v2_hd992725:31505030
4je02754:31466945
c3h7c220:31478652
38bie571_auto:31426784
cp_cls_t_1081:31454832
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
control_6dc23131:31520950
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
h08i8180:31475369
23c7c724:31520045
ddid_t:31478206
hmra_i5g22:31518061
getcmakediagnosticson:31489824
7df3h592:31512476
cp_cls_t_1082:31516087
logging_enabled_new:31498466
db5d2638:31499441
nes-extended-cfe-himalia-004:31500446
jb_cp_cls_c_632:31517842
56dj4588:31512888
32d76977:31512328
ha629193:31508444
nes-charagree-ctrl:31521373
31fi7170_t:31522396
jh5f2457_c:31515489
61138546:31518536

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.