microsoft / vscode

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

terminal is crashing #225254

Closed RAKSHITH13IGNATIUS closed 2 months ago

RAKSHITH13IGNATIUS commented 2 months ago

Type: Performance Issue

when i run my java program it just crashes the terminal and gives a balnk screen

VS Code version: Code 1.92.1 (eaa41d57266683296de7d118f574d0c2652e1fc4, 2024-08-07T20:16:39.455Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419)| |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: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|7.70GB (0.57GB free)| |Process Argv|--crash-reporter-id 7f1794c0-b0f2-432d-b71a-bf7472ccdf92| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 122 14128 code main 4 130 920 ptyHost 0 0 796 0 0 1064 0 0 812 0 0 892 0 23 1088 C:\WINDOWS\system32\svchost.exe -k ClipboardSvcGroup -p -s cbdhsvc 0 0 1148 0 0 1232 0 0 1304 0 37 320 C:\Windows\System32\RuntimeBroker.exe -Embedding 0 9 1268 C:\Windows\System32\RuntimeBroker.exe -Embedding 0 23 1748 "C:\WINDOWS\SystemApps\Microsoft.LockApp_cw5n1h2txyewy\LockApp.exe" -ServerName:WindowsDefaultLockScreen.AppX7y4nbzq37zn4ks9k7amqjywdat7d3j2z.mca 0 9 2392 C:\WINDOWS\system32\DllHost.exe /Processid:{7EAD5C10-8B3F-11E6-AE22-56B6B6499611} 0 71 2676 "C:\WINDOWS\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\SearchHost.exe" -ServerName:CortanaUI.AppXstmwaab17q5s3y22tp6apqz7a45vwv65.mca 0 2 2860 "C:\Windows\ImmersiveControlPanel\SystemSettings.exe" -ServerName:microsoft.windows.immersivecontrolpanel 0 7 3116 C:\WINDOWS\system32\DllHost.exe /Processid:{B21858C6-9711-4257-99C8-5C0084BEBCE1} 0 2 3360 "C:\WINDOWS\system32\backgroundTaskHost.exe" -ServerName:App.AppXfkd8mejksk4ancwf4vtyhmkvtzn1jcbs.mca 0 70 5004 "C:\WINDOWS\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" -ServerName:App.AppXywbrabmsek0gm3tkwpr5kwzbs55tkqay.mca 0 26 5960 C:\Windows\System32\RuntimeBroker.exe -Embedding 0 0 8464 0 19 8800 C:\Windows\System32\RuntimeBroker.exe -Embedding 0 7 9304 C:\Windows\System32\RuntimeBroker.exe -Embedding 0 0 9488 0 35 9904 C:\Windows\System32\RuntimeBroker.exe -Embedding 0 2 12452 "C:\WINDOWS\system32\backgroundTaskHost.exe" -ServerName:App.AppXmtcan0h2tfbfy7k9kn8hbxb6dmzz1zh0.mca 0 0 13852 0 10 13952 C:\Windows\System32\smartscreen.exe -Embedding 0 9 14196 C:\Windows\System32\CastSrv.exe CCastServerControlInteractiveUser -Embedding 0 46 15244 "C:\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_524.18500.10.0_x64__cw5n1h2txyewy\Dashboard\Widgets.exe" -ServerName:Microsoft.Windows.DashboardServer 0 6 1416 "C:\Program Files (x86)\Microsoft\EdgeWebView\Application\126.0.2592.113\msedgewebview2.exe" --embedded-browser-webview=1 --webview-exe-name=Widgets.exe --webview-exe-version=524.18500.30.0 --user-data-dir="C:\Users\91935\AppData\Local\Packages\MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy\LocalState\EBWebView" --noerrdialogs --disk-cache-size=52428800 --edge-webview-is-background --enable-features=MojoIpcz --lang=en-US --mojo-named-platform-channel-pipe=15244.7732.10139204342843242274 /pfhostedapp:aae6cf3671b5a350c8f5bf97ddf1126dcac7cc4d 0 0 5480 utility-process 0 8 8548 crashpad-handler 0 2 14392 utility-network-service 0 4 19984 gpu-process 0 6 20024 0 0 20952 window 0 29 16652 "C:\Program Files\WindowsApps\Microsoft.YourPhone_1.24071.86.0_x64__8wekyb3d8bbwe\PhoneExperienceHost.exe" -ComServer:Background -Embedding 0 27 18148 C:\Windows\System32\RuntimeBroker.exe -Embedding 0 57 18908 "C:\WINDOWS\SystemApps\ShellExperienceHost_cw5n1h2txyewy\ShellExperienceHost.exe" -ServerName:App.AppXtk181tbxbce2qsex02s8tw7hfxa9xb3t.mca 0 16 18928 C:\WINDOWS\system32\DllHost.exe /Processid:{973D20D7-562D-44B9-B70B-5A0F49CCDF3F} 0 0 19892 0 8 19900 C:\WINDOWS\system32\DllHost.exe /Processid:{AB8902B4-09CA-4BB6-B78D-A8F59079A8D5} 0 33 20000 C:\Windows\System32\SystemSettingsBroker.exe -Embedding 0 24 20736 C:\WINDOWS\system32\ApplicationFrameHost.exe -Embedding 0 9 21048 C:\Windows\System32\oobe\UserOOBEBroker.exe -Embedding 0 12 21128 "C:\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_524.18500.10.0_x64__cw5n1h2txyewy\Dashboard\widgetservice.exe" -RegisterProcessAsComServer -Embedding 0 56 21396 "C:\WINDOWS\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\TextInputHost.exe" -ServerName:InputApp.AppXk0k6mrh4r2q0ct33a9wgbez0x7v9cz5y.mca 0 0 1428 0 0 1436 0 0 1540 0 0 1656 0 0 1664 0 0 1684 0 0 1692 0 0 1700 0 0 1724 0 0 1772 0 7 1800 0 0 1848 0 0 1856 0 0 1864 0 0 1944 0 0 1972 0 0 2092 0 0 2112 0 0 2152 0 0 2224 0 16 3064 0 0 2260 0 33 17352 sihost.exe 0 0 2504 0 0 2536 0 0 2552 0 0 2664 0 0 2684 0 13 19352 "C:\WINDOWS\System32\DriverStore\FileRepository\cui_dch.inf_amd64_9e0fe91378671ddd\igfxEMN.exe" 0 0 2812 0 6 8004 "C:\WINDOWS\System32\LocationNotificationWindows.exe" 0 27 12936 0 23 15100 taskhostw.exe {222A245B-E637-4AE9-A93F-A59CA119A75E} 0 5 20764 "C:\WINDOWS\System32\DriverStore\FileRepository\realtekservice.inf_amd64_04ff63d068f8c626\RtkAudUService64.exe" -background 0 0 2840 0 0 2888 0 0 3056 0 0 3144 0 0 3212 0 0 3236 0 0 3284 0 31 3296 C:\WINDOWS\system32\svchost.exe -k UnistackSvcGroup -s WpnUserService 0 0 3416 0 0 3456 0 0 3596 0 0 3668 0 0 3704 0 0 3788 0 0 3864 0 0 3872 0 0 3948 0 0 4076 0 0 4100 0 0 4264 0 7 5644 0 0 4396 0 0 4860 0 0 5132 0 0 5220 0 0 5384 0 20 20768 "C:\Program Files\McAfee\WebAdvisor\UIHost.exe" 0 0 5388 0 0 5484 0 0 5520 0 0 5544 0 0 6992 0 0 6792 0 0 5640 0 0 5720 0 16 7264 "C:\WINDOWS\System32\DriverStore\FileRepository\asussci2.inf_amd64_9b2f1b4e956514ee\ASUSOptimization\AsusOptimizationStartupTask.exe" 0 0 5840 0 0 5876 0 0 5976 0 0 5980 0 0 6140 0 0 6204 0 0 6216 0 0 6240 0 20 10432 0 45 15040 "C:\Program Files\ASUS\AsusScreenXpert\AsusScreenXpertReunion.exe" 0 8 16888 "C:\Program Files\ASUS\AsusScreenXpert\AsusScreenXpertUserUI.exe" 0 0 6288 0 7 19672 0 0 6392 0 0 6400 0 0 6436 0 0 6456 0 0 6516 0 0 6532 0 0 7296 0 0 6564 0 0 6572 0 0 6624 0 0 12192 0 0 6700 0 0 6708 0 0 6716 0 0 6752 0 0 6892 0 0 6900 0 0 6912 0 0 6948 0 0 6976 0 0 7000 0 0 7040 0 0 9132 0 0 9196 0 0 7088 0 0 7128 0 0 7152 0 0 7184 0 0 7200 0 0 7216 0 0 7236 0 0 2452 0 0 8304 0 0 7256 0 13 13152 "C:\Users\91935\AppData\Local\Wondershare\Wondershare NativePush\WsToastNotification.exe" 0 12 4284 C:\WINDOWS\system32\conhost.exe 0x4 0 0 7316 0 0 7332 0 0 7456 0 31 17404 0 0 7476 0 0 7556 0 0 7576 0 0 7624 0 0 7644 0 0 7692 0 0 7704 0 0 7712 0 0 8944 0 0 10376 0 33 11424 0 0 12512 0 12 12552 C:\WINDOWS\system32\svchost.exe -k UdkSvcGroup -s UdkUserSvc 0 0 12748 0 0 13124 0 0 13216 0 15 13316 C:\WINDOWS\system32\svchost.exe -k LocalService -p -s NPSMSvc 0 23 13608 C:\WINDOWS\system32\svchost.exe -k DevicesFlow -s DevicesFlowUserSvc 0 8 13972 C:\WINDOWS\system32\svchost.exe -k LocalSystemNetworkRestricted -p -s webthreatdefusersvc 0 0 14840 0 0 15068 0 9 15076 C:\WINDOWS\system32\svchost.exe -k BthAppGroup -p -s BluetoothUserService 0 23 15372 0 66 15544 0 0 15696 0 0 16080 0 0 16268 0 0 16404 0 0 16952 0 7 17084 0 0 20088 0 21 20348 C:\WINDOWS\System32\svchost.exe -k UnistackSvcGroup 0 25 20740 C:\WINDOWS\system32\svchost.exe -k UnistackSvcGroup -s CDPUserSvc 0 0 20896 0 0 1072 0 0 1100 0 0 1340 0 0 984 0 6 4684 conpty-agent 1 7 7484 conpty-agent 0 65 10480 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\91935\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 1 58 14032 "C:\Program Files\Java\jdk-21\bin\java.exe" -XX:+ShowCodeDetailsInExceptionMessages -cp C:\Users\91935\AppData\Roaming\Code\User\workspaceStorage\82aa18cb101be4728fbf533d30a9eb2b\redhat.java\jdt_ws\java_d4f88375\bin newsec 0 7 12012 conpty-agent 0 65 13916 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\91935\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 0 66 16600 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\91935\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 0 47 12064 "C:\Program Files\Java\jdk-21\bin\java.exe" -XX:+ShowCodeDetailsInExceptionMessages -cp C:\Users\91935\AppData\Roaming\Code\User\workspaceStorage\82aa18cb101be4728fbf533d30a9eb2b\redhat.java\jdt_ws\java_d4f88375\bin tr 0 66 20316 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\91935\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 0 7 20964 conpty-agent 0 27 8308 crashpad-handler 0 101 11880 window [2] (Issue Reporter) 0 70 13268 shared-process 1 284 16284 window [1] (tr.java - java - Visual Studio Code) 0 39 18228 utility-network-service 0 216 19120 gpu-process 1 150 20052 extensionHost [1] 0 191 2056 "C:\Users\91935\AppData\Local\Programs\Microsoft VS Code\Code.exe" c:\Users\91935\.vscode\extensions\streetsidesoftware.code-spell-checker-3.0.1\packages\_server\dist\main.cjs --node-ipc --clientProcessId=20052 0 36 9936 electron-nodejs (server.js ) 0 325 16204 c:\Users\91935\.vscode\extensions\redhat.java-1.33.0-win32-x64\jre\17.0.11-win32-x86_64\bin\java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable -javaagent:c:\Users\91935\.vscode\extensions\redhat.java-1.33.0-win32-x64\lombok\lombok-1.18.33.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\Users\91935\AppData\Roaming\Code\User\workspaceStorage\82aa18cb101be4728fbf533d30a9eb2b\redhat.java -Daether.dependencyCollector.impl=bf -jar c:\Users\91935\.vscode\extensions\redhat.java-1.33.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.6.900.v20240613-2009.jar -configuration c:\Users\91935\AppData\Roaming\Code\User\globalStorage\redhat.java\1.33.0\config_win -data c:\Users\91935\AppData\Roaming\Code\User\workspaceStorage\82aa18cb101be4728fbf533d30a9eb2b\redhat.java\jdt_ws --pipe=\\.\pipe\lsp-dbe20f7ab5844c2a336750d529fdf484-sock 0 5 21168 "C:\Program Files\Git\cmd\git.exe" status -z -uall 1 112 5536 git.exe status -z -uall 0 10 20908 C:\WINDOWS\system32\conhost.exe 0x4 0 48 20332 fileWatcher [1] ```
Workspace Info ``` | Window (tr.java - java - Visual Studio Code) | Folder (java): 8 files | File types: java(6) json(1) | Conf files: settings.json(1); ```
Extensions (25) Extension|Author (truncated)|Version ---|---|--- vsc-material-theme|Equ|34.5.2 vsc-material-theme-icons|equ|3.8.2 prettier-vscode|esb|10.4.0 vscode-pull-request-github|Git|0.94.0 rest-client|hum|0.25.1 autoclose|mar|0.0.1 vscode-docker|ms-|1.29.1 debugpy|ms-|2024.10.0 python|ms-|2024.12.2 vscode-pylance|ms-|2024.8.1 remote-containers|ms-|0.380.0 remote-wsl|ms-|0.88.2 live-server-preview|neg|0.1.4 java|red|1.33.0 vscode-java-checkstyle|ria|0.2.0 LiveServer|rit|5.7.9 code-spell-checker|str|3.0.1 open-in-browser|tec|2.0.0 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 vscode-java-debug|vsc|0.58.0 vscode-java-dependency|vsc|0.24.0 vscode-java-pack|vsc|0.28.0 vscode-java-test|vsc|0.42.0 vscode-maven|vsc|0.44.0
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 da93g388:31013173 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 newcmakeconfigv2:31071590 impr_priority:31102340 nativerepl2:31104044 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-t:31111718 wkspc-ranged-t:31111713 ```
gjsjohnmurray commented 2 months ago

/duplicate of #225253

vs-code-engineering[bot] commented 2 months ago

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!