claude-code - 💡(How to fix) Fix [Bug] Claude Code crashes on initialize payload receipt via SSH remote in v2.1.121 [1 participants]

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…
GitHub stats
anthropics/claude-code#54958Fetched 2026-05-01 05:49:59
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description ccd-cli 2.1.121 crashes with exit code 1 immediately after receiving initialize payload via SSH remote. Downgrading to 2.1.119 fixes it. Same regression pattern as the 2.1.120 incident from April 25. Server log shows process exits right after WriteStdin with the initialize payload (which contains hooks config).

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.123
  • Feedback ID: 044455a2-d753-4af2-a9e3-05b14c8e70d2

Errors

[]

extent analysis

TL;DR

Downgrading to version 2.1.119 may temporarily resolve the issue with ccd-cli crashing after receiving the initialize payload via SSH remote.

Guidance

  • The crash seems to be related to the initialize payload, specifically with the hooks config, as indicated by the server log showing the process exits after WriteStdin.
  • The fact that downgrading to 2.1.119 fixes the issue suggests a regression introduced in versions 2.1.120 or 2.1.121.
  • To mitigate the issue, try downgrading to 2.1.119 until a fix for the regression is available.
  • Review the hooks config in the initialize payload to ensure it is correctly formatted and does not contain any unexpected data that could be causing the crash.

Notes

The exact cause of the crash is not specified, and without more detailed error messages or logs, it's difficult to provide a more targeted solution. The issue seems to be related to a regression in the ccd-cli versions 2.1.120 and 2.1.121, similar to the incident reported on April 25.

Recommendation

Apply workaround: Downgrade to version 2.1.119, as it has been confirmed to resolve the issue temporarily until a fixed version is released.

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

claude-code - 💡(How to fix) Fix [Bug] Claude Code crashes on initialize payload receipt via SSH remote in v2.1.121 [1 participants]