When I get a segmentation fault when running this:
app [main!] { pf: platform "https://github.com/lukewilliamboswell/roc-platform-template-zig/releases/download/0.3/98T93wthPgoBRLYtPTT4RBBsQunrfDG94gihPf1zYYmE.tar.zst" }
main! = |_| {
Ok({})
}
output:
error: Child process /tmp/roc-52549/playground.roc killed by signal: 11
error: Child process crashed with segmentation fault (SIGSEGV)
It works when using test/fx/platform/main.roc as platform.
I'm on x86_64 linux.
Can you try the newer version of the platform and run with roc --no-cache? 0.3 also segfaults for me.
This was fixed recently, but the URL in the gist still has the old version.@Richard Feldman Don't want to bug you, but if you can find the time to update the platform URL in the gist, that would be very helpfull
can do! What's the new URL? I haven't been keeping up with the platform changes, focused on compiler bugfixes :smile:
The one in https://github.com/lukewilliamboswell/roc-platform-template-zig/releases/tag/0.4
Here's a quick copy paste version: https://github.com/lukewilliamboswell/roc-platform-template-zig/releases/download/0.4/6XA8JLWhmG1FSgb8GxPjBs9cGrtRqopohR3KAHYo722z.tar.zst
thanks, updated!
Last updated: Dec 21 2025 at 12:15 UTC