[Bug] LLM becomes unresponsive after processing misidentified image file format

Resolved 💬 3 comments Opened Dec 29, 2025 by sjmatta Closed Dec 29, 2025

Bug Description
Minor bug. After attempting to read a JFIF that had the wrong extension (png), Claude Code became partially unresponsive. I could use slash commands, but anything new invoking the LLM just resulted in an identical error- even a /compact. I fixed this with a new session and reminding Claude to change the extension / use the magic number.

I'd include the log but I no longer have it. However, recreating isn't difficult- create a JPEG, give it a PNG extension, don't let Claude know you did this, and then have it read it.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.56
  • Feedback ID: c33370b5-7238-4a67-a95c-a05e19932349

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/stephenmatta/.local/share/claude/versions/2.0.56 (expected in multi-process scenarios)\n    at kN0 (/$bunfs/root/claude:2678:1622)\n    at QCA (/$bunfs/root/claude:2678:1300)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-29T03:35:51.800Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:14:14648)\n    at <anonymous> (/$bunfs/root/claude:32:10252)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:31:1146)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:248:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:34:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-29T03:36:14.200Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:14:14648)\n    at <anonymous> (/$bunfs/root/claude:32:10252)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:31:1146)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:248:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:34:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-29T03:37:01.206Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:14:14648)\n    at <anonymous> (/$bunfs/root/claude:32:10252)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:31:1146)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:248:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:34:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-29T03:37:18.846Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:14:14648)\n    at <anonymous> (/$bunfs/root/claude:32:10252)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:31:1146)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:248:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:34:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-29T03:37:34.858Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:14:14648)\n    at <anonymous> (/$bunfs/root/claude:32:10252)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:31:1146)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:248:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:34:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-29T03:37:53.577Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:14:14648)\n    at <anonymous> (/$bunfs/root/claude:32:10252)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:31:1146)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:248:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:34:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-29T03:38:26.610Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:14:14648)\n    at <anonymous> (/$bunfs/root/claude:32:10252)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:31:1146)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:248:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:34:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-29T03:38:42.378Z"},{"error":"Error: Could not load the \"sharp\" module using the darwin-arm64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n    npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n    See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n   

Note: Error logs were truncated.

View original on GitHub ↗

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