Nope if we don't have more information.
"occasional hang" doesn't provide enough information.
Please gather backtraces or exact steps to reproduce the problems.
https://wiki.ubuntu.com/Backtrace
I did the steps mentioned in Generation in the provided link. When codeblocks was started, Without opening any project, I opened Help->About window, which was opened correctly. After that, Closing previous window, I opened Setting->Compiler Which caused a hang, displaying only a basic window rather than full Compiler window.
Here is the contents of gdb-codeblocks.txt as attachment as I got this error message in sending it inside the post :
The following error or errors occurred while posting this message:
The message exceeds the maximum allowed length (20000 characters).