crafter-build -r hangs at step 101/139 (no compiler running) — wasm32-wasip1 build never completes #16
Labels
No labels
bug
claude:done
claude:failed
claude:in-progress
claude:ready
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Catcrafts/Crafter.Build#16
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?
Summary
crafter-build --target=wasm32-wasip1 --debug-api -rdeterministically hangs at step 101 of 139 while compiling the 3DForts target set. The build driver stops making progress, with no compiler subprocess running, and sits there indefinitely. Reproduced twice back-to-back in the same environment.Repro
(run inside the 3DForts work tree, wasm32-wasip1 target)
Observed behaviour
The build log advances normally through Crafter.Graphics, links it, then begins the Forts3D targets and freezes:
The log line for step 101 is emitted (
[100/139] Compiling Forts3D…) but never completes —/tmp/build.logmtime stops updating and the build never reaches139/139.Process state while hung
Captured ~13 minutes into the freeze:
crafter-build(the driver) is alive but single-threaded andS(sleeping),wchan 0, ~0:22CPU total over 13+ minutes elapsed — i.e. effectively idle.clang/cc1/lld/llvm/gccprocess exists anywhere in the container.-rdev server it spawns early (serve-coi.pyon :8080), which keeps serving fine.So the driver has stopped scheduling compile jobs entirely — it isn't waiting on a compiler that's still working; there is no compiler at all. It looks like the driver is blocked/deadlocked after dispatching (or after the COI server is up) rather than crashing.
Impact
139/139, etc.) hangs forever — this is what stalled an automated 3DForts session twice.Notes / leads
-rflag starts the COI server before the build finishes (server is up at step ~100). Worth checking whether-rserve-mode interacts with the job scheduler — e.g. the build loop yields to the server and never resumes, or a pipe/handle to the spawned compiler is closed when the server starts.Forts3D-Camera.cpp(step 101).Environment: wasm32-wasip1,
--debug-api -r, podman container (rootless), single-threaded driver.