Stream: bugs

Topic: 13 exercises segfault on linux x86_64 but not on linux arm64


view this post on Zulip Aurélien Geron (Aug 30 2026 at 03:25):

I upgraded the exercism roc-test-runner to the latest nightly because everything worked fine on my machines (I tested both on apple silicon & linux arm64), but it turns out that 13 exercises fail on exercism.org because they segfault on linux x86_64.
I opened issue #10993, with the minimized code of one of the exercises (change). If you want to test the others, here is the list of exercises that fail on linux x86_64:

I suspect that it must be the same root cause for all of them because they started failing at the same time, and only on linux x86_64.

view this post on Zulip Aurélien Geron (Aug 30 2026 at 05:08):

It looks like all 13 exercises depend on sorting, and only one of the other exercises depends on sorting but only sorts lists of length 2.

So it looks like there's a bug in the linux x86_64 implementation of sorting when the list size is >2.

view this post on Zulip Richard Feldman (Aug 30 2026 at 12:18):

I'm looking into this!

view this post on Zulip Aurélien Geron (Aug 30 2026 at 19:00):

Sol 5.6 says it identified the cause, see https://github.com/roc-lang/roc/pull/11001/


Last updated: Sep 03 2026 at 15:16 UTC