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

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1581
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: 10399
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?
<debugger plugin maintainer>
(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

  • Lives here!
  • ****
  • Posts: 1581
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: 10399
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.
<debugger plugin maintainer>
(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: 226
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: 1575
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: 187
  • 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: 187
  • 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

  • Lives here!
  • ****
  • Posts: 1581
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: 10399
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?
<debugger plugin maintainer>
(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!]