Cannot Build Project in Clion after rebuilding project index

I don’t get an error but the build process seemingly hangs and the output for the build process does not show up. Clion does show that there is a process running, but the display for it gets all messed up after rebuilding the project index. Reopening the project fixes the problem until the project index is rebuilt again.

Could you provide a screenshot or logs?