# Cursor Error Code 5 - Bug Report
## Error Description
**Error Code:** 5
**Error Message:** “The window terminated unexpectedly (reason: ‘crashed’, code: ‘5’)”
## Frequency
**Very frequent** - occurs regularly during normal usage
## Cursor Version Information
- **Cursor Version:** 2.4.28 (Universal)
- **VSCode Version:** 1.105.1
- **Commit:** f3f5cec40024283013878b50c4f9be4002e0b580
- **Build Date:** 2026-02-03T00:56:18.293Z
- **Build Type:** Stable
- **Electron:** 39.2.7
- **Chromium:** 142.0.7444.235
- **Node.js:** 22.21.1
- **V8:** 14.2.231.21-electron.0
## System Information
- **Operating System:** macOS 12.7.4 (Build 21H1123) - Darwin x64 21.6.0
- **Model:** MacBook (exact model could not be determined)
- **RAM:** 16 GB
## When does the error occur?
- During normal usage of Cursor
- When loading older messages/conversations
- When switching between windows
- Unpredictably, without recognizable pattern
## Steps to Reproduce
1. Use Cursor normally
2. After some time, a window crashes
3. Error message “Error Code 5” is displayed
## Expected Behavior
Cursor should run stable without unexpected crashes
## Actual Behavior
Window crashes unexpectedly with error code 5
## Workaround
- Reopen the window (Cursor offers this option)
- Completely restart Cursor
## Additional Information
- Problem occurs very frequently
- Significantly impacts productivity
- Affects various workflows
-–
**Where to report:**
1. Cursor Community Forum: Feature Requests - Cursor - Community Forum
2. GitHub Issues: GitHub · Where software is built
**Recommended categories in forum:**
- Bug Reports
- Crashes / Stability