llama.cpp icon indicating copy to clipboard operation
llama.cpp copied to clipboard

Misc. bug: Web UI becomes unresponsive (Svelte effect_update_depth_exceeded) when Chrome default font size is set to 24 or more

Open zevire opened this issue 2 weeks ago • 6 comments

Name and Version

$ ./llama-server.exe --version version: 1.0.0-dev (build 12422, commit a681a53b6) built with Clang 20.1.8 for Windows x86_64

Operating systems

Windows

Which llama.cpp modules do you know to be affected?

llama-server

Command line

llama-server.exe -m .\Qwen3.5-0.8B-UD-Q5_K_XL.gguf

Problem description & steps to reproduce

Chrome Version: 157.0.8103.79 stable x64 Whenever set the default font size of Chrome more than 22px, the llama-server WebUI will be unresponsive. Reset the font size to ≤ 22px, refresh the tab then everything is OK. This may just be a display issue, because I can have normal conversations when loading the model using llama-cli.exe.

First Bad Commit

I am not sure from which version this issue appeared. I just updated to the above version today, and then accidentally encountered this problem when opening the Web UI.

Relevant log output

Logs

zevire avatar Nov 15 '26 21:11 zevire

This happens by default on Edge for me, thanks to this ticket I at least know a workaround (change font size to small)

BoneHorror avatar Nov 17 '26 12:11 BoneHorror

Not sure if related. but i had a the ui becoming unresponsive moment too. i could fix it by going into "Settings -> Display" and there disable "Single-row chat form for short messages". With it enabled - i could see the LLM starting to reason but then it stopped, it wrote "The user" and the ui became unresponsive, firefox didn't freeze or anything, i just couldn't click / interact with the ui anymore. Pressing F5 in firefox work but since i have disabled this option it works fine again without needing to press F5 or anything. maybe it helps.

MrRevington avatar Nov 18 '26 02:11 MrRevington

Maybe this is a client side web UI problem, as I get Svelte update depth exceeded error.

I can see this bug on Firefox (above, I see reports for Chrome and Edge). Often, the web UI gets stuck, showing "Error 500" "Internal Error", "Go home".

This is not HTTP status 500. In fact, F12 Networking does not show a single http status 500. F12 console shows "_app/immutable/chunks/DM8HP7qn.js" "Error: https://svelte.dev/e/effect_update_depth_exceeded" "Immutable 128".

The bug only shows with some models. Maybe it's related to the way models talk with web UI.

The bug shows on multiple versions of llama.cpp. Both latest from git compiled today 2026-11-21 w47 Sat; and on 1.0.0-dev (build 12606, commit e412c6f46), the latest release tag.

Update:

Might be related: Svelte 5: effect_update_depth_exceeded #11418

This old, closed bug has similar symptoms: Misc. bug: New web UI is lame with number of existing conversations #16347 (closed) "Error: https://svelte.dev/e/effect_update_depth_exceeded"

terokarvinen avatar Nov 21 '26 12:11 terokarvinen

Take a look at your model file name. Names that exceed ~50 characters seems to break the UI for me. Blind diagnostic stab, might be a problem rendering long strings in the model selector chip component.

mkmakes avatar Nov 22 '26 09:11 mkmakes

Take a look at your model file name.

This helped me. I found that the full path length mattered, not just the model files. I had to rename the containing directory to have a shorter name. I didn't try to narrow down how many characters. I made it very short, and now the web UI works properly.

In my case, the UI never got slow or stuck, it just went to an error screen saying "Error 500", "Internal Error", "Go Home"

markrietveld avatar Nov 24 '26 00:11 markrietveld

uncheck "Single-row chat form for short messages" as @MrRevington mentioned before https://github.com/ggml-org/llama.cpp/issues/32361#issuecomment-6966895005. The checkbox resides in Settings -> Display. on desktop it worked for me for fixing svelte update depth exceed error.

image

justalike avatar Nov 24 '26 04:11 justalike