Alright I have no idea why thread support has been enabled. Shouldn't it be disabled by default?
Only when explicitly specifying --threads:off, it compiles. No nim.cfg other than the default one used. Strange. Well nevermind, it works now, the allocations cause no more crashes! Thanks a lot jangko. Though I am actually very interested in using threads at some point in the future. Hopefully someone will be able to implement this because without it, for example Nim's support for hot loading (compiling changes without having to terminate & restart the process) is pretty restricted.