Frequent session crashes on Windows (8 crashes/day, startup deaths + mid-session drops)

Resolved 💬 6 comments Opened Apr 2, 2026 by GoSunriseCEO Closed May 17, 2026

Environment

  • Claude Code version: 2.1.90
  • OS: Windows 11 Pro for Workstations 10.0.26200
  • Platform: win32 (bash shell)
  • Machine: Dell Precision 7960, 256GB DDR5 ECC, RTX PRO 5000 (48GB VRAM)
  • System health at crash time: 17% RAM used (206GB free), 2.2TB free disk, no BSODs, no minidumps

Problem

Claude Code sessions crash multiple times per day. On April 2, 2026, we logged 8 crashes in ~4 hours (13:00-17:10). Two distinct crash types observed:

Crash Type 1: Startup Death

Process starts, completes 0 turns, dies within seconds (6-28 seconds observed). 4 of 8 crashes today were this type.

Crash Type 2: Mid-Session Drop

Process is actively working (tool calls completing), then silently dies. No error output, no graceful shutdown. Session life ranges from 1.9 to 14 minutes before death. 4 of 8 crashes today were this type.

Diagnostic Data

We instrumented session lifecycle via hooks (SessionStart, Stop, SessionEnd events logged to JSONL). Sample from today:

{"ts":"2026-04-02T17:00:03","evt":"crash_detected","pid":65132,"started":"2026-04-02T16:51:28","last_turn":"2026-04-02T16:59:27","detected_by":"session_start","crash_type":"mid_session","session_life_sec":516,"crashes_today":5}
{"ts":"2026-04-02T17:00:09","evt":"crash_detected","pid":81208,"started":"2026-04-02T17:00:03","last_turn":"2026-04-02T17:00:03","detected_by":"heartbeat","crash_type":"startup_death","session_life_sec":6,"crashes_today":6}
{"ts":"2026-04-02T17:05:28","evt":"crash_detected","pid":78408,"started":"2026-04-02T17:03:36","last_turn":"2026-04-02T17:03:40","detected_by":"session_start","crash_type":"mid_session","session_life_sec":112,"crashes_today":7}
{"ts":"2026-04-02T17:05:56","evt":"crash_detected","pid":78812,"started":"2026-04-02T17:05:28","last_turn":"","detected_by":"session_start","crash_type":"startup_death","session_life_sec":28,"crashes_today":8}

What we've ruled out

  • Not a memory issue: 206GB free at crash time
  • Not disk: 2.2TB free
  • Not GPU/BSOD: No minidumps, no Crashpad directory, no system errors in Event Viewer
  • Not hooks: Crashes occur at different lifecycle stages (pre-first-turn and mid-conversation)
  • Not network (probably): Hardwired connection, no other connectivity issues observed

Configuration Notes

  • 20 hooks wired (SessionStart, PreToolUse, PostToolUse, Stop, SessionEnd)
  • Multiple MCP servers configured (Obsidian, RUBE, AppFolio)
  • Large project context (~15KB CLAUDE.md + rules files)
  • 74 skills registered

Reproduction

Consistent daily occurrence since at least v2.1.90. Happens with both interactive sessions and automation-spawned claude -p processes. No specific trigger identified -- crashes appear random across different operations (file reads, tool calls, idle periods).

Desired Behavior

Sessions should not silently die. At minimum, a graceful error message or crash log would help diagnose root cause.

View original on GitHub ↗

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