Interpreter tends to segfault when too many modules are imported (due to memory corruption? stack overflow?)
Example file attached (gzip'ed to pass the GitHub filter): i.scm.gz
Uncomment the top import and it works (loops forever solving the day 14 problem). Comment it and segfault happens early on (usually during the first attempt). Try to import fewer / smaller modules (including transitive dependencies) and the segfaults will happen less often (more iterations needed to trigger it) but eventually may still.
Interpreter tends to segfault when too many modules are imported (due to memory corruption? stack overflow?)
Example file attached (gzip'ed to pass the GitHub filter): i.scm.gz
Uncomment the top import and it works (loops forever solving the day 14 problem). Comment it and segfault happens early on (usually during the first attempt). Try to import fewer / smaller modules (including transitive dependencies) and the segfaults will happen less often (more iterations needed to trigger it) but eventually may still.