Version: 3.0.0b1 (using KDE 3.1.93 (CVS >= 20031028), Gentoo) Compiler: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice) OS: Linux (i686) release 2.4.20-gentoo-r8 Playing around in CppCodeCompletion.cpp I pressed CTRL-SPACE just after a ; on the end of a line. I don't know what it was trying to do, but it did hang for half a minute constantly accessing the HD and allocating memory on the way.
Unfortunately, this report doesn't leave us with much to go on (as I'm sure you're aware of). You didn't happen to get any debug trace in a log file by any chance? :)
You seam to invoke code completion on the global namespace, so the result is it neads to search the entire code for all the possible combinations and that can take a while. How fast is your computer? How much ram does it have? Does it also "hang" when you invoke code completion after typing a couple of chars (to narrow down the search) ?
Subject: Re: code completion hangs when pressing CTRL-SPACE No it hangs only on global namespace, but that happens to me occasionally by accident. System is 1,4 GhZ Athlon TBird with 512 MB.
That is not hang, that is normal in big projects.