Keeps crashing every 5 minutes!

Can someone help me with this app. It keeps crashing every 5 minutes. I am unable to submit something in composer and have it generate without crashing. I have deleted the app and reinstalled… I am NOT A PROGRAMMER! Speack to me like a normal person. Yes, I have submitted like 50 crash reports. I am on new Mac with M3 chip.

Please help. Crash code ‘5’

6 Likes

Hey, do you have any extensions installed? Try starting in safe mode with cursor --disable-extensions. If the issue persists, try clearing the cache or reinstalling Cursor by following these guides:

I have cleared as much as I could find, and I still having the same issue.

1 Like

2025-01-03 18:07:45.850 [info] update#setState disabled
2025-01-03 18:07:45.852 [info] update#ctor - updates are disabled as there is no update URL
2025-01-03 18:08:00.528 [info] Extension host with pid 1707 exited with code: 0, signal: unknown.
2025-01-03 18:08:00.545 [error] [UtilityProcessWorker]: terminated unexpectedly with code 1829687344, signal: unknown
2025-01-03 18:08:24.930 [warning] No ptyHost heartbeat after 6 seconds
2025-01-03 18:09:10.046 [warning] No ptyHost heartbeat after 6 seconds
2025-01-03 18:09:14.348 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
2025-01-03 18:09:14.689 [info] Extension host with pid 1717 exited with code: 0, signal: unknown.
2025-01-03 18:10:27.663 [warning] No ptyHost heartbeat after 6 seconds
2025-01-03 18:12:43.559 [warning] No ptyHost heartbeat after 6 seconds
2025-01-03 18:15:00.198 [warning] No ptyHost heartbeat after 6 seconds
2025-01-03 18:17:11.647 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
2025-01-03 18:17:11.937 [info] Extension host with pid 2319 exited with code: 0, signal: unknown.
2025-01-03 18:19:27.576 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
2025-01-03 18:19:27.868 [info] Extension host with pid 2559 exited with code: 0, signal: unknown.
2025-01-03 18:19:30.155 [error] [UtilityProcessWorker]: terminated unexpectedly with code 1829687344, signal: unknown
2025-01-03 18:21:41.096 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
2025-01-03 18:21:41.385 [info] Extension host with pid 2769 exited with code: 0, signal: unknown.
2025-01-03 18:21:44.152 [error] [UtilityProcessWorker]: terminated unexpectedly with code 1829687344, signal: unknown
2025-01-03 18:21:48.866 [warning] No ptyHost heartbeat after 6 seconds
2025-01-03 18:25:28.241 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
2025-01-03 18:25:28.536 [info] Extension host with pid 2948 exited with code: 0, signal: unknown.
2025-01-03 18:26:00.478 [warning] No ptyHost heartbeat after 6 seconds

2 Likes

I realise you’ve probably already tried this, but if you’re on an M3 I’d say it’s likely an extension issue or one that might be fixed after restarting your Mac (I know I know, I’m sorry).

Have you disabled all extensions and restarted your Mac (not just the app)?

1 Like

I don’t have any extensions installed. and yes, I have restarted

1 Like

Sorry about this. You may have already done this but can you try and delete and uninstall the app and then re-download it fresh from our website?

It’s possible you have a version for Mac that runs but isn’t compiled for your M3 chip, therefore causing some issues and crashes.

If that doesn’t help, let me know and we’ll investigate further.

Anyone has the problem solved? I continueously encounter the same problem, even though uninstalled, and re-installed again.

2 Likes

Hey, what’s the error you are seeing when it crashes?


To me it became useless today, i can’t do anything, it just crashes like this.

4 Likes

Hi, is there more context around the crashes you can provide?

  1. What action were you taking when the crash happened? E.g., were you using composer, chat, or just editng a file right when the crash happened?
  2. Were you working with any files larger than 10,000 lines?
  3. Do you have any extensions installed, and if so which?
  4. What version of cursor are you on?
1 Like

