[Bug] Spawned worker processes not properly cleaned up, causing unexpected token consumption

Resolved 💬 3 comments Opened Apr 4, 2026 by jabberwock Closed May 14, 2026

Bug Description

Claude Code created a new habit of leaving defunct zombies burning through tokens without me knowing it until it’s too late.

I wasn’t understanding how I burned through $200 in 2 hours. Now I know. And it’s bull shit.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.92
  • Feedback ID: 47c6eda5-3718-45ef-b975-1a16ba47b9cd

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/yourmom/.local/share/claude/versions/2.1.92 (expected in multi-process scenarios)\n    at im_ (/$bunfs/root/src/entrypoints/cli.js:1884:2153)\n    at An6 (/$bunfs/root/src/entrypoints/cli.js:1884:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:21:09.051Z"},{"error":"Error: Request was aborted.\n    at wN_ (/$bunfs/root/src/entrypoints/cli.js:1239:11929)\n    at next (native:1:11)\n    at CC7 (/$bunfs/root/src/entrypoints/cli.js:7636:9034)\n    at next (native:1:11)\n    at xC7 (/$bunfs/root/src/entrypoints/cli.js:7641:11078)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:26:49.869Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2274:21487)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:30:37.979Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3447)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:31:14.430Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2274:21487)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:40:01.797Z"},{"error":"Error: Request was aborted.\n    at wN_ (/$bunfs/root/src/entrypoints/cli.js:1239:11929)\n    at next (native:1:11)\n    at CC7 (/$bunfs/root/src/entrypoints/cli.js:7636:9034)\n    at next (native:1:11)\n    at xC7 (/$bunfs/root/src/entrypoints/cli.js:7641:11078)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:44:51.593Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2274:21487)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:48:25.352Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3447)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:56:48.428Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2274:21487)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:58:21.549Z"},{"error":"Error: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n    at w (/$bunfs/root/src/entrypoints/cli.js:2274:24709)\n    at T (/$bunfs/root/src/entrypoints/cli.js:2274:29589)\n    at w (/$bunfs/root/src/entrypoints/cli.js:2274:29926)\n    at f (/$bunfs/root/src/entrypoints/cli.js:2274:30472)\n    at call (/$bunfs/root/src/entrypoints/cli.js:2787:1269)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:09:52.724Z"},{"error":"Error: Failed to start LSP server for file /Users/yourmom/code/claude-ipc/collab-cli/src/worker.rs: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n    at T (/$bunfs/root/src/entrypoints/cli.js:2274:29615)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:09:52.724Z"},{"error":"Error: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n    at w (/$bunfs/root/src/entrypoints/cli.js:2274:24709)\n    at T (/$bunfs/root/src/entrypoints/cli.js:2274:29589)\n    at w (/$bunfs/root/src/entrypoints/cli.js:2274:29926)\n    at f (/$bunfs/root/src/entrypoints/cli.js:2274:30472)\n    at call (/$bunfs/root/src/entrypoints/cli.js:2787:1269)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:09:52.724Z"},{"error":"Error: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n    at w (/$bunfs/root/src/entrypoints/cli.js:2274:24709)\n    at T (/$bunfs/root/src/entrypoints/cli.js:2274:29589)\n    at w (/$bunfs/root/src/entrypoints/cli.js:2274:2…

Note: Content was truncated.

View original on GitHub ↗

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