Clicking on a file link in the agents chat window is causing the window to crash.
Steps to Reproduce
User click on a presented file (in this case HTML file or .md file) and the window freezes and crashes. On restart of full program, and full computer reboot the same thing occurs. Have been able to reproduce 6 times.
This is a confirmed bug. When you click a file link in the agents chat, the file-open operation can hang indefinitely, and in your case that hang is severe enough to crash the renderer process.
Our team has identified the root cause and a fix is actively in code review. Once it ships (expected in an upcoming update), the file-open path will have a proper timeout so it can no longer hang or crash the window.
Unfortunately there’s no reliable workaround for this in the meantime. The issue is in how the agents window resolves the workspace reference when opening files, so restarting or rebooting won’t help (as you’ve already found).
We’ll follow up here once the fix has shipped. Thank you for your patience!
Looking at your error, this appears to be a different issue from what this thread covers. The original bug here is specifically about clicking file links in the agents chat causing a hang that crashes the window (code 5). Your error (reason: 'oom', code: '-536870904') after a Cursor update points to a different mechanism.
Could you create a new thread for this with the following details? That way our team can track and investigate your specific issue properly:
Your full Version Information (Help > About, or Cursor: About in the Command Palette)
Which version you updated from (if you remember)
What you were doing when the crash happened (opening a project, running an agent, idle, etc.)
Whether the crash happens on every launch or only during specific actions
Your state.vscdb file size — check at %APPDATA%\Cursor\User\globalStorage\state.vscdb
The state.vscdb size is particularly relevant for OOM crashes on Windows. If it’s over 500MB, that’s likely contributing.