roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
4.42k stars 310 forks source link

Roc crashes with `Segmentation fault: 11` #5545

Open lukewilliamboswell opened 1 year ago

lukewilliamboswell commented 1 year ago

EDIT minimised reproduction

Running this app aoc-2022/12/main.roc causes a Segmentation fault: 11 on macOS. I'm using roc built from source.

$ roc build --optimize  aoc-2022/12/main.roc 
0 errors and 0 warnings found in 2970 ms while successfully building:

    aoc-2022/12/aoc
$ ./aoc-2022/12/aoc 
Segmentation fault: 11
Ivo-Balbaert commented 1 year ago

Same on WSL-Ubuntu 22.