microsoft / vscode

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

TS Server fatal error: Maximum call stack size exceeded #210547

Closed alizaali9 closed 7 months ago

alizaali9 commented 7 months ago

Type: Bug

❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️

TypeScript Version: 5.4.3

Steps to reproduce crash

1. 2. 3.

TS Server Log

❗️ Server logging disabled. To help us fix crashes like this, please enable logging by setting:

"typescript.tsserver.log": "verbose"

After enabling this setting, future crash reports will include the server log.

VS Code version: Code 1.88.0 (Universal) (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:28:18.899Z) OS version: Darwin arm64 23.0.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |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
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|9, 5, 5| |Memory (System)|8.00GB (0.12GB free)| |Process Argv|--crash-reporter-id bff7ad11-0946-411c-a45d-779e62e162c0| |Screen Reader|no| |VM|0%|
Extensions (62) Extension|Author (truncated)|Version ---|---|--- vscode-javascript-snippet-pack|aka|0.1.6 laravel-extra-intellisense|ami|0.6.5 vscode-color|ans|0.4.5 laravel-blade-spacer|aus|2.3.0 vscode-intelephense-client|bme|1.10.4 vscode-tailwindcss|bra|0.10.5 path-intellisense|chr|2.8.5 laravel-goto-view|cod|1.3.11 devdb|dam|1.7.1 dart-code|Dar|3.86.0 flutter|Dar|3.86.0 githistory|don|0.6.20 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|14.9.0 vscode-html-css|ecm|2.0.9 EditorConfig|Edi|0.16.4 vscode-npm-script|eg2|0.3.29 react-native-react-redux|EQu|2.0.6 vsc-material-theme|Equ|34.3.1 vsc-material-theme-icons|equ|3.6.0 prettier-vscode|esb|10.4.0 figma-vscode-extension|fig|0.3.4 flow-for-vscode|flo|2.2.1 auto-close-tag|for|0.5.15 auto-complete-tag|for|0.1.0 auto-rename-tag|for|0.1.10 codespaces|Git|1.16.19 remotehub|Git|0.62.0 laravel-create-view|gli|0.0.6 laravel-blade-wrapper|IHu|1.0.1 search-node-modules|jas|1.3.0 react-native-snippet|jun|0.5.6 start-git-bash|McC|1.2.1 vscode-language-babel|mgm|0.0.40 git-graph|mhu|1.30.0 dotenv|mik|1.0.1 mongodb-vscode|mon|1.5.0 vscode-docker|ms-|1.29.0 debugpy|ms-|2024.4.0 python|ms-|2024.4.1 vscode-pylance|ms-|2024.4.1 remote-wsl|ms-|0.88.0 azure-repos|ms-|0.38.0 remote-repositories|ms-|0.40.0 vscode-react-native|msj|1.13.0 laravel-goto-components|nao|1.2.0 color-highlight|nau|2.8.0 laravel-blade|one|1.36.0 laravel-extension-pack|one|1.3.0 laravel5-snippets|one|1.18.0 laravel-jump-controller|pgl|0.0.33 material-icon-theme|PKi|4.34.0 vscode-thunder-client|ran|2.21.2 format-html-in-php|rif|1.7.0 LiveServer|rit|5.7.9 es7-react-js-snippets|rod|1.9.3 laravel-artisan|rya|0.0.31 vscode-blade-formatter|shu|0.24.2 tabnine-vscode|Tab|3.91.0 vscode-gradle|vsc|3.13.5 gitblame|wad|10.10.0 JavaScriptSnippets|xab|1.8.0
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 d34g3935:30971562 fegfb526:30981948 bg6jg535:30979843 ccp2r3:30993541 dsvsc020:30976470 pythonait:31006305 gee8j676:31009558 chatpanelt:31018789 dsvsc021:30996838 bdiig495:31013172 ```
vscodenpa commented 7 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.88.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

alizaali9 commented 7 months ago

Done It is Solved