> Based on the stack trace, there might be cyclic references.
Run it through valgrind and ignore the stack traces and debuggers, they are highly ineffective tools when you cannot rule out some other unrelated memory corruptions elsewhere. Compile with `-d:useMalloc`.