Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After updating to Cursor 3.19.7 on Linux, the IDE window repeatedly terminates with:
The window terminated unexpectedly
reason: ‘clean exit’
main.log shows:
CodeWindow: renderer process gone (reason: clean-exit, code: )
Earlier the same day there were also native crashes:
CodeWindow: renderer process gone (reason: crashed, code: 135)
(135 = 128+7 → SIGBUS)
This only affects the Cursor IDE Electron window. Cloud/Background Agents continue to work normally. Crashes frequently occur during or shortly after local Agent loops (agent-loop / agent-loop-resumed). Compacted agent state DB (state.vscdb ~4.7GB → ~466MB) and reduced swap usage did NOT stop the clean-exit crashes.
Steps to Reproduce
- Use Cursor IDE 3.19.7 on Ubuntu 24.04 (Linux x64).
- Open a normal workspace and start a local Agent chat in the IDE.
- Let the agent run (tool calls / edits / longer session). Sometimes also happens with multiple agents (activeCount ≥ 2).
- Within minutes (sometimes mid-run, sometimes shortly after), the IDE window dies with “clean exit”.
- Reopen Cursor — Agents (cloud) still work; IDE crashes again when using Agent in the IDE.
Notes:
- Happened 0 times on previous day logs before this update.
- Still reproduces after GC Agent KV Blobs, Delete Old Chats, and swapping a compacted state.vscdb.
- Not fixed by lowering swap usage.
Expected Behavior
The IDE window should stay open while Agent runs. Renderer / extension host should not exit. Cloud Agents and IDE Agent should both be stable; IDE should not crash with clean-exit / SIGBUS during agent-loop.
Operating System
Linux
Version Information
IDE:
Version: 3.19.7
VSCode Version: 1.128.0
Commit: 90de2327392570a5f5f625c656c6749d228e6430
Electron: 42.10.0
Date: 2026-09-02T23:03:07.739Z
For AI issues: which model did you use?
Multiple / Auto (default). Also reproduced earlier with grok-4.6 in agent-loop sessions. Crash appears tied to IDE Agent UI/renderer, not a single model.
For AI issues: add Request ID with privacy disabled
feabc909-897f-4056-bf7f-68e0652ee260
Additional Information
- Machine: Ubuntu 24.04.4 LTS, x64, Intel UHD Graphics 730 (not AMD), ~15 GiB RAM
- Pattern: crashes cluster around PowerMainService agent-loop / agent-loop-resumed
- Often: Extension host exits (code 0) → immediately renderer clean-exit
- Morning: mix of clean-exit and crashed code 135 (SIGBUS) + Crashpad
- Afternoon after state compaction: mostly clean-exit only; still reproducible (e.g. 17:33:50)
- IDE-only: Cloud/Background Agents do not crash
- Ruled out as root cause: GPU driver reset, kernel OOM killer, third-party extension as primary trigger, oversized state.vscdb alone, high swap alone
- Mitigations tried: Delete Old Chats, GC Agent KV Blobs, compacted state.vscdb (~466MB), reduced MCP overlap — startup freeze improved, crashes remain
- Workaround: use Agents (cloud) for heavy work; avoid long/multi agent-loop inside IDE window
Does this stop you from using Cursor
Yes - Cursor is unusable