Cursor Crashes on Github Pull Request Tool Call

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The Cursor IDE (v2.6.22) crashes when the Cursor Agent (Opus 4.6) tries to do a Pull Request tool call. Running on Mac Darwin arm64 24.6.0. The PR itself is 14 files and has 7 comments.

Steps to Reproduce

  1. Agent Prompt: “Please review the greptile comments in and ensure that all issues have been addressed in latest commit”
  2. Agent does a PR Read Tool Call
  3. Application stalls and crashes a few seconds later

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Cursor v2.6.22

For AI issues: which model did you use?

Opus 4.6

Does this stop you from using Cursor

No - workaround is to use git cli

Hi @rjow-cq ! Thank you for reporting! I was unable to replicate this on my mac even testing with some obnoxiously large files to try to trigger a failure. I have two asks for you, please if you don’t mind:

  • Can you please update to the latest version of Cursor (3.0) and see if this happens in the same manner?
  • Can you share a request ID with me please (after enabling Share Data if you have privacy mode on in Settings). Please trigger a fresh failure after enabling Share Data. You can grab the request ID from the 3 dot menu in the agent chat.

Thank you!

Hey Kevin,

  • I’ve updated to Cursor v3.0.9, and I still get the same failure
  • The request id is b6c8a1b8-f0b0-4624-91ca-a16f0dab6a82

Here’s the call stack prior to crashing:

at RegExp.exec ()

at y.link (workbench.desktop.main.js:921:908)

at u.inlineTokens (workbench.desktop.main.js:935:1416)

at u.lex (workbench.desktop.main.js:922:110)

It seems to be an issue with the Markdown lexer / renderer.