LM_STUDIO_ISSUE_2026-08-30_prediction_loop_stall.md
LM_STUDIO_ISSUE_2026-08-30_prediction_loop_stall.md
App version: 0.4.23 (beta channel, build 1) ā Windows
Model in use at time of incident: qwen3.8-27b-ud (~16.3 GB, MTP/spec-decode enabled, Vulkan)
Repro context: any chat with a tools-provider plugin active; here the plugin was an internal file-tools provider (crunch3r/ai-toolbox). The failing call was a trivial directory search (measured runtime 2ā17 ms in every other call of the same session).
Mid-conversation, after a tool call is dispatched, the chat UI's tool card shows a running spinner indefinitely. Everything else reports "stopped/idle":
stop processing, truncated = 0 ā i.e. a natural EOS stop, not a truncation or user abort).logs/main.log (all timestamps local)screenshot 2026-08-30 174715.png ā Developer ā Local Server: model READY while server shows "Stopped"; slot release lines visible at bottom of Developer Logsscreenshot 2026-08-30 174735.png ā Chat UI ("ai_toolbox Session Handoff"): tool card stuck in running state after engine already stoppedscreenshot 2026-08-30 174801.png ā Zoomed chat view: same stuck "Model is calling grep_files()" spinner, no result/error ever renderedscreenshot 2026-08-30 174846.png ā Developer Logs window: full generation timing for the final successful slot (natural EOS stop) and the subsequent silenceApp version: 0.4.23 (beta channel, build 1) ā Windows
Model in use at time of incident: qwen3.8-27b-ud (~16.3 GB, MTP/spec-decode enabled, Vulkan)
Repro context: any chat with a tools-provider plugin active; here the plugin was an internal file-tools provider (crunch3r/ai-toolbox). The failing call was a trivial directory search (measured runtime 2ā17 ms in every other call of the same session).
Mid-conversation, after a tool call is dispatched, the chat UI's tool card shows a running spinner indefinitely. Everything else reports "stopped/idle":
stop processing, truncated = 0 ā i.e. a natural EOS stop, not a truncation or user abort).logs/main.log (all timestamps local)screenshot 2026-08-30 174715.png ā Developer ā Local Server: model READY while server shows "Stopped"; slot release lines visible at bottom of Developer Logsscreenshot 2026-08-30 174735.png ā Chat UI ("ai_toolbox Session Handoff"): tool card stuck in running state after engine already stoppedscreenshot 2026-08-30 174801.png ā Zoomed chat view: same stuck "Model is calling grep_files()" spinner, no result/error ever renderedscreenshot 2026-08-30 174846.png ā Developer Logs window: full generation timing for the final successful slot (natural EOS stop) and the subsequent silenceCanceling predictions timed out) and left the engine dead (SIGTERM) with no restart ā requiring a full application restart.Canceling predictions timed out unhandled rejections occur repeatedly across multiple days in the same log file (08-26 18:36, 08-27 17:18, 08-28 16:58/19:07/19:24ā19:27, 08-29 20:39/20:50, and this incident at 08-30 17:49), several of them followed by engine SIGTERM + app restart.17:45:50.655 [error] ...[PluginProcess(crunch3r/ai-toolbox)] stderr:
[grep_files] completed in 5ms ā 1 file(s) scanned, 16 match(es), 0 skipped ā last healthy line
~17:46:13 (Developer Logs) engine slot released after natural EOS stop:
"eval time = 21979.88 ms / 1140 tokens ⦠release: id 1 | task 3091 |
stop processing: n_tokens = 28000, truncated = 0"
ā host parses the generated tool-call JSON and starts the next prediction loop
⦠SILENCE ā no further log output for ~3.5 minutes; UI spinner runs forever ā¦
17:49:29.351 [error] Unhandled Rejection at: {} reason: Error: Canceling predictions timed out
17:49:29.354 [error] [CleanupProvider] Error running pre-cleanup: Abort ongoing predictions
Error: Canceling predictions timed out
17:49:30.527 [error] [LLMProxyObject] Engine protocol runtime exited unexpectedly.
exitCode=null, signal=SIGTERM
17:49:45.682 [info] Hardware survey ⦠(app restarted by user ā "App starting..." at 17:49:45)
Canceling predictions timed out) and left the engine dead (SIGTERM) with no restart ā requiring a full application restart.Canceling predictions timed out unhandled rejections occur repeatedly across multiple days in the same log file (08-26 18:36, 08-27 17:18, 08-28 16:58/19:07/19:24ā19:27, 08-29 20:39/20:50, and this incident at 08-30 17:49), several of them followed by engine SIGTERM + app restart.17:45:50.655 [error] ...[PluginProcess(crunch3r/ai-toolbox)] stderr:
[grep_files] completed in 5ms ā 1 file(s) scanned, 16 match(es), 0 skipped ā last healthy line
~17:46:13 (Developer Logs) engine slot released after natural EOS stop:
"eval time = 21979.88 ms / 1140 tokens ⦠release: id 1 | task 3091 |
stop processing: n_tokens = 28000, truncated = 0"
ā host parses the generated tool-call JSON and starts the next prediction loop
⦠SILENCE ā no further log output for ~3.5 minutes; UI spinner runs forever ā¦
17:49:29.351 [error] Unhandled Rejection at: {} reason: Error: Canceling predictions timed out
17:49:29.354 [error] [CleanupProvider] Error running pre-cleanup: Abort ongoing predictions
Error: Canceling predictions timed out
17:49:30.527 [error] [LLMProxyObject] Engine protocol runtime exited unexpectedly.
exitCode=null, signal=SIGTERM
17:49:45.682 [info] Hardware survey ⦠(app restarted by user ā "App starting..." at 17:49:45)