claude-code - 💡(How to fix) Fix [BUG] Code 1 [3 comments, 3 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#49448Fetched 2026-04-17 08:40:54
View on GitHub
Comments
3
Participants
3
Timeline
9
Reactions
1
Timeline (top)
labeled ×5commented ×3closed ×1

Error Message

2026-04-16 15:28:22 [info] [account] Account details not yet available, waiting for IPC... 2026-04-16 15:28:22 [info] [cu-side-panel] initialized 2026-04-16 15:28:22 [info] [cu-esc] initialized 2026-04-16 15:28:22 [info] [cu-teach] controller initialized 2026-04-16 15:28:22 [info] [cu-glow] initialized 2026-04-16 15:28:22 [info] [cu-notifications] listeners registered 2026-04-16 15:28:22 [info] [Chrome Extension MCP] Skipping native host setup: binary not found at /Applications/Claude.app/Contents/Frameworks/Claude Helper.app/Contents/Helpers/chrome-native-host 2026-04-16 15:28:22 [info] [remoteMarketplaceMigration] marketplace_migration.invoked 2026-04-16 15:28:22 [info] [remoteMarketplaceMigration] marketplace_migration.skip_sentinel_set 2026-04-16 15:28:22 [info] [remoteUploadsMigration] upload_migration.invoked 2026-04-16 15:28:22 [info] [keep-awake] started (id=0, first claim=keepAwakeEnabled) 2026-04-16 15:28:22 [info] [wake-scheduler] registered claim id=scheduled-tasks 2026-04-16 15:28:22 [info] NotificationService initialized with UNUserNotificationCenter (macOS) 2026-04-16 15:28:23 [info] Checking for updates 2026-04-16 15:28:23 [info] GPU process gone: { type: 'GPU', reason: 'crashed', exitCode: 5, serviceName: 'GPU' } 2026-04-16 15:28:23 [error] Sentry caught: { eventId: '<redacted>', type: 'Unknown', value: "'Utility' process exited with 'crashed'", stack: undefined } 2026-04-16 15:28:24 [error] Sentry caught: { eventId: '<redacted>', type: 'Unknown', value: 'No message', stack: undefined } 2026-04-16 15:28:24 [error] Sentry caught: { eventId: '<redacted>', type: 'Unknown', value: 'No message', stack: undefined } 2026-04-16 15:28:24 [info] Main webview render process gone: { reason: 'crashed', exitCode: 5 } 2026-04-16 15:28:24 [error] Sentry caught: { eventId: '<redacted>', type: 'Unknown', value: 'Main webview render process gone', stack: undefined } 2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'media', ... } 2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'media', ... } 2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'web-app-installation', ... } 2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'geolocation', ... } 2026-04-16 15:28:24 [info] claude.ai account details provided 2026-04-16 15:28:24 [error] Failed to cache extension update [email protected]: ENOENT: no such file or directory, open '/Users/<user>/Library/Application Support/Claude/Extensions Update Cache/ant.dir.gh.anthropic.pdf-server-mcp/dist/' 2026-04-16 15:28:24 [error] Failed to check/cache update for extension ant.dir.gh.anthropic.pdf-server-mcp: [Error: ENOENT: no such file or directory, open '/Users/<user>/Library/Application Support/Claude/Extensions Update Cache/ant.dir.gh.anthropic.pdf-server-mcp/dist/'] 2026-04-16 15:28:25 [info] Extension update check completed 2026-04-16 15:28:30 [info] Config file written 2026-04-16 15:28:30 [info] [CCD] Wrote SDK version file: 2.1.111 2026-04-16 15:28:38 [info] [VM] getVMStorageSubpath: vmStorageDir=/Users/<user>/Library/Application Support/Claude/claude-code-vm 2026-04-16 15:28:49 [info] [EventLogging] Flushing 15 events 2026-04-16 15:28:55 [info] LocalAgentModeSessions.start: 2026-04-16 15:28:56 [info] using oauth config { apiHost: 'https://api.anthropic.com', clientId: '<redacted>', redirectUri: 'https://console.anthropic.com/oauth/code/callback', scope: 'user:inference user:file_upload user:profile', domain: '.claude.ai' } 2026-04-16 15:28:56 [info] [oauth] looking up token for orgId=<redacted> 2026-04-16 15:28:56 [info] [oauth] using cached token for orgId=<redacted> 2026-04-16 15:28:56 [info] Starting local session local_<redacted> in /home/<redacted> 2026-04-16 15:28:56 [info] [RemotePluginManager] Starting remote plugins sync 2026-04-16 15:28:56 [info] [PluginsFetcher] fetchAutoInstalledPlugins: 0 plugins 2026-04-16 15:28:56 [info] [RemotePluginManager] Delta: 0 to download, 0 to remove 2026-04-16 15:28:56 [warn] Transcript not found for session local_<redacted> (cliSessionId: none) 2026-04-16 15:28:56 [info] LocalAgentModeSessions.updateSession: sessionId=local_<redacted> 2026-04-16 15:28:56 [info] Updated session local_<redacted> 2026-04-16 15:28:57 [info] [PluginsFetcher] fetchBrowsableRemotePlugins: 21 plugins (offset=0, hasMore=false) 2026-04-16 15:28:57 [info] [RemotePluginManager] Sync complete: 0 downloaded, 0 removed, 0 orphans cleaned 2026-04-16 15:28:57 [info] [GBCache] Seeded GB cache into session local_<redacted> 2026-04-16 15:28:57 [info] [LocalPluginsReader] Found 0 enabled local plugins (0 installed)

[... 19 "Plugin has remote MCP servers ... Shadowing with no-ops to prevent SDK double-load" lines omitted for brevity ...]

2026-04-16 15:28:57 [info] [pluginShimPermissionBridge] Watching /Users/<user>/Library/Application Support/Claude/local-agent-mode-sessions/<redacted>/<redacted>/local_<redacted>/shim-perm/requests for shim permission requests 2026-04-16 15:28:57 [warn] [RemotePluginManager] Skipping legacy command "brand-voice:discover-brand" — name collides with skills/ entry 2026-04-16 15:28:57 [info] [LocalAgentModeSessionManager] Appending skills to system prompt 2026-04-16 15:28:57 [info] [LocalAgentModeSessionManager] Using system prompt (134463 chars, 1 segments) 2026-04-16 15:28:57 [info] [LocalAgentModeSessionManager] maxThinkingTokens - config: 31999, model: claude-opus-4-7[1m], resolved: 31999 2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to Control Chrome 2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connected to Control Chrome (10 tools) 2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to PowerPoint (By Anthropic) 2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connected to PowerPoint (By Anthropic) (11 tools) 2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to Word (By Anthropic) 2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connected to Word (By Anthropic) (9 tools) 2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to pdf-viewer 2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connected to pdf-viewer (7 tools) 2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connecting to Control your Mac 2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connected to Control your Mac (1 tools) 2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connecting to PDF Tools - View, Fill, Merge, Split, Manage Pages, Extract 2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connected to PDF Tools - View, Fill, Merge, Split, Manage Pages, Extract (21 tools) 2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connecting to Kapture Browser Automation 2026-04-16 15:28:59 [info] [LocalMcpServerManager] Connected to Kapture Browser Automation (21 tools) 2026-04-16 15:28:59 [info] [LocalAgentModeSessionManager] Added scheduled tasks MCP server 2026-04-16 15:28:59 [info] [LocalAgentModeSessionManager] Using 21 remote plugins 2026-04-16 15:28:59 [info] [LocalAgentModeSessionManager] SDK version 2.1.111 will be used 2026-04-16 15:28:59 [info] Using Claude VM spawn function for session 2026-04-16 15:28:59 [info] [Lifecycle] Session local_<redacted>: initializing → running 2026-04-16 15:28:59 [info] [FileWatching] Starting file watcher for session local_<redacted> 2026-04-16 15:28:59 [info] [FileSystemWatcher] Started watching outputs directory for session local_<redacted>

CRASH OCCURS HERE — 1 second after session transitions to running

2026-04-16 15:29:00 [error] Session local_<redacted> query error: Claude Code process exited with code 1 2026-04-16 15:29:00 [info] [Lifecycle] Session local_<redacted>: running → idle 2026-04-16 15:29:00 [info] [FileWatching] Stopping file watcher for session local_<redacted> 2026-04-16 15:29:00 [info] [FileSystemWatcher] Stopped watching for session local_<redacted> 2026-04-16 15:29:00 [info] [CycleHealth] Unhealthy cycle: { session_id: 'local_<redacted>', scheduled_task_id: null, space_id: undefined, session_type: undefined, parent_session_id: undefined, host_loop_mode: false, vm_instance_id: '<redacted>', model: 'claude-opus-4-7[1m]', cli_session_id: null, user_message_uuid: '<redacted>', cycle_health: 'unhealthy', had_first_response: false, seconds_to_outcome: 5, is_resume: false, unhealthy_reason: 'system_error', error_message: 'Claude Code process exited with code 1', error_category: 'process_crashed', transcript_size_bytes: undefined } 2026-04-16 15:29:00 [info] LocalAgentModeSessions.setModel: sessionId=local_<redacted>, model=claude-opus-4-7[1m] 2026-04-16 15:29:00 [info] [GBCache] Persisted 245 keys from .claude.json for session local_<redacted>

Code Example

2026-04-16 15:28:22 [info] [account] Account details not yet available, waiting for IPC...
2026-04-16 15:28:22 [info] [cu-side-panel] initialized
2026-04-16 15:28:22 [info] [cu-esc] initialized
2026-04-16 15:28:22 [info] [cu-teach] controller initialized
2026-04-16 15:28:22 [info] [cu-glow] initialized
2026-04-16 15:28:22 [info] [cu-notifications] listeners registered
2026-04-16 15:28:22 [info] [Chrome Extension MCP] Skipping native host setup: binary not found at /Applications/Claude.app/Contents/Frameworks/Claude Helper.app/Contents/Helpers/chrome-native-host
2026-04-16 15:28:22 [info] [remoteMarketplaceMigration] marketplace_migration.invoked
2026-04-16 15:28:22 [info] [remoteMarketplaceMigration] marketplace_migration.skip_sentinel_set
2026-04-16 15:28:22 [info] [remoteUploadsMigration] upload_migration.invoked
2026-04-16 15:28:22 [info] [keep-awake] started (id=0, first claim=keepAwakeEnabled)
2026-04-16 15:28:22 [info] [wake-scheduler] registered claim id=scheduled-tasks
2026-04-16 15:28:22 [info] NotificationService initialized with UNUserNotificationCenter (macOS)
2026-04-16 15:28:23 [info] Checking for updates
2026-04-16 15:28:23 [info] GPU process gone: { type: 'GPU', reason: 'crashed', exitCode: 5, serviceName: 'GPU' }
2026-04-16 15:28:23 [error] Sentry caught: {
  eventId: '<redacted>',
  type: 'Unknown',
  value: "'Utility' process exited with 'crashed'",
  stack: undefined
}
2026-04-16 15:28:24 [error] Sentry caught: {
  eventId: '<redacted>',
  type: 'Unknown',
  value: 'No message',
  stack: undefined
}
2026-04-16 15:28:24 [error] Sentry caught: {
  eventId: '<redacted>',
  type: 'Unknown',
  value: 'No message',
  stack: undefined
}
2026-04-16 15:28:24 [info] Main webview render process gone: { reason: 'crashed', exitCode: 5 }
2026-04-16 15:28:24 [error] Sentry caught: {
  eventId: '<redacted>',
  type: 'Unknown',
  value: 'Main webview render process gone',
  stack: undefined
}
2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'media', ... }
2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'media', ... }
2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'web-app-installation', ... }
2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'geolocation', ... }
2026-04-16 15:28:24 [info] claude.ai account details provided
2026-04-16 15:28:24 [error] Failed to cache extension update ant.dir.gh.anthropic.pdf-server-mcp@1.5.0: ENOENT: no such file or directory, open '/Users/<user>/Library/Application Support/Claude/Extensions Update Cache/ant.dir.gh.anthropic.pdf-server-mcp/dist/'
2026-04-16 15:28:24 [error] Failed to check/cache update for extension ant.dir.gh.anthropic.pdf-server-mcp: [Error: ENOENT: no such file or directory, open '/Users/<user>/Library/Application Support/Claude/Extensions Update Cache/ant.dir.gh.anthropic.pdf-server-mcp/dist/']
2026-04-16 15:28:25 [info] Extension update check completed
2026-04-16 15:28:30 [info] Config file written
2026-04-16 15:28:30 [info] [CCD] Wrote SDK version file: 2.1.111
2026-04-16 15:28:38 [info] [VM] getVMStorageSubpath: vmStorageDir=/Users/<user>/Library/Application Support/Claude/claude-code-vm
2026-04-16 15:28:49 [info] [EventLogging] Flushing 15 events
2026-04-16 15:28:55 [info] LocalAgentModeSessions.start:
2026-04-16 15:28:56 [info] using oauth config { apiHost: 'https://api.anthropic.com', clientId: '<redacted>', redirectUri: 'https://console.anthropic.com/oauth/code/callback', scope: 'user:inference user:file_upload user:profile', domain: '.claude.ai' }
2026-04-16 15:28:56 [info] [oauth] looking up token for orgId=<redacted>
2026-04-16 15:28:56 [info] [oauth] using cached token for orgId=<redacted>
2026-04-16 15:28:56 [info] Starting local session local_<redacted> in /home/<redacted>
2026-04-16 15:28:56 [info] [RemotePluginManager] Starting remote plugins sync
2026-04-16 15:28:56 [info] [PluginsFetcher] fetchAutoInstalledPlugins: 0 plugins
2026-04-16 15:28:56 [info] [RemotePluginManager] Delta: 0 to download, 0 to remove
2026-04-16 15:28:56 [warn] Transcript not found for session local_<redacted> (cliSessionId: none)
2026-04-16 15:28:56 [info] LocalAgentModeSessions.updateSession: sessionId=local_<redacted>
2026-04-16 15:28:56 [info] Updated session local_<redacted>
2026-04-16 15:28:57 [info] [PluginsFetcher] fetchBrowsableRemotePlugins: 21 plugins (offset=0, hasMore=false)
2026-04-16 15:28:57 [info] [RemotePluginManager] Sync complete: 0 downloaded, 0 removed, 0 orphans cleaned
2026-04-16 15:28:57 [info] [GBCache] Seeded GB cache into session local_<redacted>
2026-04-16 15:28:57 [info] [LocalPluginsReader] Found 0 enabled local plugins (0 installed)

[... 19 "Plugin has remote MCP servers ... Shadowing with no-ops to prevent SDK double-load" lines omitted for brevity ...]

2026-04-16 15:28:57 [info] [pluginShimPermissionBridge] Watching /Users/<user>/Library/Application Support/Claude/local-agent-mode-sessions/<redacted>/<redacted>/local_<redacted>/shim-perm/requests for shim permission requests
2026-04-16 15:28:57 [warn] [RemotePluginManager] Skipping legacy command "brand-voice:discover-brand" — name collides with skills/ entry
2026-04-16 15:28:57 [info] [LocalAgentModeSessionManager] Appending skills to system prompt
2026-04-16 15:28:57 [info] [LocalAgentModeSessionManager] Using system prompt (134463 chars, 1 segments)
2026-04-16 15:28:57 [info] [LocalAgentModeSessionManager] maxThinkingTokens - config: 31999, model: claude-opus-4-7[1m], resolved: 31999
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to Control Chrome
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connected to Control Chrome (10 tools)
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to PowerPoint (By Anthropic)
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connected to PowerPoint (By Anthropic) (11 tools)
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to Word (By Anthropic)
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connected to Word (By Anthropic) (9 tools)
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to pdf-viewer
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connected to pdf-viewer (7 tools)
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connecting to Control your Mac
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connected to Control your Mac (1 tools)
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connecting to PDF Tools - View, Fill, Merge, Split, Manage Pages, Extract
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connected to PDF Tools - View, Fill, Merge, Split, Manage Pages, Extract (21 tools)
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connecting to Kapture Browser Automation
2026-04-16 15:28:59 [info] [LocalMcpServerManager] Connected to Kapture Browser Automation (21 tools)
2026-04-16 15:28:59 [info] [LocalAgentModeSessionManager] Added scheduled tasks MCP server
2026-04-16 15:28:59 [info] [LocalAgentModeSessionManager] Using 21 remote plugins
2026-04-16 15:28:59 [info] [LocalAgentModeSessionManager] SDK version 2.1.111 will be used
2026-04-16 15:28:59 [info] Using Claude VM spawn function for session
2026-04-16 15:28:59 [info] [Lifecycle] Session local_<redacted>: initializing → running
2026-04-16 15:28:59 [info] [FileWatching] Starting file watcher for session local_<redacted>
2026-04-16 15:28:59 [info] [FileSystemWatcher] Started watching outputs directory for session local_<redacted>

### CRASH OCCURS HERE1 second after session transitions to running ###

2026-04-16 15:29:00 [error] Session local_<redacted> query error: Claude Code process exited with code 1
2026-04-16 15:29:00 [info] [Lifecycle] Session local_<redacted>: running → idle
2026-04-16 15:29:00 [info] [FileWatching] Stopping file watcher for session local_<redacted>
2026-04-16 15:29:00 [info] [FileSystemWatcher] Stopped watching for session local_<redacted>
2026-04-16 15:29:00 [info] [CycleHealth] Unhealthy cycle: {
  session_id: 'local_<redacted>',
  scheduled_task_id: null,
  space_id: undefined,
  session_type: undefined,
  parent_session_id: undefined,
  host_loop_mode: false,
  vm_instance_id: '<redacted>',
  model: 'claude-opus-4-7[1m]',
  cli_session_id: null,
  user_message_uuid: '<redacted>',
  cycle_health: 'unhealthy',
  had_first_response: false,
  seconds_to_outcome: 5,
  is_resume: false,
  unhealthy_reason: 'system_error',
  error_message: 'Claude Code process exited with code 1',
  error_category: 'process_crashed',
  transcript_size_bytes: undefined
}
2026-04-16 15:29:00 [info] LocalAgentModeSessions.setModel: sessionId=local_<redacted>, model=claude-opus-4-7[1m]
2026-04-16 15:29:00 [info] [GBCache] Persisted 245 keys from .claude.json for session local_<redacted>
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?

Here's a clean summary you can paste to support:

Issue: Claude Cowork throws "Claude Code process exited with code 1" on new sessions. Error started appearing today. Restarting Claude does not resolve it. Environment:

MacBook Air, Apple Silicon (M2) macOS: [run sw_vers -productVersion if you haven't given them this yet] Claude Code binary: version 2.1.111 (native install) Using Cowork in the desktop app, not Claude Code in terminal Two separate macOS user accounts in use: one for work Claude login, one for personal Claude login (different Anthropic accounts)

Troubleshooting completed:

Restarted Claude / started fresh sessions — no change, new sessions continue to crash. Checked Anthropic status page — all systems reported operational. Verified no ANTHROPIC_API_KEY env var conflict — none set. Checked for stray Claude processes from the other macOS user account — none found. PATH check — ~/.local/bin is present in PATH (confirmed via echo $PATH | tr ':' '\n' | grep local/bin). Checked for duplicate claude installs — which -a claude returned only one result: /Users/jonboling/.local/bin/claude, symlinked to the native install at ~/.local/share/claude/versions/2.1.111. No npm install present, no conflict. Hardware/OS compatibility — confirmed M2 (Apple Silicon), so Cowork is supported. TCC / Full Disk Access fix (per GitHub issue suggesting macOS sandbox was blocking the embedded binary) — located claude.app inside ~/Library/Application Support/Claude/claude-code/[version]/, added it to System Settings → Privacy & Security → Full Disk Access, fully quit and relaunched Cowork. No change.

What this rules out:

Env var / authentication conflicts Cross-user process interference Duplicate or misrouted binaries PATH misconfiguration Hardware/OS incompatibility TCC sandbox blocking filesystem access User account bleed-through (separate macOS users confirmed)

Current status: Crash is 100% reproducible on new Cowork sessions. Symptoms match GitHub issue #46029 ("New Cowork sessions crash with 'exited with code 1'"). Requesting escalation to the Cowork engineering team, or guidance on filing a GitHub issue with this diagnostic trail.

A couple of things you could add if you want to strengthen it:

If you pulled anything from Console.app or ~/Library/Logs/Claude/, attach that — it's the single most useful thing an engineer will want. The sw_vers -productVersion output (your exact macOS version) if you haven't shared it yet. Whether existing/resumed sessions still work, or whether all sessions (new and old) crash. You originally didn't say — the GitHub issue #46029 specifically notes existing sessions resume fine while new ones crash, and knowing which bucket you fall into helps.

What Should Happen?

Starting a new Cowork session should successfully launch the embedded Claude Code process and allow the conversation to proceed normally, without the process exiting immediately. At minimum, if the underlying process does fail to launch, the desktop app should surface a specific, actionable error message (e.g., missing permissions, network failure, binary not found) rather than the generic "exited with code 1," which gives users no path forward.

Error Messages/Logs

2026-04-16 15:28:22 [info] [account] Account details not yet available, waiting for IPC...
2026-04-16 15:28:22 [info] [cu-side-panel] initialized
2026-04-16 15:28:22 [info] [cu-esc] initialized
2026-04-16 15:28:22 [info] [cu-teach] controller initialized
2026-04-16 15:28:22 [info] [cu-glow] initialized
2026-04-16 15:28:22 [info] [cu-notifications] listeners registered
2026-04-16 15:28:22 [info] [Chrome Extension MCP] Skipping native host setup: binary not found at /Applications/Claude.app/Contents/Frameworks/Claude Helper.app/Contents/Helpers/chrome-native-host
2026-04-16 15:28:22 [info] [remoteMarketplaceMigration] marketplace_migration.invoked
2026-04-16 15:28:22 [info] [remoteMarketplaceMigration] marketplace_migration.skip_sentinel_set
2026-04-16 15:28:22 [info] [remoteUploadsMigration] upload_migration.invoked
2026-04-16 15:28:22 [info] [keep-awake] started (id=0, first claim=keepAwakeEnabled)
2026-04-16 15:28:22 [info] [wake-scheduler] registered claim id=scheduled-tasks
2026-04-16 15:28:22 [info] NotificationService initialized with UNUserNotificationCenter (macOS)
2026-04-16 15:28:23 [info] Checking for updates
2026-04-16 15:28:23 [info] GPU process gone: { type: 'GPU', reason: 'crashed', exitCode: 5, serviceName: 'GPU' }
2026-04-16 15:28:23 [error] Sentry caught: {
  eventId: '<redacted>',
  type: 'Unknown',
  value: "'Utility' process exited with 'crashed'",
  stack: undefined
}
2026-04-16 15:28:24 [error] Sentry caught: {
  eventId: '<redacted>',
  type: 'Unknown',
  value: 'No message',
  stack: undefined
}
2026-04-16 15:28:24 [error] Sentry caught: {
  eventId: '<redacted>',
  type: 'Unknown',
  value: 'No message',
  stack: undefined
}
2026-04-16 15:28:24 [info] Main webview render process gone: { reason: 'crashed', exitCode: 5 }
2026-04-16 15:28:24 [error] Sentry caught: {
  eventId: '<redacted>',
  type: 'Unknown',
  value: 'Main webview render process gone',
  stack: undefined
}
2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'media', ... }
2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'media', ... }
2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'web-app-installation', ... }
2026-04-16 15:28:24 [warn] Blocked permission check { permission: 'geolocation', ... }
2026-04-16 15:28:24 [info] claude.ai account details provided
2026-04-16 15:28:24 [error] Failed to cache extension update [email protected]: ENOENT: no such file or directory, open '/Users/<user>/Library/Application Support/Claude/Extensions Update Cache/ant.dir.gh.anthropic.pdf-server-mcp/dist/'
2026-04-16 15:28:24 [error] Failed to check/cache update for extension ant.dir.gh.anthropic.pdf-server-mcp: [Error: ENOENT: no such file or directory, open '/Users/<user>/Library/Application Support/Claude/Extensions Update Cache/ant.dir.gh.anthropic.pdf-server-mcp/dist/']
2026-04-16 15:28:25 [info] Extension update check completed
2026-04-16 15:28:30 [info] Config file written
2026-04-16 15:28:30 [info] [CCD] Wrote SDK version file: 2.1.111
2026-04-16 15:28:38 [info] [VM] getVMStorageSubpath: vmStorageDir=/Users/<user>/Library/Application Support/Claude/claude-code-vm
2026-04-16 15:28:49 [info] [EventLogging] Flushing 15 events
2026-04-16 15:28:55 [info] LocalAgentModeSessions.start:
2026-04-16 15:28:56 [info] using oauth config { apiHost: 'https://api.anthropic.com', clientId: '<redacted>', redirectUri: 'https://console.anthropic.com/oauth/code/callback', scope: 'user:inference user:file_upload user:profile', domain: '.claude.ai' }
2026-04-16 15:28:56 [info] [oauth] looking up token for orgId=<redacted>
2026-04-16 15:28:56 [info] [oauth] using cached token for orgId=<redacted>
2026-04-16 15:28:56 [info] Starting local session local_<redacted> in /home/<redacted>
2026-04-16 15:28:56 [info] [RemotePluginManager] Starting remote plugins sync
2026-04-16 15:28:56 [info] [PluginsFetcher] fetchAutoInstalledPlugins: 0 plugins
2026-04-16 15:28:56 [info] [RemotePluginManager] Delta: 0 to download, 0 to remove
2026-04-16 15:28:56 [warn] Transcript not found for session local_<redacted> (cliSessionId: none)
2026-04-16 15:28:56 [info] LocalAgentModeSessions.updateSession: sessionId=local_<redacted>
2026-04-16 15:28:56 [info] Updated session local_<redacted>
2026-04-16 15:28:57 [info] [PluginsFetcher] fetchBrowsableRemotePlugins: 21 plugins (offset=0, hasMore=false)
2026-04-16 15:28:57 [info] [RemotePluginManager] Sync complete: 0 downloaded, 0 removed, 0 orphans cleaned
2026-04-16 15:28:57 [info] [GBCache] Seeded GB cache into session local_<redacted>
2026-04-16 15:28:57 [info] [LocalPluginsReader] Found 0 enabled local plugins (0 installed)

[... 19 "Plugin has remote MCP servers ... Shadowing with no-ops to prevent SDK double-load" lines omitted for brevity ...]

2026-04-16 15:28:57 [info] [pluginShimPermissionBridge] Watching /Users/<user>/Library/Application Support/Claude/local-agent-mode-sessions/<redacted>/<redacted>/local_<redacted>/shim-perm/requests for shim permission requests
2026-04-16 15:28:57 [warn] [RemotePluginManager] Skipping legacy command "brand-voice:discover-brand" — name collides with skills/ entry
2026-04-16 15:28:57 [info] [LocalAgentModeSessionManager] Appending skills to system prompt
2026-04-16 15:28:57 [info] [LocalAgentModeSessionManager] Using system prompt (134463 chars, 1 segments)
2026-04-16 15:28:57 [info] [LocalAgentModeSessionManager] maxThinkingTokens - config: 31999, model: claude-opus-4-7[1m], resolved: 31999
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to Control Chrome
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connected to Control Chrome (10 tools)
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to PowerPoint (By Anthropic)
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connected to PowerPoint (By Anthropic) (11 tools)
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to Word (By Anthropic)
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connected to Word (By Anthropic) (9 tools)
2026-04-16 15:28:57 [info] [LocalMcpServerManager] Connecting to pdf-viewer
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connected to pdf-viewer (7 tools)
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connecting to Control your Mac
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connected to Control your Mac (1 tools)
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connecting to PDF Tools - View, Fill, Merge, Split, Manage Pages, Extract
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connected to PDF Tools - View, Fill, Merge, Split, Manage Pages, Extract (21 tools)
2026-04-16 15:28:58 [info] [LocalMcpServerManager] Connecting to Kapture Browser Automation
2026-04-16 15:28:59 [info] [LocalMcpServerManager] Connected to Kapture Browser Automation (21 tools)
2026-04-16 15:28:59 [info] [LocalAgentModeSessionManager] Added scheduled tasks MCP server
2026-04-16 15:28:59 [info] [LocalAgentModeSessionManager] Using 21 remote plugins
2026-04-16 15:28:59 [info] [LocalAgentModeSessionManager] SDK version 2.1.111 will be used
2026-04-16 15:28:59 [info] Using Claude VM spawn function for session
2026-04-16 15:28:59 [info] [Lifecycle] Session local_<redacted>: initializing → running
2026-04-16 15:28:59 [info] [FileWatching] Starting file watcher for session local_<redacted>
2026-04-16 15:28:59 [info] [FileSystemWatcher] Started watching outputs directory for session local_<redacted>

### CRASH OCCURS HERE — 1 second after session transitions to running ###

2026-04-16 15:29:00 [error] Session local_<redacted> query error: Claude Code process exited with code 1
2026-04-16 15:29:00 [info] [Lifecycle] Session local_<redacted>: running → idle
2026-04-16 15:29:00 [info] [FileWatching] Stopping file watcher for session local_<redacted>
2026-04-16 15:29:00 [info] [FileSystemWatcher] Stopped watching for session local_<redacted>
2026-04-16 15:29:00 [info] [CycleHealth] Unhealthy cycle: {
  session_id: 'local_<redacted>',
  scheduled_task_id: null,
  space_id: undefined,
  session_type: undefined,
  parent_session_id: undefined,
  host_loop_mode: false,
  vm_instance_id: '<redacted>',
  model: 'claude-opus-4-7[1m]',
  cli_session_id: null,
  user_message_uuid: '<redacted>',
  cycle_health: 'unhealthy',
  had_first_response: false,
  seconds_to_outcome: 5,
  is_resume: false,
  unhealthy_reason: 'system_error',
  error_message: 'Claude Code process exited with code 1',
  error_category: 'process_crashed',
  transcript_size_bytes: undefined
}
2026-04-16 15:29:00 [info] LocalAgentModeSessions.setModel: sessionId=local_<redacted>, model=claude-opus-4-7[1m]
2026-04-16 15:29:00 [info] [GBCache] Persisted 245 keys from .claude.json for session local_<redacted>

Steps to Reproduce

  1. Launch the Claude desktop app on macOS (Apple Silicon, M2).
  2. Click the Cowork tab in the sidebar.
  3. Start a new Cowork session (any prompt, any project).
  4. Observe that the session immediately fails with "Claude Code process exited with code 1."
  5. Restart the desktop app fully (⌘+Q, then relaunch) and repeat step 3 — same result.

The error is 100% reproducible on new sessions. [Add here: whether resumed/existing sessions work or also fail — fill this in based on your experience.]

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.111 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue is likely related to the Claude Code process crashing with code 1, and a potential workaround could be to investigate the claude-opus-4-7[1m] model configuration or the file system permissions.

Guidance

  • Investigate the claude-opus-4-7[1m] model configuration to see if there are any specific requirements or settings that could be causing the crash.
  • Check the file system permissions for the ~/Library/Application Support/Claude/ directory and its subdirectories to ensure that the Claude Code process has the necessary permissions to read and write files.
  • Review the logs to see if there are any other error messages or warnings that could indicate the cause of the crash.
  • Consider testing with a different model or configuration to see if the issue is specific to the claude-opus-4-7[1m] model.

Example

No code snippet is provided as the issue seems to be related to the Claude Code process and its configuration, rather than a specific code issue.

Notes

The issue is 100% reproducible on new sessions, and the error message "Claude Code process exited with code 1" is not very informative. Further investigation is needed to determine the root cause of the issue.

Recommendation

Apply a workaround by investigating the model configuration and file system permissions, as the root cause of the issue is not immediately clear.

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] Code 1 [3 comments, 3 participants]