Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Bug Report: Cheetah Model Rapid Tool Calls Cause Listener Leak Crashes
Environment
- OS: macOS darwin 24.6.0
- Cursor Version: 1.7.54 (stable)
- Model: Cheetah
- MCP Servers: GitHub, CircleCI, Playwright, Linear
Symptoms
Cursor crashes with CodeWindow: renderer process gone (reason: crashed, code: 5) after rapid AI tool calls in a single chat window.
Root Cause
Listener leak in chat-specific renderer windows:
- MCP tools create event listeners for each tool call
- Listeners are not cleaned up between rapid executions
- Accumulation (175-263 listeners) overwhelms renderer
- Chat-scoped issue (window2 affected, window1 clean)
Steps to Reproduce
Context: User wanted PR information across multiple repos (Bumblebee, Transwarp) including:
Open PRs
Merged PRs from past week
Across ALL repos they’ve touched
With collaborators, status, etc.
Reproduction Steps
What Happened
User asked: “Get PRs from all repos I’ve touched in past week”
AI (Cheetah model) responded with rapid-fire tool calls to:
Query GitHub for PRs across multiple repos
Search through repo structure
Read PR details, reviewers, status
Format results
Executed: 100+ tool calls including:
GitHub API calls (mcp_github_search_pull_requests)
Repository searches
PR detail fetches
Multiple simultaneous operations
Result: Listener leak detected after ~80-100 calls, renderer crashed
Expected Behavior
properly call tools without overloading cursor and crashing - it appears cheetah is too fast
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Environment
- OS: macOS darwin 24.6.0
- Cursor Version: 1.7.54 (stable)
- Model: Cheetah
- MCP Servers: GitHub, CircleCI, Playwright, Linear
For AI issues: which model did you use?
cheetah
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor