[BUG] Claude freezes 2s after startup - no version works

Resolved 💬 2 comments Opened Jul 10, 2025 by sanastasiou Closed Jul 10, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: @anthropic-ai/claude-code@1.0.44
  • Operating System: Linux Mint 21.3
  • Terminal: bash

Bug Description

<img width="1334" height="350" alt="Image" src="https://github.com/user-attachments/assets/f356a8a9-5c8b-4a3e-80c7-fd839f7fa712" />

Steps to Reproduce

  1. type claude
  2. wait 2s

Expected Behavior

claude should not crash

Actual Behavior

consoel is unresponsive, cannot type anything

Additional Context

Tried about 10 different versions, in different working directories, also in directories where claude was never used before. Tried different terminals.. Doesn't matter. Claude will freeze after 2s and just hangs forever.

claude --debug
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Saving project config for /home/joshua/Work/killswitch to /home/joshua/.claude.json
[DEBUG] Acquiring lock on /home/joshua/.claude.json.lock for config save (PID: 47336)
[DEBUG] Lock acquired successfully after 2ms
[DEBUG] Re-reading config from /home/joshua/.claude.json after acquiring lock
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Creating backup of config at /home/joshua/.claude.json.backup
[DEBUG] Backup created successfully
[DEBUG] Writing config to /home/joshua/.claude.json atomically
[DEBUG] Writing to temp file: /home/joshua/.claude.json.tmp.47336.1752124913391
[DEBUG] Preserving file permissions: 100664
[DEBUG] Temp file written successfully, size: 175137 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /home/joshua/.claude.json.tmp.47336.1752124913391 to /home/joshua/.claude.json
[DEBUG] File /home/joshua/.claude.json written atomically
[DEBUG] Config written successfully
[DEBUG] Releasing config lock
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Writing to temp file: /home/joshua/.claude/todos/b57a43a5-f6e2-4615-a8b1-9c2aaedada30-agent-b57a43a5-f6e2-4615-a8b1-9c2aaedada30.json.tmp.47336.1752124913517
[DEBUG] Temp file written successfully, size: 2 bytes
[DEBUG] Renaming /home/joshua/.claude/todos/b57a43a5-f6e2-4615-a8b1-9c2aaedada30-agent-b57a43a5-f6e2-4615-a8b1-9c2aaedada30.json.tmp.47336.1752124913517 to /home/joshua/.claude/todos/b57a43a5-f6e2-4615-a8b1-9c2aaedada30-agent-b57a43a5-f6e2-4615-a8b1-9c2aaedada30.json
[DEBUG] File /home/joshua/.claude/todos/b57a43a5-f6e2-4615-a8b1-9c2aaedada30-agent-b57a43a5-f6e2-4615-a8b1-9c2aaedada30.json written atomically
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Saving global config to /home/joshua/.claude.json
[DEBUG] Acquiring lock on /home/joshua/.claude.json.lock for config save (PID: 47336)
[DEBUG] Lock acquired successfully after 0ms
[DEBUG] Re-reading config from /home/joshua/.claude.json after acquiring lock
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Creating backup of config at /home/joshua/.claude.json.backup
[DEBUG] Backup created successfully
[DEBUG] Writing config to /home/joshua/.claude.json atomically
[DEBUG] Writing to temp file: /home/joshua/.claude.json.tmp.47336.1752124913810
[DEBUG] Preserving file permissions: 100664
[DEBUG] Temp file written successfully, size: 175137 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /home/joshua/.claude.json.tmp.47336.1752124913810 to /home/joshua/.claude.json
[DEBUG] File /home/joshua/.claude.json written atomically
[DEBUG] Config written successfully
[DEBUG] Releasing config lock
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Saving global config to /home/joshua/.claude.json
[DEBUG] Acquiring lock on /home/joshua/.claude.json.lock for config save (PID: 47336)
[DEBUG] Lock acquired successfully after 1ms
[DEBUG] Re-reading config from /home/joshua/.claude.json after acquiring lock
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Creating backup of config at /home/joshua/.claude.json.backup
[DEBUG] Backup created successfully
[DEBUG] Writing config to /home/joshua/.claude.json atomically
[DEBUG] Writing to temp file: /home/joshua/.claude.json.tmp.47336.1752124914156
[DEBUG] Preserving file permissions: 100664
[DEBUG] Temp file written successfully, size: 175137 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /home/joshua/.claude.json.tmp.47336.1752124914156 to /home/joshua/.claude.json
[DEBUG] File /home/joshua/.claude.json written atomically
[DEBUG] Config written successfully
[DEBUG] Releasing config lock
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code!                         │
│                                                   │
│   /help for help, /status for your current setup  │
│                                                   │
│   cwd: /home/joshua/Work/killswitch             │
╰───────────────────────────────────────────────────╯

[DEBUG] AutoUpdaterWrapper: Installation type: npm-local, using native: false
[DEBUG] Saving global config to /home/joshua/.claude.json
[DEBUG] Acquiring lock on /home/joshua/.claude.json.lock for config save (PID: 47336)
[DEBUG] Lock acquired successfully after 1ms
[DEBUG] Re-reading config from /home/joshua/.claude.json after acquiring lock
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json
[DEBUG] Creating backup of config at /home/joshua/.claude.json.backup
[DEBUG] Backup created successfully
[DEBUG] Writing config to /home/joshua/.claude.json atomically
[DEBUG] Writing to temp file: /home/joshua/.claude.json.tmp.47336.1752124914528
[DEBUG] Preserving file permissions: 100664
[DEBUG] Temp file written successfully, size: 175137 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /home/joshua/.claude.json.tmp.47336.1752124914528 to /home/joshua/.claude.json
[DEBUG] File /home/joshua/.claude.json written atomically
[DEBUG] Config written successfully
[DEBUG] Releasing config lock
[DEBUG] Reading config from /home/joshua/.claude.json
[DEBUG] Config parsed successfully from /home/joshua/.claude.json

╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > Try "edit peripherals.service.ts to..."                                                                       │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
  ? for shortcuts                                                                                 ◯ IDE connected
                                                                                                       Debug mode

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