Cursor is crashing every few minutes with error:
The window terminated unexpectedly (reason: ‘crashed’, code: ‘5’)
I tried reinstalling and the issue perssts. Please advise asap I am currently not able to use cursor at all.
Hey, thanks for the report. This is a known issue affecting macOS users. We’ve seen several reports with the same code 5 crash, especially on recent versions.
A few things to try:
Start a new chat. If your current chat has a lot of modified files, that can trigger it. Some users fixed it just by starting fresh.
Check if your project is in an iCloud-synced folder (Desktop, Documents). If it is, move it to a local path like ~/dev.
Test without extensions:
cursor --disable-extensions
Disable GPU acceleration:
cursor --disable-gpu
Reset Cursor data (this keeps a backup):
cd ~/Library/Application\ Support/
mv Cursor CursorBackup
If none of that helps, I’ll need a few things to pass to the team:
Logs from Help > Open Logs Folder, especially main.log around the time of the crash
A screenshot from Cmd+Shift+P > Developer: Open Process Explorer (to check if renderer memory is growing)
Thanks, I tried resetting the cursor data before reinstalling and that didnt fix it. I-cloud is completely disabled. Mac was restarted several times to no avail. will try the other 2 fixes you propsed and update.