TSServer exited. Code: null. Signal: SIGTRAP

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Working on larger ts monorepo. Typescript extention fails to start with this error message “TSServer exited. Code: null. Signal: SIGTRAP”
Latest vscode works just fine, so I assume this is cursor-specific and related to the lastest version:

2.0.34
45fd70f3fe72037444ba35c9e51ce86a1977ac10
x64 

node v20.11.1 (npm v10.2.4)
Enabled logs in the extention as per TypeScript Issues · microsoft/vscode Wiki · GitHub, all log files are empty - typescript just crashes.

2025-10-30 09:31:40.950 [info] <semantic> Forking...
2025-10-30 09:31:40.950 [info] <semantic> Starting...
2025-10-30 09:31:41.346 [error] TSServer exited. Code: null. Signal: SIGTRAP
2025-10-30 09:31:41.346 [info] TSServer log file: /Users/ivanperevernykhata/Library/Application Support/Cursor/logs/20251030T092830/window1/exthost/vscode.typescript-language-features/tsserver-semantic-log-LX8ViS/tsserver.log

Steps to Reproduce

Install latest version of cursor 2.0.34

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

2.0.34
45fd70f3fe72037444ba35c9e51ce86a1977ac10
x64

For AI issues: which model did you use?

not relecant

Does this stop you from using Cursor

Yes - Cursor is unusable

3 Likes

Getting the same issue in Macos for x64 but not for arm64

Here is the trace from developer tools

The JS/TS language service immediately crashed 5 times. The service will not be restarted.
onDidChangeNotification @ workbench.desktop.main.js:9790
(anonymous) @ workbench.desktop.main.js:9790
_deliver @ workbench.desktop.main.js:49
_deliverQueue @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
addNotification @ workbench.desktop.main.js:7949
notify @ workbench.desktop.main.js:7949
(anonymous) @ workbench.desktop.main.js:7320
_showMessage @ workbench.desktop.main.js:7320
$showMessage @ workbench.desktop.main.js:7320
_doInvokeHandler @ workbench.desktop.main.js:490
_invokeHandler @ workbench.desktop.main.js:490
_receiveRequest @ workbench.desktop.main.js:490
_receiveOneMessage @ workbench.desktop.main.js:490
(anonymous) @ workbench.desktop.main.js:490
_deliver @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:7322
(anonymous) @ workbench.desktop.main.js:9845

Related Language server extensions crashes on mac os 15.6.1 (Intel) - #7 by verzac

I fixed it by downgrading to Cursor 1.7 - seems like the new release is breaking for Mac Intel users. Download it from here Download · Cursor

Hey, thanks for the report, This is a known issue in version 2.0.34 affecting macOS Intel x64, the bundled Node.js helper hits a V8 memory permission error that causes SIGTRAP crashes.

Solution: update to version 2.0.38, some users reported it fixes the regression.

This affects all language servers on Intel Macs. ARM64 Macs are not impacted.

Let us know if 2.0.38 resolves it for you.

This is not fixed as of 2.0.63 – still getting some sort of error with end of json input? Was working this afternoon before I updated to v2.

1 Like

Confirmed some more, VSCode working just fine with TS. Only issue is Cursor even with the update I did this morning.