sync: auto-sync from HOWARD-HOME at 2026-07-13 16:10:13
Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-07-13 16:10:13
This commit is contained in:
@@ -229,3 +229,4 @@
|
||||
- [EDR auto-isolates GuruRMM PowerShell](project_edr_rmm_autoisolation_fp.md) — Datto "Exfiltration Over HTTP" rule auto-isolates benign GuruRMM scripts fleet-wide (vwp-qbs 4h outage); watcher + narrow suppression deployed, policy fix pending Mike
|
||||
- [Background tasks — no shell `&`](feedback_background_task_no_ampersand.md) — with run_in_background:true, run the command in the foreground of the shell; adding `&`/`disown` forks + exits 0 instantly, orphaning a blocking wait so it never delivers (hit twice building ask-forum)
|
||||
- [ask-forum — human-in-the-loop via #ct-forum](../skills/ask-forum/SKILL.md) — ask a teammate a question in the private ct-forum Discord forum, get their human answer back in-session; forum-only, any human can answer, run the --wait as a proper background task
|
||||
- [Claude Code Bun crash -> pin 2.1.110](reference_claude_code_bun_crash_pin.md) - v2.1.114+ segfaults on Win11 at new-session start; npm pin 2.1.110 + DISABLE_AUTOUPDATER=1; unpin on #55219 fix
|
||||
|
||||
26
.claude/memory/reference_claude_code_bun_crash_pin.md
Normal file
26
.claude/memory/reference_claude_code_bun_crash_pin.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
name: reference_claude_code_bun_crash_pin
|
||||
description: Claude Code v2.1.114+ (Bun-based builds) segfault at startup on Windows 11 — fix is pin to 2.1.110 + DISABLE_AUTOUPDATER; unpin when upstream fix ships
|
||||
type: reference
|
||||
---
|
||||
|
||||
Claude Code v2.1.114+ ships as a Bun-compiled binary; on some Windows 11 builds (seen on
|
||||
Howard-Home, Win11 build 26100, CC v2.1.207, 2026-07-13) NEW interactive sessions crash at
|
||||
TUI init with `panic: Segmentation fault at address 0x3C` / "oh no: Bun has crashed".
|
||||
Already-running sessions keep working (binary loaded in memory); only fresh launches die.
|
||||
Tracked: anthropics/claude-code #55219 (+ matching upstream Bun issue). `--version`/`--help`
|
||||
still work. It is a runtime bug inside the shipped binary — no config/cache/reinstall of the
|
||||
same version helps.
|
||||
|
||||
**Fix (verified working 2026-07-13, Howard-Home):**
|
||||
1. `npm install -g @anthropic-ai/claude-code@2.1.110` (last pure-Node build; installs fine
|
||||
even while an older session is running — the EPERM "cleanup" warning is just npm failing
|
||||
to delete the locked running exe, the install itself succeeds).
|
||||
2. Pin it — in `~/.claude/settings.json` add:
|
||||
`"env": { "DISABLE_AUTOUPDATER": "1" }`
|
||||
NOTE: a field named `autoUpdate` does NOT exist in the settings schema (validation
|
||||
rejects it); the env-var route is the correct kill switch.
|
||||
3. **Unpin when fixed:** watch issue #55219; then `npm i -g @anthropic-ai/claude-code@latest`
|
||||
and remove the env entry.
|
||||
|
||||
Do NOT switch to the native installer as a workaround — it is also Bun-based (same crash).
|
||||
Reference in New Issue
Block a user