microsoft / vscode

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

JS crashes #201800

Closed gabrielcdiniz closed 8 months ago

gabrielcdiniz commented 9 months ago

Type: Bug

I only open the project and broke. My project contain PHP (with Symfony framework) and a sub-project React JS.

VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z) OS version: Windows_NT x64 10.0.22621 Modes: Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 4800H with Radeon Graphics (16 x 2894)| |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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.37GB (15.61GB free)| |Process Argv|--folder-uri vscode-remote://wsl%2Bubuntu/home/gabrielcdiniz/projects/evino/seller-portal/catawba --crash-reporter-id cef02b51-30d4-41b1-8b1e-d4ca4f0e9c69| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.10.16.3-microsoft-standard-WSL2| |CPUs|AMD Ryzen 7 4800H with Radeon Graphics (16 x 2894)| |Memory (System)|15.32GB (11.83GB free)| |VM|0%|
Extensions (57) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 catppuccin-vsc|Cat|3.9.0 codesandbox-projects|Cod|0.2.121 aws-cloudformation-yaml|Dan|0.2.2 vsc-material-theme-icons|equ|3.3.1 vscode-drawio|hed|1.6.6 vscode-peacock|joh|4.2.2 vscord|Leo|5.1.18 dotenv|mik|1.0.1 jupyter-keymap|ms-|1.1.2 remote-containers|ms-|0.327.0 remote-ssh|ms-|0.107.1 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.81.8 remote-explorer|ms-|0.4.1 remote-server|ms-|1.5.0 material-icon-theme|PKi|4.32.0 excalidraw-editor|pom|3.7.1 errorlens|use|3.16.0 codesnap|adp|1.3.4 vscode-markdownlint|Dav|0.53.0 vscode-eslint|dba|2.4.2 bracket-pair-toggler|dzh|0.0.3 EditorConfig|Edi|0.16.4 prettier-vscode|esb|10.1.0 vscode-todo-plus|fab|4.19.1 vscode-github-actions|git|0.26.2 vscode-test-explorer|hbe|2.21.1 vscode-env|Iro|0.1.0 svg|joc|1.5.3 vscode-colorize|kam|0.11.1 favorites|kdc|2.4.5 git-graph|mhu|1.30.0 mongodb-vscode|mon|1.3.1 vscode-docker|ms-|1.28.0 vscode-language-pack-pt-BR|MS-|1.85.2023121309 vscode-kubernetes-tools|ms-|1.3.15 playwright|ms-|1.0.20 python|ms-|2023.22.1 vscode-pylance|ms-|2023.12.1 jupyter|ms-|2023.11.1003402403 jupyter-keymap|ms-|1.1.2 test-adapter-converter|ms-|0.1.8 vsliveshare|ms-|1.0.5900 indent-rainbow|ode|8.3.1 vscode-jest|Ort|5.2.3 explorer-exclude|Pet|1.3.2 polacode|pnp|0.3.4 prisma|Pri|5.7.1 vscode-yaml|red|1.14.0 fortnite-vscode-theme|sdr|1.3.0 code-spell-checker|str|3.0.1 code-spell-checker-portuguese-brazilian|str|2.2.1 alphabetical-sorter|ue|2.0.1 vscode-mdx|uni|1.6.1 markdown-all-in-one|yzh|3.5.1 vitest-explorer|Zix|0.2.43 (7 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vslsvsres303:30308271 vshan820:30294714 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 py29gd2263:30899288 vsclangdc:30486549 c4g48928:30535728 azure-dev_surveyone:30548225 f6dab269:30613381 962ge761:30917236 pythongtdpath:30769146 i26e3531:30792625 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2cf:30928864 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 accentitlementst:30887150 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 aa_t_chat:30882232 dsvsc019:30917259 cp7184t3:30927821 ```
mjbvz commented 8 months ago

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

If it does, please share the server crash logs:

  1. Set "typescript.tsserver.log": "verbose"
  2. Restart VS Code and reproduce the problem
  3. Open the TypeScript section of the output panel
  4. At the very top, find the first line that prints to path to the semantic error log file. It should look something like:

    [Info  - 19:54:59.247] <semantic> Log file: /Users/matb/Library/Application Support/Code - Insiders/logs/20200213T104930/exthost55/vscode.typescript-language-features/tsserver-log-ZT2zau/tsserver.log

    That file contains the typescript logs.

Look through that log file for the first error or stack trace you see. If you can share the log, I can also take a look to see if anything stands out

⚠️Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this

vscodenpa commented 8 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!