Getting the same exact error he’s showing. No specific action during. Sometimes I’m not even using it and it crashes on its own. Always that same error. Restarted, and re-installed. After doing so, it did take longer to crash, but it still crashed.
To answer your questions above:

  • Happened when I was using Compser, Chat, editing code in the editor, and doing nothing
  • None of my files are over 500 lines, and it’s also a pretty small project
  • Zero extensions installed
  • Version: 0.45.10
    And if it helps, M4 Pro 64GB Ram, latest updates

It really just started happening to me yesterday. The week up to that point everything was great. I even burned through the 500 premium calls and everything ran excellent.

As of yesterday though, it’s completely unusable at best, and endlessly frustrating at worse. Sometimes I can go 10 minutes without a crash, sometimes its back to back. In between, I’m treated with moments of complete disregard for input from the editor for a few seconds, like everything just hangs (every other application is closed in attempts to mitigate, to no avail). Not sure if an update came out and went sideways or something, but ever since yesterday it’s kind of been a nightmare to use.

2 Likes

I have the same problem with my Cursor on M3 chip with 24 GB RAM.

As @tattedweazel said, I didn’t take any specific action to make it crash. It just crashes on its own but what I did notice in activity monitor was that before it crashes, it starts taking a ton of my CPU and makes my mac slow overall.

To prevent Cursor crashes, I usually do a Reload Window which brings down the CPU usage for some time but then it gets back up.

It has been happening since around the start of January now.
Please fix, the experience is not great!

I have also been having issues. I am considering going down the rabbit hole to see what’s going on now. I found a clue in my main.log:

2025-02-12 14:30:55.724 [info] update#setState disabled
2025-02-12 14:30:55.725 [info] update#ctor - updates are disabled as there is no update URL
2025-02-12 14:30:57.167 [error] vscode-file: Refused to load resource /tmp/.mount_cursorlBEyTj/resources/app/extensions/theme-seti/icons/seti.woff from vscode-file: protocol (original URL: vscode-file://vscode-app/tmp/.mount_cursorlBEyTj/resources/app/extensions/theme-seti/icons/seti.woff)
2025-02-12 14:52:51.549 [info] Extension host with pid 2842088 exited with code: 0, signal: unknown.
2025-02-12 14:52:52.589 [error] [UtilityProcess id: 1, type: fileWatcher, pid: 2842098]: crashed with code 15 and reason 'killed'
2025-02-12 14:56:35.657 [info] Extension host with pid 2951614 exited with code: 0, signal: unknown.
2025-02-12 14:56:38.156 [error] [UtilityProcess id: 1, type: fileWatcher, pid: 2951579]: crashed with code 15 and reason 'killed'
2025-02-12 14:57:56.157 [info] Extension host with pid 2970669 exited with code: 0, signal: unknown.
2025-02-12 14:57:56.269 [error] [UtilityProcess id: 1, type: fileWatcher, pid: 2970660]: crashed with code 15 and reason 'killed'
2025-02-12 14:59:22.095 [info] Extension host with pid 2977382 exited with code: 0, signal: unknown.
2025-02-12 15:00:30.389 [warning] No ptyHost heartbeat after 6 seconds
2025-02-12 15:04:29.941 [warning] No ptyHost heartbeat after 6 seconds
2025-02-12 15:07:10.297 [warning] No ptyHost heartbeat after 6 seconds
2025-02-12 15:07:35.545 [warning] No ptyHost heartbeat after 6 seconds
2025-02-12 15:11:19.328 [warning] No ptyHost heartbeat after 6 seconds
2025-02-12 16:12:29.496 [warning] No ptyHost heartbeat after 6 seconds
2025-02-12 17:13:30.729 [warning] No ptyHost heartbeat after 6 seconds
2025-02-12 17:22:29.677 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 00:42:40.635 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 06:09:46.312 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 06:35:46.603 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 10:29:52.092 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 12:28:15.201 [info] Extension host with pid 2985002 exited with code: 0, signal: unknown.
2025-02-13 12:28:22.339 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 12:28:22.405 [error] [UtilityProcess id: 1, type: fileWatcher, pid: 2985001]: crashed with code 15 and reason 'killed'
2025-02-13 12:30:15.598 [info] Extension host with pid 1248340 exited with code: 0, signal: unknown.
2025-02-13 12:30:17.898 [error] [UtilityProcess id: 1, type: fileWatcher, pid: 1248341]: crashed with code 15 and reason 'killed'
2025-02-13 12:34:22.097 [info] Extension host with pid 1258146 exited with code: 0, signal: unknown.
2025-02-13 12:34:23.849 [error] [UtilityProcess id: 1, type: fileWatcher, pid: 1258145]: crashed with code 15 and reason 'killed'
2025-02-13 14:02:40.956 [info] Extension host with pid 1284149 exited with code: 0, signal: unknown.
2025-02-13 14:02:44.624 [error] [UtilityProcess id: 1, type: fileWatcher, pid: 1284151]: crashed with code 15 and reason 'killed'
2025-02-13 14:44:25.246 [info] Extension host with pid 1736867 exited with code: 0, signal: unknown.
2025-02-13 14:44:25.298 [error] [UtilityProcess id: 1, type: fileWatcher, pid: 1736887]: crashed with code 15 and reason 'killed'
2025-02-13 14:44:32.411 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 14:53:34.808 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 14:53:58.842 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:10:32.557 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:21:53.112 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:22:33.749 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:23:36.132 [info] Extension host with pid 2142560 exited with code: 0, signal: unknown.
2025-02-13 15:23:37.185 [error] Extension host with pid 2142560 still exists, forcefully killing it...
2025-02-13 15:27:12.510 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:27:49.090 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:28:07.827 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:28:14.076 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:30:32.547 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:30:38.804 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:31:43.330 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:33:12.654 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:33:44.065 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:34:07.570 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:34:33.591 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:36:39.264 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 15:36:55.870 [info] Extension host with pid 1945046 exited with code: 0, signal: unknown.
2025-02-13 15:36:59.013 [error] [UtilityProcess id: 1, type: fileWatcher, pid: 1945045]: crashed with code 15 and reason 'killed'
2025-02-13 15:54:24.337 [info] Extension host with pid 2143022 exited with code: 0, signal: unknown.
2025-02-13 15:54:24.494 [error] [UtilityProcess id: 2, type: fileWatcher, pid: 2142994]: crashed with code 15 and reason 'killed'
2025-02-13 15:58:14.280 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 16:24:12.752 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 16:44:12.782 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 17:03:32.950 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 17:49:01.627 [info] Extension host with pid 2308088 exited with code: 0, signal: unknown.
2025-02-13 17:51:36.038 [info] Extension host with pid 2931552 exited with code: 0, signal: unknown.
2025-02-13 17:51:37.116 [error] [UtilityProcess id: 3, type: fileWatcher, pid: 2931540]: crashed with code 15 and reason 'killed'
2025-02-13 18:12:43.795 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 18:15:43.169 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 18:28:08.222 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 18:36:05.207 [info] Extension host with pid 2918456 exited with code: 0, signal: unknown.
2025-02-13 18:39:17.885 [info] Extension host with pid 3200415 exited with code: 0, signal: unknown.
2025-02-13 18:39:20.506 [error] [UtilityProcess id: 4, type: fileWatcher, pid: 3200377]: crashed with code 15 and reason 'killed'
2025-02-13 18:39:20.624 [info] Extension host with pid 3200806 exited with code: 0, signal: unknown.
2025-02-13 18:39:21.624 [error] Extension host with pid 3200806 still exists, forcefully killing it...
2025-02-13 18:49:43.127 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 18:52:58.814 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 18:58:43.225 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 19:15:04.038 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 19:55:58.382 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 20:02:59.048 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 20:03:26.996 [error] [UtilityProcess id: 4, type: fileWatcher, pid: 3201082]: crashed with code 15 and reason 'killed'
2025-02-13 20:03:28.806 [info] Extension host with pid 3201093 exited with code: 0, signal: unknown.
2025-02-13 20:15:31.089 [info] Extension host with pid 3735202 exited with code: 0, signal: unknown.
2025-02-13 20:15:32.779 [error] [UtilityProcess id: 5, type: fileWatcher, pid: 3735172]: crashed with code 15 and reason 'killed'
2025-02-13 20:15:38.159 [info] Extension host with pid 3735825 exited with code: 0, signal: unknown.
2025-02-13 20:15:39.160 [error] Extension host with pid 3735825 still exists, forcefully killing it...
2025-02-13 20:15:40.279 [error] [UtilityProcess id: 5, type: fileWatcher, pid: 3735827]: crashed with code 15 and reason 'killed'
2025-02-13 20:16:48.947 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 20:18:49.014 [warning] No ptyHost heartbeat after 6 seconds
2025-02-13 20:24:13.072 [warning] No ptyHost heartbeat after 6 seconds

If you go to ~/.config/Cursor/logs/ you can actually see everything related to the crashes. It’s always about some extension or ptyHost not responding, which means some terminal is crashing things.

EDIT: It seems that it was fixed when I reinstalled cursor and edit my /bin/cursor based on this comment. Will Re-edit if it happens again. Could have been the reinstall itself that fixed it too. I did clear cache, config, and everything during uninstall.

I had the same problem, then tried this and seemed to help solve it. This feels like solving the symptom instead of the problem and I suspect it’s because I has a really long context window using an agent.

#!/bin/bash

echo "Cleaning up VS Code and Cursor..."

# Close VS Code and Cursor if they're running
killall "Code" 2>/dev/null
killall "Cursor" 2>/dev/null

# Remove the applications
rm -rf "/Applications/Visual Studio Code.app"
rm -rf "/Applications/Cursor.app"

# Remove VS Code user data
rm -rf ~/Library/Application\ Support/Code
rm -rf ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState
rm -rf ~/.vscode
rm -rf ~/Library/Caches/com.microsoft.VSCode
rm -rf ~/Library/Preferences/com.microsoft.VSCode.plist

# Remove Cursor user data
rm -rf ~/Library/Application\ Support/Cursor
rm -rf ~/Library/Saved\ Application\ State/com.cursor.Cursor.savedState
rm -rf ~/.cursor
rm -rf ~/Library/Caches/com.cursor.Cursor
rm -rf ~/Library/Preferences/com.cursor.Cursor.plist

echo "Cleanup complete! VS Code and Cursor have been fully removed."
1 Like

Been around 2 weeks now and I haven’t faced a crash. I think the recent updates helped!

I am having the same crash issue - code ‘5’ - every couple of minutes. Mac M1

1 Like

This is what worked for me - thanks @iain.nb for sharing.

I suspect it might be caused if you already have VS Code installed with extensions. The script shared completely removes both VS Code and Cursor, enabling you to install a clean version of Cursor without conflicts.

Load up terminal (ctrl + space and type terminal - hit enter)

In terminal, type:
sudo nano reset-cursor.sh

It’ll ask you for your password - enter it and hit enter.

Paste the following code in the text editor that loads:

#!/bin/bash

echo "Cleaning up VS Code and Cursor..."

# Close VS Code and Cursor if they're running
killall "Code" 2>/dev/null
killall "Cursor" 2>/dev/null

# Remove the applications
rm -rf "/Applications/Visual Studio Code.app"
rm -rf "/Applications/Cursor.app"

# Remove VS Code user data
rm -rf ~/Library/Application\ Support/Code
rm -rf ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState
rm -rf ~/.vscode
rm -rf ~/Library/Caches/com.microsoft.VSCode
rm -rf ~/Library/Preferences/com.microsoft.VSCode.plist

# Remove Cursor user data
rm -rf ~/Library/Application\ Support/Cursor
rm -rf ~/Library/Saved\ Application\ State/com.cursor.Cursor.savedState
rm -rf ~/.cursor
rm -rf ~/Library/Caches/com.cursor.Cursor
rm -rf ~/Library/Preferences/com.cursor.Cursor.plist

echo "Cleanup complete! VS Code and Cursor have been fully removed."
  • Press ctrl + o to save
  • Press enter to confirm
  • Press ctrl + x to close

Then type:
sudo bash reset-cursor.sh

And it will run the script to completely remove both programs.

Then download the latest version of Cursor and install it.

Good luck!

2 Likes

worked for me! thx a lot, you really made made my day!

1 Like

I have the same problems - each time I reinstall it works fine for a week then the crashing starts.

This is really annoying - everytime I need to setup my mcp’s again

1 Like