Codeblocks Crash

I don't have a good experience with codeblocks on Ubuntu. I've tried in 15.10 and 16.04 and it always crashes after a while. I just open a console application, create some .h files and run. I use it for a c++ university class. I don't do complex stuff. I reinstalled many times on both 15.10 and 16.04 and it keeps crashing .


Solution 1:

You can use Geany to write, edit, compile and run C++ source code. But if you want to use codeblocks, then please install the latest version of codeblocks 16.01. To install codeblocks 16.01 run this commands in terminal.

sudo apt-add-repository ppa:damien-moore/codeblocks-stable
sudo apt-get update
sudo apt-get install codeblocks

Solution 2:

Try to disable symbol browser of code completion and see if the crushes stop.

Go to:

  • Settings
  • Editor
  • Code Completion (on the left)
  • Symbols browser

And check "✔ Disable symbols browser".

I had the same issue and this solved it.