This is a pretty fresh install of Windows (8.1 btw, not sure if that matters), so I'm certain this is the only version of Code::Blocks/TDM that I've downloaded.
Also, I just set it up to link dynamically instead, and it does the same thing (builds with no errors, same crash when I run it).
Edit: well, I got it to work on Ubuntu. Not exactly a solution but I suppose it'll do for now
