claude-code - 💡(How to fix) Fix [BUG] Cowork tasks crash with exit code 1 immediately after spawn on Desktop 1.3036.0 (macOS 26.3.1a, Apple M3) — model-independent, VM healthy [3 comments, 4 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#49485Fetched 2026-04-17 08:39:50
View on GitHub
Comments
3
Participants
4
Timeline
8
Reactions
0
Timeline (top)
labeled ×4commented ×3closed ×1

Error Message

Error Messages/Logs

  1. Observe: VM startup completes, Progress panel shows 2 steps complete, then error banner appears: "Something went wrong — Claude Code process exited with code 1"

Code Example

Process spawned id=69bb5ce1-93f0-457d-bb13-6d249de73f23 name=happy-youthful-euler command=/usr/local/bin/claude
  session_id: 'local_a7d68912-dba4-460a-b051-3475200c0caf',
  vm_instance_id: '860ca488-9b1b-4e79-a09c-ee2cc3498b05',
  model: 'claude-opus-4-7[1m]',
  cycle_health: 'unhealthy',
  had_first_response: false,
  seconds_to_outcome: 1,
  is_resume: false,
  unhealthy_reason: 'system_error',
  error_message: 'Claude Code process exited with code 1',
  error_category: 'process_crashed',
  transcript_size_bytes: undefined

Preceding VM startup (all healthy):
[VM] VM startup step: install_ca_certificates completed
[VM] API reachability: REACHABLE
[VM] SDK installed successfully: version=2.1.111
[VM] OAuth token approved successfully
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?

Every new Cowork task crashes within ~1 second of the Claude Code binary spawning inside the VM, displaying "Something went wrong — Claude Code process exited with code 1" in the task panel.

The VM side is fully healthy: startup steps complete, API reachability confirmed, SDK 2.1.111 installs successfully, and OAuth approves. The crash happens only after the binary is spawned. Reproduced on every task I've attempted since updating to 1.3036.0, including trivial prompts like "what time is it".

Regular Chat works fine — only Cowork is affected.

What Should Happen?

A Cowork task should accept a prompt and produce a response. The spawned Claude Code process should remain healthy (cycle_health: 'healthy', had_first_response: true) rather than exiting with code 1 before producing any output.

Error Messages/Logs

Process spawned id=69bb5ce1-93f0-457d-bb13-6d249de73f23 name=happy-youthful-euler command=/usr/local/bin/claude
  session_id: 'local_a7d68912-dba4-460a-b051-3475200c0caf',
  vm_instance_id: '860ca488-9b1b-4e79-a09c-ee2cc3498b05',
  model: 'claude-opus-4-7[1m]',
  cycle_health: 'unhealthy',
  had_first_response: false,
  seconds_to_outcome: 1,
  is_resume: false,
  unhealthy_reason: 'system_error',
  error_message: 'Claude Code process exited with code 1',
  error_category: 'process_crashed',
  transcript_size_bytes: undefined

Preceding VM startup (all healthy):
[VM] VM startup step: install_ca_certificates completed
[VM] API reachability: REACHABLE
[VM] SDK installed successfully: version=2.1.111
[VM] OAuth token approved successfully

Steps to Reproduce

  1. Update Claude Desktop to 1.3036.0 (cf521c) on macOS 26.3.1(a), Apple Silicon (M3)
  2. Open the Cowork tab
  3. Click "New task"
  4. Enter any prompt (e.g., "what time is it")
  5. Observe: VM startup completes, Progress panel shows 2 steps complete, then error banner appears: "Something went wrong — Claude Code process exited with code 1"

Reproduces 100% of attempts. Tested with models: Opus 4.7 (claude-opus-4-7[1m]), Opus 4.6, and Sonnet 4.6 — all crash identically within ~1 second of spawn.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Unknown — I know Cowork was working in recent builds prior to 1.3036.0, but I don't have the exact last-working version number.

Claude Code Version

Claude Code SDK 2.1.111 (per VM log: "SDK installed successfully: version=2.1.111"). Cannot run claude --version directly — binary runs inside Cowork VM at /usr/local/bin/claude, not accessible from host shell.

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Environment

  • Claude Desktop: 1.3036.0 (cf521c), built 2026-04-16T16:17:33Z
  • macOS: Tahoe 26.3.1 (a)
  • Hardware: iMac 24-inch (2023), Apple M3, 24 GB RAM
  • Plan: Max 20x

What I've ruled out

  • Not macOS 26.3 vsock/VM networking (possibly-related issues #23830, #32225, #47644) — VM networking is confirmed healthy in logs
  • Not model-specific — reproduced on Opus 4.7, Opus 4.6, and Sonnet 4.6
  • Not OAuth/auth — token approves successfully before the spawn
  • Not SDK install failure — SDK 2.1.111 installs cleanly
  • Not user workspace/config — fresh "New task" from empty prompt reproduces it
  • Regular Chat in the same Desktop app works fine

Signature The combination of had_first_response: false, seconds_to_outcome: 1, and error_category: 'process_crashed' suggests the binary is crashing on startup inside the VM, before it accepts any input.

Happy to provide full log tails or Console.app output if helpful.

extent analysis

TL;DR

The issue is likely related to a regression in Claude Code version 1.3036.0, causing the process to crash with code 1 when spawned in the VM.

Guidance

  • The error message "Claude Code process exited with code 1" and the error_category: 'process_crashed' log entry suggest that the issue is related to the Claude Code binary crashing on startup.
  • The fact that Regular Chat works fine and the issue only occurs with Cowork tasks suggests that the problem might be specific to the Cowork functionality.
  • To troubleshoot further, it would be helpful to compare the differences between the working version of Claude Code and version 1.3036.0 to identify potential changes that could be causing the issue.
  • It may also be useful to test the Cowork functionality with different models and prompts to see if the issue is specific to certain inputs or models.

Example

No code snippet is provided as the issue seems to be related to a specific version of the Claude Code binary and not a coding error.

Notes

The issue is reported to be a regression, meaning it worked in a previous version, but the exact last working version number is unknown. The problem is specific to macOS and the Claude Desktop app version 1.3036.0.

Recommendation

Apply a workaround by downgrading to a previous version of Claude Code, if possible, until the issue is fixed in a future version. This is because the issue is reported to be a regression and the exact cause is still unknown.

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