Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: ordak on August 29, 2017, 05:41:32 pm

Title: Occasional Code::Blocks hangs
Post by: ordak on August 29, 2017, 05:41:32 pm
Hi,

I use Code::Blocks on Ubuntu from the following Launchpad link:

https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks

Occasionally when I have a C project opened, when I open some IDE's window, Code::Blocks hangs. I "End Process" using "System Monitor". Can you fix the hangs ?
Title: Re: Occasional Code::Blocks hangs
Post by: BlueHazzard on August 30, 2017, 12:44:20 am
Can you try to disable the symbol browser:
Settings->Editor->Code Completion->Symbol browser->Disable symbol browser

BTW: What version of ubuntu and what version of wxWidgets (you can find the wxWidgets version in the Help->About window of codeblocks)?
Title: Re: Occasional Code::Blocks hangs
Post by: oBFusCATed on August 30, 2017, 12:44:56 am
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
Title: Re: Occasional Code::Blocks hangs
Post by: ordak on August 30, 2017, 05:11:12 am
Can you try to disable the symbol browser:
Settings->Editor->Code Completion->Symbol browser->Disable symbol browser

Symbol browser is inactive(shown gray).

Quote
BTW: What version of ubuntu and what version of wxWidgets (you can find the wxWidgets version in the Help->About window of codeblocks)?

Ubuntu 16.04.3 LTS
wx3.0.2
Title: Re: Occasional Code::Blocks hangs
Post by: ordak on August 30, 2017, 10:12:16 am
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 :

Code: [Select]

The following error or errors occurred while posting this message:
The message exceeds the maximum allowed length (20000 characters).



Title: Re: Occasional Code::Blocks hangs
Post by: oBFusCATed on September 01, 2017, 08:29:45 pm
You're hitting this issue: https://sourceforge.net/p/codeblocks/tickets/524/

You can post here https://bugs.launchpad.net/ubuntu/+source/codeblocks/+bug/1675807 to bring this to the attention of the ubuntu devs.
If you use a night build (the current one) or one of the next it should be fixed there.