mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1860] [Bug]: HIP engine aborts with SIGABRT (std::thread -> abort) on RX 6800/6900 (gfx1030), 16 GB VRAM + 31 GB RAM low-RAM mode #734
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#734
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vpinto14 on GitHub (Oct 10, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1860
What happened
Fresh install on Linux following
docs/AI_SETUP.md(the agent flow). Setup and first start were fine, then the engine died withSIGABRTduring normal use and the host got unstable enough that I uninstalled.Steps:
GET /health->{"status":"ok", ..., "loaded":true, "service":"strata"}.GET /v1/modelslistedqwen3.8-flash-next-coder-iq1_m.POST /v1/chat/completions(reasoning_effort: none) answered correctly at ~6.5 tok/s.Expected: a stable server.
Port note (probably unrelated): port 8080 was already taken by an unrelated service on this box, so I reconfigured the install to
--port 8081and served there.Crash data (
coredumpctl info)So
abort()is reached from a workerstd::threadwhose entry is amain()lambda (main::$_33) — consistent with a fatal error path or an uncaught exception in a thread.The core file is still on disk:
/var/lib/systemd/coredump/core.strata.1000.cc9a45f591e04a0b9e3aca3a3e384547.3315559.1791648608000000.zst(~1.7 GB).Strata version, GPU, OS
maincloned 2026-10-10 (shortly before v0.1.42 was tagged; the version string was not recorded before uninstall — most likely 0.1.41). Engine buildllama.cpp 3cf0325.gfx1030, single card, also drives the desktop.amdgpudriver, no system ROCm.7.13.0a20260515(TheRock gfx103X wheels) into.venv.IQ1_M, context65536,--kv int8, images off, low-RAM mode (GPU holds ~45% of the experts).Notes that may matter
[gfx1030] HSA_STATUS_ERROR_MEMORY_APERTURE_VIOLATION in gdn_step_commit_kernel ...), #1103 (gfx1030 ... ROCm 7.14 gfx103X wheels regression, fixed by 7.13), #649 (HIP (gfx1030): intermittent 'verify: timed out at layer N' ...), #516 (compositor VRAM exhaustion when--expert-cache autofills a card that drives the desktop).Engine log
Not available — I removed the install (folder + data) before collecting
strata-coder-iq1_m.log, so I have only the coredump metadata above and the core file. Happy to run any diagnostic against the core or reinstall a specific version if that helps. I can also attach the core if there is a way to share it.@Niko1221 commented on GitHub (Oct 11, 2026):
Thank you for the detailed report and for the coredumpctl output, it narrowed it down.
The abort is the engine's own hang guard (issue #29), not a thread crash: the stack shows a worker thread calling abort() directly from a main() lambda, and the guard is the only place in the engine that does. When a request makes no progress for 60 s it prints
no progress for 60 s during a request (...)and a report of what every thread was doing to the engine log, then stops the engine so the server can start it again. So the core file is not needed (please don't upload it); the engine log is what we want. I looked through the other threads of the engine for a way one could abort on its own (a thread destroyed while running, an exception leaving a thread) and found none that fits this stack.What stopped is a step on the GPU. Your setup is one where that is plausible: gfx1030 with only 616 MiB of VRAM left, and the same card drives the desktop (see #516, #937, #649). We cannot say more without the log. If you try again:
--vram-reserve-mib 1500(keeps VRAM free for the desktop; it is a recommendation, nothing forces it),no progressline and the report under it if it stops again,Port 8081 is fine; that was not related.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.