Try running Geany with a new configuration, on Linux `geany -c /tmp/something_that_does_not_exist`
If that fixes it you have modified something in your configuration and need to unmodify it. Note re-installing won't change your config, you need to either delete it and set up again, or find what you broke (probably a build command). Which is easier will depend on how much you have changed in the config.