Compile with `--mm:orc -d:useMalloc` and run it through `valgrind`. It's an interesting case -- I cannot spot memory-safety related issues either. Which OS are you on?
- How to debug segmentation fault memory issue?? Chubak
- How to debug segmentation fault memory issue?? Araq
