mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #449] [Issue]: lite crashes on Raspberry Pi since 1.5.7 due to upstream Wolfi issue #198
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#198
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 @robwil on GitHub (May 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/449
Originally assigned to: @coxde on GitHub.
Summary
The
:liteDocker image silently crashes withSIGILL(exit 132) on Raspberry Pi 4 / Cortex-A72-class CPUs whenever the server makes an outgoing LLM API call, due to a Wolfi-side regression in thenodejs-24aarch64 binary that landed in the wolfi-base rebuild around 2026-05-01. v1.5.6-lite still runs; v1.5.7-lite and v1.5.8 (:lite) crash. I've filed a bug fix request upstream here: https://github.com/wolfi-dev/os/issues/78694Expected behavior
Outgoing LLM calls (e.g. to OpenRouter) complete normally and the server stays up, like it does on
:latestand like:litedid up to v1.5.6.Actual behavior
The Node process is killed by
SIGILLthe moment the server invokesfetch()to call the LLM API. Becauseinit: trueplusrestart: unless-stoppedmask the signal, there is no error in the container logs — the server just silently restarts. From the user side, chats stall with no message.A captured core dump shows the faulting instruction is
PMULL2, an optional AArch64 instruction (FEAT_PMULL) that Cortex-A72 does not implement. It's emitted from V8/JIT-allocated memory on the globalfetch()path used by undici.https.getandnode:http2are unaffected, so the failure is specific to the V8 codegen path that fetch exercises.The regression is upstream in Wolfi's
nodejs-24build, not in Marinara source —Dockerfile.liteuses an unpinnedcgr.dev/chainguard/wolfi-basereference, so when Wolfi rebuilt their base around 2026-05-01 the next:liteimage silently inherited the broken binary. I'm filing this as a heads-up since the:litetag is the one most affected Pi users will be on.Steps to reproduce
pmullin/proc/cpuinfoFeatures), run:Illegal instruction (core dumped)and exit code 132.:liteimage via the documenteddocker composesetup, configure any LLM connection, send a chat — the container restarts silently mid-request.Environment
ghcr.io/pasta-devs/marinara-engine:lite, imageCreated=2026-05-05); also confirmed on 1.5.7-lite. v1.5.6-lite is unaffected.6.6.20+rpt-rpi-v8,aarch64docker runrepro aboveLogs, screenshots, or video
Bisect across published
:litetags on this Pi::litetagfetch()test:lite)gdbon the captured core dump:CPU features on the affected hardware (note the absence of
pmull):Identical Node 24.15.0 from the official
nodejs.orgaarch64 tarball runs the samefetch()reproducer cleanly on the same hardware, confirming the bug is in Wolfi's build of the binary, not in upstream Node.Additional context
Workaround for users today (e.g. for release notes or issue replies):
That's the v1.5.6-lite multi-arch index. Alternatively
:latest(Debian-based) is unaffected.Possible directions — you know the project's maintenance budget and user base better than I do, so just options to weigh:
nodejs-24, the next:literebuild picks it up automatically.:litemay not currently run on Cortex-A72-class hardware and point those users at:latest.Dockerfile.lite. Locks:litebuilds to a known-good Wolfi snapshot.Dockerfile.litebase tonode:24-slim. Same approach as the standardDockerfile.:lite's value proposition; image grows by ~80–100 MB.:liteunder a Pi-equivalent CPU constraint as a publish gate.-cpu cortex-a72is doable but adds CI minutes and one more thing to keep working.I've also filed this against
wolfi-dev/os(https://github.com/wolfi-dev/os/issues/78694) so the upstream binary gets fixed regardless of which direction you take here.Happy to test patches on this hardware if useful — and thanks for the project, the
:liteimage was great on the Pi before this and I'd love to see it back!Template check
@robwil commented on GitHub (May 7, 2026):
Quick note re. image size in the options above: PR #500 (chown-collapse) just landed in main and shaves a big chunk off
:liteon its own, independent of any base-image decision. From a local Debian (node:24-slim) rebuild on my Pi::lite1.5.8 (current, broken on Pi 4)So once #500 ships, a Debian-based
:litewould actually be smaller than the broken Wolfi build (and only ~85 MB more than v1.5.6-lite, before any further dep-stripping). The "Debian is bigger" objection is weaker than I made it sound — most of that gap was the duplicated chown layer, not the base. Wanted to flag so the size cons aren't double-counted, but the security benefits of Wolfi probably still stand.@coxde commented on GitHub (May 7, 2026):
Thanks for the detailed report and upstream filing. This looks like an upstream Wolfi
nodejs-24aarch64 regression rather than a Marinara runtime bug. You can keep this open for tracking the upstream fixes.For now we are going to document this as a known compatibility issue for Raspberry Pi 4 / Cortex-A72-class devices and wait for the Wolfi fix in wolfi-dev/os#78694. The recommended workaround is to use the regular Debian-based
:latestimage on affected hardware, or pin the last known-good lite image.@SpicyMarinara commented on GitHub (May 10, 2026):
Closing.