I don't think I can easily create a minimal example because this seems to be connected to some memory layout/aliasing problems, but replacing out this line with SubDir Dict.empty
stops the program from SIGSEGVing.
Removing the logic here results in a different error:
malloc(): unaligned tcache chunk detected
fish: Job 1, 'roc run roc/day07.roc' terminated by signal SIGABRT (Abort)
So I am not exactly sure which of the two Dict.insert
is the actual culprit or if the problem is something else
Can you file an issue for this? I want to look into this later, but might forget without a reminder.
Created a very verbatim issue :sweat_smile:
Last updated: Jul 06 2025 at 12:14 UTC