Bug 75003 - big delay jumping from error message to error message
Summary: big delay jumping from error message to error message
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: Output Views (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 21:25 UTC by Jon Smirl
Modified: 2007-01-01 15:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Smirl 2004-02-11 21:25:06 UTC
Version:           CVS (using KDE Devel)
Installed from:    Compiled sources

What changed in the last 48hrs? In one of my larger projects, 50K lines of code, when I F4 from error to error it takes four seconds (2.8Ghz P4) now per jump. Watching top, this is all CPU time. This used to be instant. It's almost making kdevelop unusable.

Small projects seem uneffected.
Comment 1 Jens Dagerbo 2004-02-12 00:54:29 UTC
Afaik, nothing changed.
Comment 2 Jon Smirl 2004-02-12 01:29:26 UTC
You're right, it's this way in a tree from Feb 2 too.

I've found the bug. My directory has a circular link back to itself. I need this for the build. 

I just noticed the my kdevelop.filelist is 1.2MB with about 10,000 entries in it. But there are only 40 files in the directory. The auto-import code for making the initial file list has gotten in a loop on the circular link. It has added the same 40 files with the looped directory name 10,000 times.

I crashed a week ago and screwed up my .kdevelop files. This must have happened when I deleted and rebuilt them. 
Comment 3 Michael Duelli 2006-12-30 17:29:24 UTC
So this should not be a bug at all. Why not closing it ?
Comment 4 Mathieu Chouinard 2006-12-30 17:37:39 UTC
bye bye :)
Comment 5 Mathieu Chouinard 2006-12-30 17:39:01 UTC
oops
Comment 6 Mathieu Chouinard 2006-12-30 17:39:31 UTC
sound better than wontfix :)
Comment 7 Jon Smirl 2006-12-30 17:41:09 UTC
If I recall the bug works like this:

Make a directory with some files in it and a circular symlink back to the same directory. Now autoimport a project from it. This will work and not produce an error, but kdevelop.filelist will be 1.2MB with about 10,000 entries

autoimport does not recognize the circular symlink and imports the directory over and over. That's the bug.

Search time is simply a side effect of getting 10,000 files onto kdevelop.filelist
Comment 8 Jens Dagerbo 2007-01-01 15:51:53 UTC
I agree, but the inability to handle circular symlinks is covered by other reports.