Stream: bugs

Topic: AOC platform segmentation fault


view this post on Zulip Fabian Schmalzried (Dec 06 2025 at 18:47):

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.

view this post on Zulip lozzy (Dec 06 2025 at 19:14):

Can you try the newer version of the platform and run with roc --no-cache? 0.3 also segfaults for me.

view this post on Zulip TeaDrinkingProgrammer (Dec 06 2025 at 21:19):

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

view this post on Zulip Richard Feldman (Dec 06 2025 at 21:50):

can do! What's the new URL? I haven't been keeping up with the platform changes, focused on compiler bugfixes :smile:

view this post on Zulip Matthieu Pizenberg (Dec 06 2025 at 21:51):

The one in https://github.com/lukewilliamboswell/roc-platform-template-zig/releases/tag/0.4

view this post on Zulip TeaDrinkingProgrammer (Dec 06 2025 at 23:11):

Here's a quick copy paste version: https://github.com/lukewilliamboswell/roc-platform-template-zig/releases/download/0.4/6XA8JLWhmG1FSgb8GxPjBs9cGrtRqopohR3KAHYo722z.tar.zst

view this post on Zulip Richard Feldman (Dec 06 2025 at 23:20):

thanks, updated!


Last updated: Dec 21 2025 at 12:15 UTC