On Sunday, 12 January 2020 at 13:39:42 UTC, Per Nordlöw wrote:
core.exception.InvalidMemoryOperationError@src/core/exception.d(647): Invalid memory operation
That means a destructor tried to perform a GC operation while the GC was running.
The crash happens only if the `unittests` are run prior to `main`.
Check all the classes created by those unittests. If any of them have destructors that allocate memory in any way - including calling like `writeln(this)` cuz that can call toString, change that.