Version: 3.2.1 (using KDE KDE 3.4.1) Installed from: Gentoo Packages Compiler: gcc-3.4.4 OS: Linux __Description: When adding a custom code completion database for a project from an include folder, one specifies "Recursive" and the folder contains a symbolic link to itself, then the folder seems to be recursed over and over ad infinitum. This happened to me when I tried to import the directory "/usr/include/GL/", which for some reason contained a symbolic link "/usr/include/GL/GL -> /usr/include//GL" __Symptoms: CPU, memory & swap usage go to pretty much 100%. the progress bar and thus the whole dialog window keeps getting wider and wider... pretty weird-looking effect... ;-) __Exact steps to reproduce the bug: go to "Project" Menu -> "Project Options" -> "C++ Specific" -> "Code Completion" -> "Add..." select "Custom Directory PCS Importer" -> "Next" add a directory containing a self-referencing symbolic link select "Recursive" check-box -> "Next"
*** Bug 109309 has been marked as a duplicate of this bug. ***
Crossref bug #103297 Same problem, different code. I doubt we handle detection of cyclic links anywhere...
*** Bug 107620 has been marked as a duplicate of this bug. ***
can't reproduce with recent kdevelop3 versions.