Author Topic: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)  (Read 20661 times)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #15 on: February 15, 2017, 08:06:48 pm »
i used ubuntu out of the box, so unitiy?
terrible user interface, but it seems to be quite popular (at least the most new linux user i see use ubuntu with unitiy. Funny how compiz used 15% cpu 30% of the runtime ^^ ( i used a not so performant (1 cpu no gpu)  vm)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #16 on: February 15, 2017, 08:38:56 pm »
can you give more info why you think their problem is related to this mailing list entry?
Is this an answer to my post?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #17 on: February 15, 2017, 08:57:41 pm »
yes

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #18 on: February 15, 2017, 09:09:10 pm »
Because I see clipboard problem sometimes. Also I see a freeze caused by the clipboard doing wxyield just a minute ago. Very annoying.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline yvesdm3000

  • Almost regular
  • **
  • Posts: 225
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #19 on: February 15, 2017, 11:06:35 pm »
i used ubuntu out of the box, so unitiy?
terrible user interface, but it seems to be quite popular (at least the most new linux user i see use ubuntu with unitiy. Funny how compiz used 15% cpu 30% of the runtime ^^ ( i used a not so performant (1 cpu no gpu)  vm)
Unity and Compiz uses a lot of OpenGL code and is sluggish as hell in a VM since it has to fall back on a software implementation. That's why you see such high cpu load.
Some VM implementations allow some sort of OpenGL passthru that accelerates it a lot but is very often buggy...

Yves
Clang based code completion for Code::Blocks:   http://github.com/yvesdm3000/ClangLib

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #20 on: February 18, 2017, 12:04:58 am »

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #21 on: February 24, 2017, 04:27:17 pm »

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #22 on: March 12, 2017, 07:37:35 pm »
I have try run code::blocks with sudo, l
sudo codeblocks
AND everything OK! the UI didn't freezing now .
===========================

Can you give us a backtrace for the crash/lockup?

See here https://wiki.ubuntu.com/Backtrace how to do it.

Hi oBFusCATed - I followed the instructions you linked to:

1. Turned off apport then rebooted.
2. Ran CodeBlocks via gdb as per the instructions.
3. Created a new console application called Test3.
4. Clicked on Settings | Environment.

Result: the environment dialog is displayed, but freezes (see attached screenshot).

Note: I have noticed that this freezing doesn't occur when no project is opened.

I'm going to perform a fresh install of Ubuntu 16.04 on a different computer and see if the problem still occurs.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #23 on: March 12, 2017, 09:12:47 pm »
could this be caused by the file browser plugin?

running codeblocks as root is not the best idea...

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #24 on: March 13, 2017, 02:06:39 am »
I have try run code::blocks with sudo, l
sudo codeblocks
AND everything OK! the UI didn't freezing now .

Are you sure there isn't something in the settings that is different between the two users? Can you try to rename ~/.config/codeblocks to something just for test?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

vboeva

  • Guest
Re: Codeblocks not working well on Ubuntu 16.10 (keeps freezing)
« Reply #25 on: January 23, 2018, 02:23:27 pm »
Have you tried the daily PPA?

https://launchpad.net/~codeblocks-devs/+archive/ubuntu/daily

This helped me for the same issue. I have uninstalled code blocks installed with get apt and used PPA. Now it works perfectly.