Author Topic: Code::Blocks Freezes for 15 seconds on typing parentheses ()  (Read 736 times)

Offline Sasha

  • Multiple posting newcomer
  • *
  • Posts: 14
Code::Blocks Freezes for 15 seconds on typing parentheses ()
« on: September 16, 2020, 08:56:49 pm »
When I type:

int main ()

Code Blocks Freezes on after typing parentheses () and after 15 seconds it starts working again.
In the top Window Bar it shows Code::Blocks is Not Responding...

Note: It Only happens if I created a new file in Code::Blocks 20.03
And in Code::Blocks 17.12 Everything is fine and Not Freezing.

One Thing More that why we the users of Code::Blocks needs to Download the en_gb from third parties and install into Code::Blocks because after installation of code::blocks the first error is en_gb not found.

I am using it on Win10 x64, (AMD Processor 4 cores, model 3 2600G) + 16GB Ram + 4 GB Radeon RX570, so the system is not a problem but the problem is in Code::Blocks itself.
Any Recommendations and Solutions Appreciated.
« Last Edit: September 16, 2020, 09:20:03 pm by Sasha »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12829
    • Travis build status
Re: Code::Blocks Freezes for 15 seconds on typing parentheses ()
« Reply #1 on: September 17, 2020, 02:13:15 am »
Can you use a debugger break the program and show us what is doing at the time of the freeze?
(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 Sasha

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Code::Blocks Freezes for 15 seconds on typing parentheses ()
« Reply #2 on: September 17, 2020, 02:29:45 pm »
Yes sure, I can do it.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12829
    • Travis build status
Re: Code::Blocks Freezes for 15 seconds on typing parentheses ()
« Reply #3 on: September 17, 2020, 10:52:15 pm »
The callstack/backtrace would tell us where the problem happens. I don't see one in your screenshot.
(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 Sasha

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Code::Blocks Freezes for 15 seconds on typing parentheses ()
« Reply #4 on: September 18, 2020, 06:40:23 pm »
Ok, I am downgraded to another version and everything is working fine.
I am also waiting for another release after CB::20.03.

For more information the CB::20.03 is not freezing in Win7_Ultimate. The problem is only with win_10.

Offline Sasha

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Code::Blocks Freezes for 15 seconds on typing parentheses ()
« Reply #5 on: September 19, 2020, 10:54:24 pm »
Today I Discover something new that when I Disable the Antivirus in Win10 the CB is not freezing.  :-X
I have Both versions Installed. 20.03 and 17.12

Offline Sasha

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Code::Blocks Freezes for 15 seconds on typing parentheses ()
« Reply #6 on: September 22, 2020, 06:51:17 pm »
The Problem is because of the thread search Plugin. when I disable it, Code Blocks is shutting Down and restarted with its enabled.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12829
    • Travis build status
Re: Code::Blocks Freezes for 15 seconds on typing parentheses ()
« Reply #7 on: September 22, 2020, 07:23:35 pm »
There are known problems in the ThreadSearch plugin. The latest night build have them fixed. If you test one and report if this problem goes away it might be helpful (we'll know if we've fixed it or if it is something new).
(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 stahta01

  • Lives here!
  • ****
  • Posts: 6996
    • My Best Post
Re: Code::Blocks Freezes for 15 seconds on typing parentheses ()
« Reply #8 on: September 22, 2020, 10:34:25 pm »
Today I Discover something new that when I Disable the Antivirus in Win10 the CB is not freezing.  :-X
I have Both versions Installed. 20.03 and 17.12

What or which Antivirus is causing the problem?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Sasha

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Code::Blocks Freezes for 15 seconds on typing parentheses ()
« Reply #9 on: September 23, 2020, 08:21:58 pm »
The Problem is fixed by the Manual Installation of latest night build, Thank you for Suggesting this )
https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls8.1.0.7z/download. Now it is working very smoothly and fast.

The Antivirus is the default WIN10 antivirus Windows 10 default builtin Security.