Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
SIGSEGV crash on Source Control actions + broken Git/UI state when Cursor Worktree window is open (multi-root workspace, 3 machines)
Where does the bug appear (feature/product)?
Cursor IDE — Source Control panel, Cursor-managed Worktree windows, multi-root workspace
Describe the Bug
On three separate machines (same workflow), Cursor crashes completely (process exits) when I use Source Control in a multi-root workspace with multiple Git repositories — especially when clicking Commit or Discard/Revert changes.
Additionally, when I open Cursor with a Cursor Worktree window already open alongside the main workspace, the IDE does not load workspace state correctly: Git status, language mode, and branch information are wrong or missing. The only reliable workaround is to close the Worktree window, fully quit Cursor, and reopen the workspace.
This is not a Git repository problem: git commands succeed in the extension logs right before the crash. The failure is a native SIGSEGV in the Electron process.
Steps to Reproduce
- Open a multi-root workspace with 5 separate Git repositories (5 folders, each its own
.git). - Optionally have a Cursor Worktree window open (managed under
~/.cursor/worktrees). - Open Source Control and review pending changes across repos.
- Click Commit or Discard on a changed file.
- Expected: commit/discard completes.
- Actual: Cursor crashes and closes. On Linux,
coredumpctlshows SIGSEGV.
Secondary reproduction (state corruption): - Open workspace while a Worktree window is still open from a previous session.
- Observe: branch name, Git changes, and language detection are incorrect or empty.
- Close Worktree window → quit Cursor completely → reopen workspace.
- State loads correctly until a Worktree window is opened again.
Expected Behavior
- Source Control actions should not crash the IDE.
- Worktree windows should not break Git/language/branch detection in the main workspace.
- No full application restart should be required to restore SCM state.
Operating System
Linux
Version Information
- OS: Linux (Garuda/Arch), kernel 7.0.9-zen
- Cursor: 3.5.17 (stable), commit d5b2fc092e16007956c9e5047f76097b9e626ca0, x64
- Install:
cursor-bin(AUR) using system electron42 - Git: 2.54.0 at
/usr/bin/git - Workspace: multi-root, 5 repos on local ext4 (not network FS)
- Projects: separate repos (not classic
git worktreecheckouts); Cursor Worktree feature is used for agents
Coredumps (Linux):
coredumpctl list cursor
TIME PID SIG
Fri 2026-05-22 08:23:11 -03 24454 SIGSEGV
Fri 2026-05-22 08:27:35 -03 33148 SIGSEGV
Fri 2026-05-22 08:34:27 -03 38724 SIGSEGV
Fri 2026-05-22 08:43:58 -03 50335 SIGSEGV
### For AI issues: which model did you use?
sonnet 4.6, Auto, Opus 4.6
### Does this stop you from using Cursor
No - Cursor works, but with this issue