Summary: | KDevelop hangs on recursive symlink importing C++ project with custom makefile | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Michael <m.j.thayer> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | apaku |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michael
2008-10-30 21:15:26 UTC
SVN commit 878661 by apaku: Make sure we don't descend into recursive links when trying to find new files. CCBUG: 173924 M +23 -1 customprojectpart.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=878661 As you can see above I added extra logic to not descend into recursive links, however I couldn't reproduce the problem with a simple project before changing this. The project had a link pointing back up to its grandparent directory and the recursive algorithm stopped at a certain depth, possibly due to QFileInfo not being able to handle the length of the path or something similar. So maybe thats the difference between my system and yours and the original reporters from bug #103279. I applied the patch manually to my Ubuntu package, with the result that "Populate the project" now completes and offers me a list of the immediate sub-directories of the main project directory, minus the one which contains the recursive link inside its tree (which is fine for me, but may not be what was intended). However, on the next step I get a hang inside FileGroupsWidget::allFilesRecursively() in parts/fileview/filegroupswidget.cpp. Hmm, that would indeed not be intended, but it works just fine here. I do get the files inside the directory that has the recursive link. It just doesn't try to decend into the recursive link. About the filegroups widget: I'm not going to dive into long unmaintained code to fix an issue with something thats generally considered bad practice. Sorry, the only way to avoid that is disabling the filegroups plugin. as I explained I can't reproduce the problem and filegroups is simply dead. |