Osegi
Software·2 min read

Claude Desktop freezes on Linux: a 27-byte reply is the cause

One Linux user spent two months and a 1.5 TiB memory dump hunting why Claude Desktop kept dying. The culprit was a tiny telemetry reply nobody reads.

A Linux laptop showing a frozen desktop chat app with grey placeholder blocks where the interface should be.
Image: Хабр

Claude Desktop on Linux kept freezing every few days, and the logs said nothing. It took one user two months and a core dump with a logical size of 1.5 TiB to find the cause: a 27-byte telemetry response that the app never reads.

The symptoms came in two flavours. Either the interface vanished and only grey skeleton placeholders were left, or the app simply stopped responding to clicks. Once, the whole machine crawled, with a load average of 46 and uptime itself taking 20 seconds to run. The reason was systemd-coredump trying to save the crashed renderer's memory. The process died with SIGILL, and the kernel wrote its entire address space out through a pipe, including pages nobody had touched, as real zeros. In five minutes it wrote 92.4 GiB, hit a timeout and left no file at all.

Why is a Claude Desktop core dump so huge?

Mostly it isn't memory. Chromium reserves address space at startup and rarely uses it. 1,376 GiB of the total is a single region for the V8 sandbox, the JavaScript engine's guard against corrupted pointers: 1 TiB for the sandbox itself plus 352 GiB of guard areas. Chromium's allocator reserves two more 16 GiB pools, and the garbage collector for C++ objects takes another 16 GiB. Written to a regular file, the dump is sparse: 1.5 TiB logically, about 1.5 GiB on disk.

How the bug was tracked down

The author patched the app step by step. They capped dump sizes at 4 GiB, redirected output to the system journal, attached a debugger and logged every renderer exit. Each failure looked different: a futex wait, a failed GPU buffer allocation, even a clean exit. The app treats a clean exit as deliberate and does not reload the window, so one time it stayed dead for 15 minutes. After 35 hours of uptime, the renderer finally hung while staying alive, and gcore captured both it and the browser process.

The diagnosis, according to the author: the app never reads the 27-byte response to a telemetry request, and Chromium keeps a file descriptor open for every such response. Eventually the renderer runs out of descriptors and stops working.

What the companies say

Chromium maintainers say this works as designed. A bot on Anthropic's side closed the bug report as not related to Claude Code. For now, Linux users can restart the app when it stalls.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:claude desktopanthropiclinuxchromiumelectronbug

More from this day

See all →

More in: Software

See all →