[BUG] Segment Fault

Status Open
Reported on v2.1.241
Maintainer reply None cached
Activity 5 comments · opened Aug 25, 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?

While running claude agents:

2.1.243 segfaults on startup: binary exports free, interposing glibc's allocator

claude --version segfaults immediately on Manjaro / glibc 2.44. 2.1.241 works fine on the same system. The official installer also segfaults (it runs the new binary to complete setup), so there is no upgrade path.

Crash is in static init, before any application code:

#0 free () ← in the executable, 0x1d10458
#1 __newlocale (...) at newlocale.c:291
result = 0x... <_nl_C_locobj> ← static glibc object
#2 ?? ()
#3 __pthread_once_slow (...) at pthread_once.c:116
...
#16 __libc_start_main_impl (main=0x1b1b550, argc=2, ...)

The executable defines a global free symbol. Since the executable precedes all shared objects in ELF symbol resolution, glibc's internal free() calls are redirected into the bundled allocator, which receives pointers it never allocated.

Diff vs 2.1.241: size 342 MB → 377 MB, max required symbol GLIBC_2.17 → GLIBC_2.26. Shared library dependencies are identical. Likely a toolchain change that stopped hiding allocator symbols.

Reproduces 100% on --version, --help, agents, and install.

Env: Manjaro, kernel 6.12.104-1-MANJARO, glibc 2.44, x86-64, BuildID c39577b41056cc1abf1ea7ed72a8b4c1ba407c42

Note: glibc 2.44 is likely relevant — most distros are still on 2.39–2.41, which may be why this isn't showing up everywhere.

What Should Happen?

claude agents should run

Error Messages/Logs

$ claude agents
Segmentation fault         (core dumped) claude agents

Steps to Reproduce

Install claude 2.1.243 under

$ uname -a
Linux repacified 6.12.104-1-MANJARO #1 SMP PREEMPT_DYNAMIC Wed, 19 Aug 2026 20:24:52 +0000 x86_64 GNU/Linux

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.241

Claude Code Version

segment fault

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Xterm

Additional Information

_No response_

View original on GitHub ↗

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