Crashed Code 5 - Cursor not working at all

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor crashes and shows me that error code. It’ll open and let me prompt/move around. But seconds after sending in a prompt it freezes and shows me that.

Steps to Reproduce

Send in a prompt/try to use cursor at all

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.3.30
VSCode Version: 1.105.1
Commit: 3dc559280adc5f931ade8e25c7b85393842acf30
Date: 2026-05-09T18:28:42.332Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

I use both editor and agents window

For AI issues: which model did you use?

Opus 4.7 + Composer 2.0 + GPT 5.5

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, this is a known macOS issue with the renderer process (code 5). It most often shows up after long Composer or Agent sessions, when the tab builds up a lot of memory. We’re tracking it, but I can’t share an ETA for a fix yet.

For now, you can try:

  • Start a new chat instead of continuing a long Composer thread. In long sessions the tab uses more memory, and at some point Chromium kills it.
  • Close extra Agent or Composer tabs and restart Cursor.
  • Check the size of ~/Library/Application Support/Cursor/User/globalStorage/state.vscdb. If it’s huge (like 1 GB or tens of GB), that’s a separate case, let me know the size.

A few questions so I can link this to our tracker more accurately:

  1. Does it crash in any window, or only when a large Composer thread is open?
  2. After restarting Cursor, does it crash right away when you try to send a request, or does it work fine for a while?
  3. If you have a Request ID from a try that crashed, please send it (top-right chat menu > Copy Request ID).

If I get an update on the fix, I’ll reply in this thread.

usually crashes after i use plan mode in a new thread using 2.5 now, then when trying to build that plan in either opus GPT or composer in that same thread it crashes.

My work around has been copying the plan starting new thread and it works.

It does not crash right after opening but if i ever try to build in that same thread the error occurs again

Hey, thanks for the details, this is a helpful repro. The fact that it consistently crashes on build in the same thread after plan mode, but copying the plan into a new chat works, matches a known pattern. After a long time in one thread, the renderer builds up state like detached DOM nodes, transcript payload, and so on, and at some point Chromium kills it. The build phase with a large plan context is exactly when the load spikes.

Your workaround of copying the plan into a new thread is the best option right now, so I’d keep doing that until a fix ships. We’re tracking the bug, but there’s no ETA yet.

One quick question just in case. Can you check the size of ~/Library/Application Support/Cursor/User/globalStorage/state.vscdb? If it’s very large, like a few GB or more, that’s a separate case and it may be worth cleaning it up. If it’s within a few hundred MB, then it’s likely the same renderer memory issue we’re tracking.