News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Codeblocks not working well on Ubuntu 16.10 (keeps freezing)

Started by scott.deagan, February 12, 2017, 03:36:25 AM

Previous topic - Next topic

BlueHazzard

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)

oBFusCATed

Quote from: BlueHazzard on February 14, 2017, 03:29:30 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!]

BlueHazzard


oBFusCATed

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!]

yvesdm3000

Quote from: BlueHazzard 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)
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:   [url="http://github.com/yvesdm3000/ClangLib"]http://github.com/yvesdm3000/ClangLib[/url]

dmoore

Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]


nanyu

I have try run code::blocks with sudo, l
sudo codeblocks
AND everything OK! the UI didn't freezing now .
===========================

Quote from: scott.deagan on February 12, 2017, 07:41:01 PM
Quote from: oBFusCATed on February 12, 2017, 01:20:38 PM
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.

BlueHazzard

could this be caused by the file browser plugin?

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

oBFusCATed

Quote from: nanyu 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 .

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

Quote from: dmoore on February 18, 2017, 12:04:58 AM
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.