[BUG] Claude Code 2.1.152 hangs on startup (Fedora 42, VirtualBox)

Resolved 💬 2 comments Opened May 27, 2026 by RobAtSGH Closed Jul 13, 2026

Preflight Checklist

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

What's Wrong?

Claude Code 2.1.152 hangs indefinitely on startup. The process never produces any output and must be killed manually. Rolling back to 2.1.150 resolves the issue.

Environment
--------------
OS: Fedora 42 (full GNOME desktop)
Virtualization: VirtualBox VM
Claude Code version: 2.1.152 (broken), 2.1.150 (working)
Install method: curl -fsSL https://claude.ai/install.sh | bash
Auth method: OAuth (claude.ai subscription, no API key)
Binary location: ~/.local/share/claude/versions/2.1.152 (symlinked from ~/.local/bin/claude)

What Should Happen?

Expected Behavior:
Claude Code starts normally and presents the interactive prompt.

Error Messages/Logs

strace -f ~/.local/bin/claude shows the process hanging on the final syscall:

execve("/home/rnovak/.local/bin/claude", ["/home/rnovak/.local/bin/claude"], 0x7fffeee2a478 /* 66 vars */) = 0
brk(NULL)                               = 0x248bf000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa70e654000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=76347, ...}) = 0
mmap(NULL, 76347, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa70e641000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
...
[shared library loading omitted for brevity]
...
futex(0x629d0d8, FUTEX_LOCK_PI_PRIVATE, NULL) = -1 ESRCH (No such process)
[process hangs here indefinitely]

The process blocks on FUTEX_LOCK_PI_PRIVATE with return code ESRCH (No such process), meaning it is waiting to acquire a lock whose owning process does not exist. The process never recovers from this state.

Steps to Reproduce

Install Claude Code 2.1.152 on Fedora 42 running in a VirtualBox VM
Run claude from the terminal
Process hangs indefinitely with no output

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.150

Claude Code Version

2.1.152

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

Update Channel Info:

Channel at time of issue: latest
Channel after workaround: stable

The 2.1.152 binary was pulled automatically via the latest update channel. Switching to stable prevents the bad version from being re-downloaded. This suggests 2.1.152 was released to latest with a regression that has not yet been caught before reaching stable.

Additional Notes:

The issue began after a VM reboot. Claude Code 2.1.152 was installed on May 26 and worked prior to the reboot.
Wiping ~/.claude/ and ~/.claude.json does not resolve the issue, ruling out stale config or session state as the cause.
No stale shared memory segments or lock files were found in /tmp/, /dev/shm/, or /run/user/1000/.
SELinux denials were not observed.
The hang occurs immediately at the futex call during startup — before any network activity or config loading.
Version 2.1.150 runs correctly in the same environment with no changes.

View original on GitHub ↗

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