claude-code - 💡(How to fix) Fix [BUG] 1.3036.0 (cf521c): All Cowork sessions crash with "exited with code 1" on macOS - Desktop-to-SDK spawn failure, SDK 2.1.111 [20 comments, 15 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#49367Fetched 2026-04-17 08:43:09
View on GitHub
Comments
20
Participants
15
Timeline
37
Reactions
7

Error Message

From ~/Library/Logs/Claude/main.log: 2026-04-16 14:45:10 [info] [LocalAgentModeSessionManager] SDK version 2.1.111 will be used 2026-04-16 14:45:10 [info] Using Claude VM spawn function for session 2026-04-16 14:45:10 [info] [Lifecycle] Session local_38cf1389...: initializing → running 2026-04-16 14:45:11 [error] Session local_38cf1389... query error: Claude Code process exited with code 1 2026-04-16 14:45:11 [info] [Lifecycle] Session local_38cf1389...: running → idle 2026-04-16 14:45:11 [info] [CycleHealth] Unhealthy cycle: { session_id: 'local_38cf1389-ef67-4b00-be9e-b9ad6c431520', vm_instance_id: '699449a1-66d4-4725-b31a-6256cf3df68c', model: 'claude-opus-4-7[1m]', cycle_health: 'unhealthy', had_first_response: false, seconds_to_outcome: 3, is_resume: false, unhealthy_reason: 'system_error', error_message: 'Claude Code process exited with code 1', error_category: 'process_crashed' }

Code Example

From ~/Library/Logs/Claude/main.log:
2026-04-16 14:45:10 [info] [LocalAgentModeSessionManager] SDK version 2.1.111 will be used
2026-04-16 14:45:10 [info] Using Claude VM spawn function for session
2026-04-16 14:45:10 [info] [Lifecycle] Session local_38cf1389...: initializing → running
2026-04-16 14:45:11 [error] Session local_38cf1389... query error: Claude Code process exited with code 1
2026-04-16 14:45:11 [info] [Lifecycle] Session local_38cf1389...: running → idle
2026-04-16 14:45:11 [info] [CycleHealth] Unhealthy cycle: {
  session_id: 'local_38cf1389-ef67-4b00-be9e-b9ad6c431520',
  vm_instance_id: '699449a1-66d4-4725-b31a-6256cf3df68c',
  model: 'claude-opus-4-7[1m]',
  cycle_health: 'unhealthy',
  had_first_response: false,
  seconds_to_outcome: 3,
  is_resume: false,
  unhealthy_reason: 'system_error',
  error_message: 'Claude Code process exited with code 1',
  error_category: 'process_crashed'
}
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

After updating to Claude Desktop 1.3036.0 (cf521c) on 2026-04-16, every Cowork session crashes with "Claude Code process exited with code 1" approximately 3 seconds after starting. The crash occurs after the VM instance is assigned and the session transitions to running, but before any first response. The Claude Code process dies silently with no stderr output, no CSP violations, and no VM boot errors visible in main.log. Timing correlates with the Opus 4.7 release earlier today, though the crash reproduces across all models (Opus 4.7, Opus 4.6, Sonnet 4.6), so it's not model-specific.

What Should Happen?

Cowork sessions should start and respond to messages.

Error Messages/Logs

From ~/Library/Logs/Claude/main.log:
2026-04-16 14:45:10 [info] [LocalAgentModeSessionManager] SDK version 2.1.111 will be used
2026-04-16 14:45:10 [info] Using Claude VM spawn function for session
2026-04-16 14:45:10 [info] [Lifecycle] Session local_38cf1389...: initializing → running
2026-04-16 14:45:11 [error] Session local_38cf1389... query error: Claude Code process exited with code 1
2026-04-16 14:45:11 [info] [Lifecycle] Session local_38cf1389...: running → idle
2026-04-16 14:45:11 [info] [CycleHealth] Unhealthy cycle: {
  session_id: 'local_38cf1389-ef67-4b00-be9e-b9ad6c431520',
  vm_instance_id: '699449a1-66d4-4725-b31a-6256cf3df68c',
  model: 'claude-opus-4-7[1m]',
  cycle_health: 'unhealthy',
  had_first_response: false,
  seconds_to_outcome: 3,
  is_resume: false,
  unhealthy_reason: 'system_error',
  error_message: 'Claude Code process exited with code 1',
  error_category: 'process_crashed'
}

Steps to Reproduce

Update to Claude Desktop 1.3036.0 (cf521c) on macOS Open Cowork Start any new session (or resume an existing one) with any model Observe crash within ~3 seconds

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.86 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Troubleshooting already attempted (no effect):

Full quit and relaunch Sign out and sign back in Help -> Troubleshooting -> Clear Cache and Restart Reproduces across Opus 4.7, Opus 4.6, and Sonnet 4.6 Reproduces on both new and resumed sessions

extent analysis

TL;DR

The issue is likely related to the recent update of Claude Desktop to version 1.3036.0, causing the Claude Code process to exit with code 1, and a potential workaround could be to revert to a previous version of Claude Desktop or wait for a patch.

Guidance

  • The crash occurs after the VM instance is assigned and the session transitions to running, suggesting a potential issue with the Claude Code process or the interaction between the Claude Desktop and the Claude Code.
  • The fact that the crash reproduces across different models (Opus 4.7, Opus 4.6, Sonnet 4.6) and that there are no stderr output, CSP violations, or VM boot errors visible in main.log, indicates that the issue might be related to the Claude Desktop update rather than a specific model or configuration.
  • To mitigate the issue, users could try to revert to a previous version of Claude Desktop, if possible, or wait for a patch or update that addresses the problem.
  • It's also worth noting that the troubleshooting steps already attempted (full quit and relaunch, sign out and sign back in, clearing cache and restart) did not resolve the issue, suggesting that the problem might be more complex.

Notes

The issue seems to be specific to the macOS platform and the Anthropic API, and it's not clear if this issue affects other platforms or APIs.

Recommendation

Apply workaround: Revert to a previous version of Claude Desktop, if possible, as the current version (1.3036.0) seems to be the cause of the issue.

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] 1.3036.0 (cf521c): All Cowork sessions crash with "exited with code 1" on macOS - Desktop-to-SDK spawn failure, SDK 2.1.111 [20 comments, 15 participants]