Author Topic: Occasional Code::Blocks hangs  (Read 434 times)

Offline ordak

  • Multiple posting newcomer
  • *
  • Posts: 40
Occasional Code::Blocks hangs
« 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 ?

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1548
Re: Occasional Code::Blocks hangs
« Reply #1 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)?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10369
Re: Occasional Code::Blocks hangs
« Reply #2 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
<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 ordak

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: Occasional Code::Blocks hangs
« Reply #3 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

Offline ordak

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: Occasional Code::Blocks hangs
« Reply #4 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).




Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10369
Re: Occasional Code::Blocks hangs
« Reply #5 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.
<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!]