Skip to content

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

@jsuryahyd

Description

@jsuryahyd

Issue Type: Bug

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

TypeScript Version: 4.4.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: syntax

Error: Debug Failure. False expression.
    at ProjectService.assignProjectToOpenedScriptInfo (/snap/code/73/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js:165509:30)
    at /snap/code/73/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js:165784:97
    at Object.flatMap (/snap/code/73/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js:519:25)
    at ProjectService.applyChangesInOpenFiles (/snap/code/73/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js:165784:41)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/snap/code/73/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js:166942:46)
    at /snap/code/73/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js:168873:88
    at IOSession.Session.executeWithRequestId (/snap/code/73/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js:168864:28)
    at IOSession.Session.executeCommand (/snap/code/73/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js:168873:33)
    at IOSession.Session.onMessage (/snap/code/73/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js:168899:35)
    at Interface.<anonymous> (/snap/code/73/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js:171504:31)
    at Interface.emit (events.js:315:20)
    at Interface._onLine (readline.js:337:10)
    at Interface._normalWrite (readline.js:482:12)
    at Socket.ondata (readline.js:194:10)
    at Socket.emit (events.js:315:20)
    at addChunk (internal/streams/readable.js:309:12)
    at readableAddChunk (internal/streams/readable.js:284:9)
    at Socket.Readable.push (internal/streams/readable.js:223:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)

VS Code version: Code 1.60.0 (e7d7e9a, 2021-09-01T10:43:02.136Z)
OS version: Linux x64 5.8.0-59-generic snap
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2300)
GPU Status 2d_canvas: unavailable_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 2, 1, 1
Memory (System) 7.61GB (0.33GB free)
Process Argv --no-sandbox --force-user-env --unity-launch --crash-reporter-id 69ce3d70-7ed6-4c66-a781-18d6bfe3e6cb
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
Extensions (12)
Extension Author (truncated) Version
atlascode atl 2.9.1
vscode-tailwindcss bra 0.6.14
bracket-pair-colorizer-2 Coe 0.2.1
vscode-eslint dba 2.1.23
es7-react-js-snippets dsz 3.1.1
gitlens eam 11.6.0
prettier-vscode esb 8.1.0
dotenv mik 1.0.1
gremlins nho 0.26.0
vscode-commons red 0.0.6
vscode-yaml red 0.22.0
vscode-todo-highlight way 1.0.4

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
vscextlang:30333561
binariesv615:30325510
pythonvssor306:30344512
bridge0708:30335490
pygetstartedc2:30360494
bridge0723:30353136
pythonf5test824:30361777
javagetstartedc:30351792
vsdyn478:30356813
pythonvspyt187:30362782
pydsgsc2:30361791
vscus224cf:30358040
vssid140cf:30362081

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions