microsoft / vscode

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

TS Server fatal error: Debug Failure. False expression. #199878

Closed DaviMendesDev closed 11 months ago

DaviMendesDev commented 11 months ago

Type: Bug

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

TypeScript Version: 5.2.2

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.

TS Server Error Stack

Server: semantic

Error: Debug Failure. False expression.
    at ConfiguredProject2.updateGraphWorker (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:176958:11)
    at ConfiguredProject2.updateGraph (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:176817:32)
    at ConfiguredProject2.updateGraph (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:178072:24)
    at updateProjectIfDirty (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:178525:35)
    at _ProjectService.assignProjectToOpenedScriptInfo (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:180785:11)
    at /usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:181062:64
    at flatMap (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:2600:17)
    at _ProjectService.applyChangesInOpenFiles (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:181062:24)
    at updateOpen (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:182242:29)
    at /usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:184838:69
    at IpcIOSession.executeWithRequestId (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:184830:14)
    at IpcIOSession.executeCommand (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:184838:29)
    at IpcIOSession.onMessage (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:184880:51)
    at process.<anonymous> (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:186461:14)
    at process.emit (node:events:513:28)
    at emit (node:internal/child_process:937:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

VS Code version: Code - OSS 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-28T12:16:14.708Z) OS version: Linux x64 6.1.55-1-lts Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz (28 x 2893)| |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
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|3, 2, 2| |Memory (System)|31.19GB (22.52GB free)| |Process Argv|--unity-launch| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|undefined| |XDG_CURRENT_DESKTOP|undefined| |XDG_SESSION_DESKTOP|undefined| |XDG_SESSION_TYPE|tty|
Extensions (16) Extension|Author (truncated)|Version ---|---|--- language-x86-64-assembly|13x|3.1.4 Doxygen|bbe|1.0.0 vscode-intelephense-client|bme|1.10.1 cmake-format|che|0.6.13 doxdocgen|csc|1.4.0 gitlens|eam|14.5.1 prettier-vscode|esb|10.1.0 c-cpp-runner|fra|5.2.1 vscode-c-cpp-config|fra|4.1.0 vscode-c-cpp-dev-extension-pack|fra|0.10.0 better-cpp-syntax|jef|1.21.1 vetur|oct|0.37.3 laravel-intelephense|por|1.24.2 cmake|twx|0.0.17 vscode-lldb|vad|1.10.0 volar|Vue|1.8.24
vscodenpa commented 11 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.84.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

mjbvz commented 11 months ago

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

vscodenpa commented 11 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!