Developer traces Claude Desktop freezes to a 27-byte telemetry response
Claude Desktop, an app built on Electron, froze for the author every couple of days, in one of two ways. Either every element disappeared and only skeleton placeholders remained, or the app stopped responding to clicks. The author spent about two months patching the app to find the cause.
During one slowdown, the author found that after the renderer[1] had crashed, systemd-coredump was saving a core dump[2] and saturating the disk. A core dump writes the whole memory of a process to a file. Saving the 1.5 TiB dump through a pipe wrote 92.4 GiB in five minutes, then hit its timeout and left no file. The author capped core dumps at 4 GiB, added logging, and added a patch that reloads the window after a clean exit, which the app otherwise treats as intentional.
When the app froze during a reply, the author ran gcore by hand and got a sparse file of 1.5 TiB by size and 1.5 GiB on disk. Most of that size is address space, not memory, which Chromium reserves at startup. The app runs on Electron 44, which is Chrome 152. The article says 1376 GiB of that address space is a single reservation for the sandbox of V8[3], the JavaScript engine.
Read the original blog.dfb.shDiscussion
Discussion
Most commenters praise the write-up and the effort behind it. Some blame AI-assisted development for moving fast and leaving broken code behind, and one asks why the author accepted an incorrect response from Claude instead of rewriting the bug report.
Sources
-
blog.dfb.sh
Why a 27-byte fetch() response nobody reads freezes any Chromium or Electron page


