The IDE is replaced by a modal:
The window terminated unexpectedly (reason: ‘crashed’,
code: ‘5’)
I click “Reopen” and then tell the agent to “continue”. It makes some progress and then, sometimes within seconds, it crashes again.
Cursor support was contacted a week ago and I’ve still not heard back.
I’m on a 2021 MacBook Pro with 16GB running Sequoia 15.7.3
Cursor, I think, is up to date:
Steps to Reproduce
No matter what I do or what Agent I use the crashes continue. Sometimes they only happen after a few minutes of use but other times every few seconds. The Mac’s Activity Monitor does not show anything unusual with CPU or memory.
Expected Behavior
Cursor was never crashing for over 6 months of use. This started happening about a month ago.
This is a known issue that affects some macOS users. Let’s try to narrow down the cause:
Check if your project is in an iCloud-synced folder (Desktop, Documents, etc.). If it is, move it to a local path like ~/dev. This fixed crash code 5 for a few users.
Test without extensions:
cursor --disable-extensions
If the crashes stop, turn extensions back on one by one to find the culprit.
Reset Cursor data (it will create a backup of your current config):
cd ~/Library/Application\ Support/
mv Cursor CursorBackup
Then restart Cursor.
Disable GPU hardware acceleration:
cursor --disable-gpu
If none of this helps, I’ll need a few things to pass to the team:
Logs from Help > Open Logs Folder, specifically main.log around the time of the crash
Help > Toggle Developer Tools > Console, a screenshot of any errors
It’s interesting that the crashes seem to have stopped after I started a new chat. The previous chat had 31+ files listed as having been modified - all of them had been committed in over dozens of commits over a couple of weeks.
Since I started a new chat, on exactly the same project, the crashes have not reappeared.