The window terminated unexpectedly (reason: 'crashed', code: "5')

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I permanently get crashes of the cursor app, latest version, macOS.

The app just turns black and tells me:

The window terminated unexpectedly (reason: ‘crashed’, code: "5’)

We are sorry for the inconvenience. You can reopen the window to continue where you left off.

Steps to Reproduce

Not at all. Sometimes it happens, sometimes the app is stable for about 30 minutes just to crash again. No clue why …

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report.

This is a known crash issue on macOS. Try resetting Cursor’s data, it helped other users:

cd ~/Library
cd "Application Support"
mv Cursor CursorBackup

This will clear your settings while keeping a backup in CursorBackup.

If that doesn’t help, also try:

  • Launch without extensions: cursor --disable-extensions
  • Launch without GPU: cursor --disable-gpu

Also please share:

  • Help > Open Logs Folder > attach main.log
  • Your list of installed extensions (if any)
  • Whether you’re using devcontainers or any MCP servers

Related solved thread: Cursor Crashing with error code 5 - Dec 14

The team is working on a fix. Let me know if the data reset helps.