0.46.9 - Error code 5 (Still crashes)

Issue: App crashes at random times
How to reproduce: Happens at random (sometimes every second request)
App version: 0.46.9
System: MacOS, M4 Pro, Sequoia 15.3.1

Description:
No matter what model I use the app crashes at random times.

I have tried to delete the cache from VS Code and other random solutions I searched for on forums. Today I updated to 0.46.9 hoping it would have been resolved, but it’s the same as before.

What is even worse is that every time it crashes I return to the state where I can press “Send” on my last message again, which I do, but the previous still counted towards my credits.

See screenshots for error message and Cursor version.

So, I think I resolved my issue (for now). I have been tracking the app in the console and in the terminal by running the app with GPU acceleration disabled and other different methods.

I got a lot of errors with the main problems being:

:cross_mark: 1. GPU Context Failure (ContextResult::kFatalFailure: Failed to create context.)
Even with --disable-gpu, the app is still struggling to initialize the GPU context.

:cross_mark: 2. V8 JavaScript Out of Memory (OOM) (V8 javascript OOM (CALL_AND_RETRY_LAST))
The app is running out of memory in the JavaScript engine.

:cross_mark: 3. Corrupt or Conflicting Configuration (Render frame was disposed before WebFrameMain could be accessed)
This suggests that the UI is crashing, possibly due to corrupt app data.

:white_check_mark: Solution:

Reset Cursor Data (App Configuration)

I removed Cursor’s local configuration and cache, then restarted the app:

rm -rf ~/Library/Application\ Support/Cursor
rm -rf ~/Library/Caches/com.cursor.app
rm -rf ~/Library/Preferences/com.cursor.app.plist

I had to setup my Cursor settings again, and log in. I made sure NOT to enable extensions.
The app became more responsive and could run commands without issues.

Hope this helps someone… Will update if I get another crash.