Just working on fixing a feature in basic-cli (Dir.list) and am getting a Heap corruption detected
. I've pushed the current state to this branch.
Would it be helpful to log an issue for this? I suspect this is a compiler issue.
% roc dev examples/dir.roc
π¨ Rebuilding platform...
ββ UNUSED IMPORT ββββββββββββββββββββββββββββββββββββββββββββ examples/dir.roc β
Nothing from Stderr is used in this module.
5β pf.Stderr,
^^^^^^^^^
Since Stderr isn't used, you don't need to import it.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
0 errors and 1 warning found in 2463 ms.
Running programβ¦
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
roc_app_binary(88375,0x1fd1f1e00) malloc: Heap corruption detected, free list is damaged at 0x600001c90080
*** Incorrect guard value: 16
roc_app_binary(88375,0x1fd1f1e00) malloc: *** set a breakpoint in malloc_error_break to debug
Last updated: Jul 05 2025 at 12:14 UTC