Repeated renderer crashes (code: 5) on macOS ARM64 v2.2.20

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor repeatedly crashes with “renderer process gone (reason: crashed, code: 5)” error. The crash occurs approximately every 7 minutes during normal use.

Steps to Reproduce

  1. Launch Cursor
  2. Open a specific project
  3. Crash occurs after approximately 30 seconds
  4. Close and restart Cursor
  5. Open the same project again → crash repeats consistently
  6. Note: Other projects may work fine, but this specific project triggers the crash

The crash happens consistently with this particular project.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.20
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z (3 days ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.3.0

Additional Information

Timeline of crashes with specific project:

  • 19:26:52 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
  • 19:33:37 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
  • 20:04:04 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
  • 20:04:26 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)

Pattern:

  • Crash occurs 30 seconds to 7 minutes after opening a specific project
  • Repeats consistently every time this project is opened
  • Each crash preceded by: [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window X

Also noted Git-related errors:
[error] [AgentAnalyticsOperationsMainService] Error reading git note

Full logs:
2025-12-15 19:26:34.355 [info] [CursorProclistService] Native module loaded successfully
2025-12-15 19:26:34.370 [info] updateURL https://api2.cursor.sh/updates/api/update/darwin-arm64/cursor/2.2.20/6a85951202d358b332575bc3621e75d46d8319395ffdde77585558ac57d92f4d/prerelease
2025-12-15 19:26:34.371 [info] update#setState idle
2025-12-15 19:26:34.932 [info] [Tray] getMacOSIconPath: hasNotifications: false
2025-12-15 19:26:37.624 [info] [CursorProclistService] Config enabled feature (subsample every 10s)
2025-12-15 19:26:39.758 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 1
2025-12-15 19:26:52.151 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
2025-12-15 19:26:52.539 [info] Extension host with pid 4660 exited with code: 0, signal: unknown.
2025-12-15 19:27:04.378 [info] update#setState checking for updates
2025-12-15 19:27:05.008 [info] UpdateService onUpdateNotAvailable()
2025-12-15 19:27:05.008 [info] update#setState idle
2025-12-15 19:33:15.685 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 2
2025-12-15 19:33:15.686 [info] Extension host with pid 5557 exited with code: 0, signal: unknown.
2025-12-15 19:33:15.693 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 2
2025-12-15 19:33:16.283 [info] Extension host with pid 5563 exited with code: 0, signal: unknown.
2025-12-15 19:33:23.572 [info] [CursorProclistService] Config enabled feature (subsample every 10s)
2025-12-15 19:33:24.752 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 3
2025-12-15 19:33:37.927 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
2025-12-15 19:33:38.248 [info] Extension host with pid 5577 exited with code: 0, signal: unknown.
2025-12-15 19:33:47.414 [info] [CursorProclistService] Config enabled feature (subsample every 10s)
2025-12-15 19:33:49.110 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 4
2025-12-15 19:33:54.071 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 4
2025-12-15 19:33:54.076 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 4
2025-12-15 19:33:55.739 [info] Extension host with pid 6360 exited with code: 0, signal: unknown.
2025-12-15 19:42:06.207 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 5
2025-12-15 19:42:06.208 [info] Extension host with pid 7653 exited with code: 0, signal: unknown.
2025-12-15 19:42:06.225 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 5
2025-12-15 19:42:11.700 [info] [CursorProclistService] Config enabled feature (subsample every 10s)
2025-12-15 19:42:12.593 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 5
2025-12-15 19:43:32.234 [info] [Tray] getMacOSIconPath: hasNotifications: true
2025-12-15 19:46:03.067 [info] [Tray] getMacOSIconPath: hasNotifications: false
2025-12-15 19:47:11.771 [info] [CursorProclistService] Sample 0 created: 25 processes, 31 subsamples
2025-12-15 19:51:42.246 [info] [Tray] getMacOSIconPath: hasNotifications: true
2025-12-15 19:52:08.347 [info] [Tray] getMacOSIconPath: hasNotifications: false
2025-12-15 19:52:12.312 [info] [CursorProclistService] Sample 1 created: 32 processes, 32 subsamples
2025-12-15 19:52:14.038 [error] [AgentAnalyticsOperationsMainService] Error reading git note: Git command failed: git “notes” “–ref” “refs/notes/ai-tracking” “show” “d8d991c1ef9a7e17a3324f348b09881f23d7208a”
error: no note found for object d8d991c1ef9a7e17a3324f348b09881f23d7208a.

2025-12-15 19:52:14.967 [error] [AgentAnalyticsOperationsMainService] Error reading git note: Git command failed: git “notes” “–ref” “refs/notes/ai-tracking” “show” “8dac2d640aa685e1fa1d85bea4129ba6d158af31”
error: no note found for object 8dac2d640aa685e1fa1d85bea4129ba6d158af31.

2025-12-15 19:54:49.988 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 5
2025-12-15 19:54:50.165 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 5
2025-12-15 19:54:50.705 [info] Extension host with pid 7654 exited with code: 0, signal: unknown.
2025-12-15 20:03:42.114 [info] [CursorProclistService] Config enabled feature (subsample every 10s)
2025-12-15 20:03:42.278 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 6
2025-12-15 20:03:42.278 [info] Extension host with pid 23846 exited with code: 0, signal: unknown.
2025-12-15 20:03:42.290 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 6
2025-12-15 20:03:45.531 [info] [CursorProclistService] Config enabled feature (subsample every 10s)
2025-12-15 20:03:49.477 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 6
2025-12-15 20:04:04.713 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
2025-12-15 20:04:05.068 [info] Extension host with pid 23853 exited with code: 0, signal: unknown.
2025-12-15 20:04:11.553 [info] [CursorProclistService] Config enabled feature (subsample every 10s)
2025-12-15 20:04:14.353 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 7
2025-12-15 20:04:26.585 [error] CodeWindow: renderer process gone (reason: crashed, code: 5)
2025-12-15 20:04:26.906 [info] Extension host with pid 24363 exited with code: 0, signal: unknown.

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the details and logs. Based on the renderer code: 5 symptom and BrowserViewMainService warnings, this matches a known issue in 2.2.20. The quickest fix that helped others:

  1. Reset Cursor settings
    Example accepted solution: Cursor Crashing with error code 5 - Dec 14 and Error: The window terminated unexpectedly (reason: 'crashed', code: '5')

  2. If that doesn’t help:

  • Run without GPU: cursor --disable-gpu
  • Run without extensions: cursor --disable-extensions
  • For testing, don’t open the agent browser panel

Give an update on the steps above - we’ll check and move forward.

1 Like

The issue has been resolved, but I’m not sure what caused it. Thank you for your support.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.