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

Code Completion bug

Started by ninio_arg, February 09, 2014, 09:53:02 PM

Previous topic - Next topic

ninio_arg


cat /etc/slackware-version
Slackware 14.1

I have build Code::Blocks 13.12 from its sources.

This the well known code completion bug, which puts your cpu at 100% and hangs there.
I can disable the plugin, but I want to have that functionality.

What solution do you propose?.

dmoore

If you havent already, try building latest svn. Otherwise give us a minimal sample to reproduce your problem.
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]

ollydbg

Quote from: ninio_arg on February 09, 2014, 09:53:02 PM
...
What solution do you propose?.
Can you try to build a C::B from SVN HEAD (see SVN repo at Developer documentation), I have at least fix one of the hang bug, please report back if it still exists.

Any way, can you supply a testing project/workspace and tell us the steps to reproduce the hang issue? thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ninio_arg

Well, I have compiled the SVN 9661 version.
svn co svn://svn.code.sf.net/p/codeblocks/code/trunk
Then compiled as is shown here, but installed after done the package for my distro.

Same symptoms. Just opening a "Hello world!" the completion plugins hangs.

ollydbg

Hi, thanks for the test.
Can you supply a sample test project? So I can try it on my computer.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ninio_arg

It happens with ANY project or cpp file. Even with a simple Hello World. Anyway the sample project is here.

Looking on this forum I saw another posts about this issue (C::B on Slackware) without a real solution  :-\
I'm starting to think it's a conflict with other libraries that this distro comes with.