gemini-cli - 💡(How to fix) Fix RangeError: Maximum call stack size exceeded

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

│ This is an unexpected error. Please file a bug report using the /bug tool. │

RAW_BUFFERClick to expand / collapse

What happened?

========================================= │ │ This is an unexpected error. Please file a bug report using the /bug tool. │ │ CRITICAL: Unhandled Promise Rejection! │ │ ========================================= │ │ Reason: RangeError: Maximum call stack size exceeded │ │ Stack trace: │ │ RangeError: Maximum call stack size exceeded │ │ at handleAtCommand (file:///opt/homebrew/Cellar/gemini-cli/0.43.0/libexec/lib/node_modules/@google/gemini-cli/bundle/chunk-4N6JQGX6.js:46441:25) │

bug-report-history-1779992126784.json

│ at async file:///opt/homebrew/Cellar/gemini-cli/0.43.0/libexec/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-YR3FARLA.js:27522:35 │ │ at async file:///opt/homebrew/Cellar/gemini-cli/0.43.0/libexec/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-YR3FARLA.js:28010:50 │ │ at async file:///opt/homebrew/Cellar/gemini-cli/0.43.0/libexec/lib/node_modules/@google/gemini-cli/bundle/chunk-U6X4OPT5.js:250482:23

[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.

What did you expect to happen?

I expected the CLI command to finish.

Client information

  • CLI Version: 0.43.0
  • Git Commit: c0775c38b
  • Session ID: 4fa20e79-c917-4fc6-aadd-960afd72b926
  • Operating System: darwin v26.0.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-3.1-pro-preview
  • Auth Type: oauth-personal
  • Memory Usage: 919.8 MB
  • Terminal Name: Unknown
  • Terminal Background: #4d0003
  • Kitty Keyboard Protocol: Unsupported

Login information

Google Acc

Anything else we need to know?

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING