anthropics / anthropics/claude-code

Segfault regression at 2.1.242 on glibc 2.44 (Arch) — distinct from closed #62747

Abierto
#89,415 9 comentarios 9 reacciones 0 asignados Ver en GitHub
area:core area:packaging duplicate has repro platform:linux regression
Lenguaje dominante
Python
Estrellas
145k
Forks
23.1k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

### Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported as a fresh regression
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code

### What's Wrong?
Claude Code segfaults immediately on startup (`claude --version` never prints, exit 139) on very recent glibc. This looks related to #62747, but that issue was closed as fixed in 2.1.197, and the regression window I bisected is completely different — suggesting either a reintroduced regression or a distinct bug with an identical symptom.

### Environment
- Distro: Arch Linux (rolling release)
- Kernel: 7.1.9-arch1-2
- glibc: 2.44
- CPU: Intel i5-11260H (full AVX2/AVX-512 — ruling out the separate CPU-feature crash reported elsewhere)
- Install method: npm (`@anthropic-ai/claude-code`)

### Steps to Reproduce
1. `npm install -g --allow-scripts=@anthropic-ai/claude-code @anthropic-ai/claude-code@2.1.242`
2. `claude --version`
3. Segfaults immediately, no output

### Bisection
Tested each version explicitly via npm install + `claude --version`:
- ✅ 2.1.212 — works
- ✅ 2.1.228 — works
- ✅ 2.1.235 — works
- ✅ 2.1.239 — works
- ✅ 2.1.241 — works
- ❌ 2.1.242 — segfaults
- ❌ 2.1.243 — segfaults

### Is this a regression?
Yes — exact boundary is 2.1.241 (works) → 2.1.242 (broken).

### Related issues
- #62747 — same symptom (immediate SIGSEGV, Bun runtime), closed as fixed in 2.1.197. A separate user (@nic116seitz) commented there recently on Arch/glibc 2.44 reporting the crash persists even on 2.1.205, which is inconsistent with that fix. This report's own bisection (2.1.241→2.1.242) is a third, distinct regression window from either of those, which is why I'm filing separately rather than adding a fourth comment to a closed thread.

Happy to test any candidate fix or provide a coredump/backtrace if useful.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by reproducing the failure with the listed npm install command and `claude --version` on Arch Linux with glibc 2.44. Compare 2.1.241 and 2.1.242, then collect the coredump or backtrace requested in the report. Done means startup succeeds without SIGSEGV on the affected environment.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
arch-linux, bun, linux, node.js
Área
cli, devtools, operating-systems
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Activo
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.