Without loading any projects; after you have CB running disable all plugins except for the compiler plugin.
Shutdown code::blocks.
Re-start C::B, and verify the plugins stayed disabled. Load the big project and see if the error have returned.
If it does not likely have a plugin that caused the crash.
If it does, then either C::B, the Compiler, the Operating System, security tool, or virus causing the crash.
On windows, I would try disabling anti-virus scanner and anti-ransom ware and see if that fixes it.
Tim S.