Bug #18942 2013-03-22 17:04

pir-uk

Code Completion plugin causes periodic hangs

This problem has been mentioned on the forum at http://forums.codeblocks.org/index.php/topic,17670.0.html.

On Ubuntu 12.04, C:B 12.11 hangs periodically. The System Monitor reports the process in an "uninterruptible" state and waiting on "wait_for_response.isra.5". The hangs last up to several minutes. Also, the CPU load can rise momentarily to 36%.

The problem also exists with Pasgui's build.

Disabling the the code completion plugin solves the problem but, of course, also removes some of the most useful functionality in the IDE!

Another user has reported a similar issue with CentOS 6.3 (see http://forums.codeblocks.org/index.php/topic,17670.0.html)

Category
Plugin::CodeCompletion
Group
Platform:Linux
Status
Open
Close date
 
Assigned to
 
pir-uk 2013-03-26 19:50

I have investigated further. I have a second, notionally identical system on which CodeBlocks 12.11 runs without the problems flagged above. The only difference is that the system on which CodeBlocks hangs was upgraded from Ubuntu 11.10 whereas the systems on which it runs fine was a fresh install. I have checked all the dependencies on both machines and I can see no difference in any of the version numbers. The only difference I can find is that the non-hanging machine has a 32-bit PAE kernel whereas the hanging machine in not PAE. But I cannot think how the page table structures would affect this problem.

Happy to lend any assistance in running this problem down.