microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.94k stars 28.77k forks source link

inbuilt terminal keeps crashing with code 2 #147589

Closed ShivVohra closed 1 year ago

ShivVohra commented 2 years ago

Issue Type: Performance Issue

the terminal keeps crashing after being opened for few seconds.

VS Code version: Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:46:01.075Z) OS version: Windows_NT x64 10.0.19044 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2712)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| ![Screenshot 2022-04-16 233134](https://user-images.githubusercontent.com/97964718/163710548-673f4802-4716-46ce-939e-9372347d4f3b.png) |Load (avg)|undefined| |Memory (System)|7.88GB (3.63GB free)| |Process Argv|D:\\Python --crash-reporter-id 01027250-8313-4f70-a2ea-4e12e49bbd6f| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 109 10688 code main 0 38 4796 utility-network-service 0 188 7540 extensionHost 0 74 5688 "C:\Users\hp\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\hp\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=7540 0 133 9472 "C:\Users\hp\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\hp\.vscode\extensions\ms-python.vscode-pylance-2022.4.1\dist\server.bundle.js --cancellationReceive=file:724c764e6bc7ba64dfb515759ef8f4397299edd574 --node-ipc --clientProcessId=7540 0 167 9284 window (bill_splitter.py - Untitled (Workspace) - Visual Studio Code) 0 265 11692 gpu-process 0 97 12172 shared-process 0 71 1556 ptyHost 0 73 3276 fileWatcher 0 26 13420 crashpad-handler 1 87 13944 issue-reporter ```
Workspace Info ``` | Window (bill_splitter.py - Untitled (Workspace) - Visual Studio Code) | Folder (Python): 5 files | File types: py(5) | Conf files:; ```
Extensions (5) Extension|Author (truncated)|Version ---|---|--- python|ms-|2022.4.1 vscode-pylance|ms-|2022.4.1 jupyter|ms-|2022.3.1000901801 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.6
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 pythonvspyl392:30443607 pythontb:30283811 pythonvspyt551cf:30345471 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 pythonvsnew555:30457759 vscscmwlcmt:30465135 cppdebugcf:30466690 vscaac:30438847 ```
meganrogge commented 2 years ago

Can you share your settings.json file and also do a trace log while creating a terminal? https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-trace-logging /"needs-more-info"