Summary: | Locks up on searching in a large dir | ||
---|---|---|---|
Product: | [Applications] kfind | Reporter: | Dominique Devriese <devriese> |
Component: | general | Assignee: | Eric Coquelle <coquelle> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | rdieter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Workaround to disable fam
patch for kdelibs/kio/kio/kdirwatch.cpp |
Description
Dominique Devriese
2004-03-17 18:17:21 UTC
Created attachment 6552 [details]
Workaround to disable fam
I can't reproduce the problem with this patch applied. I'm on FC1 with
kdebase-3.2.3.
Created attachment 9175 [details]
patch for kdelibs/kio/kio/kdirwatch.cpp
Dominique: Can you still reproduce this? Can you try and see if the attached
patch helps?
Waldo Bastian writes:
> Dominique: Can you still reproduce this? Can you try and see if the
> attached patch helps?
Not in the near future, I have exams, and am not running KDE HEAD.
sorry
domi
CVS commit by waba: Disable recursively watching for updates BUG: 68220 BUG: 77854 BUG: 77846 BUG: 79512 BUG: 85802 M +13 -0 kfinddlg.cpp 1.25 --- kdebase/kfind/kfinddlg.cpp #1.24:1.25 @@ -127,4 +127,16 @@ void KfindDlg::startSearch() dirwatch->addDir(query->url().path(),true); +#if 0 + // waba: Watching for updates is disabled for now because even with FAM it causes too + // much problems. See BR68220, BR77854, BR77846, BR79512 and BR85802 + // There are 3 problems: + // 1) addDir() keeps looping on recursive symlinks + // 2) addDir() scans all subdirectories, so it basically does the same as the process that + // is started by KQuery but in-process, undoing the advantages of using a seperate find process + // A solution could be to let KQuery emit all the directories it has searched in. + // Either way, putting dirwatchers on a whole file system is probably just too much. + // 3) FAM has a tendency to deadlock with so many files (See BR77854) This has hopefully + // been fixed in KDirWatch, but that has not yet been confirmed. + //Getting a list of all subdirs if(tabWidget->isSearchRecursive() && (dirwatch->internalMethod() == KDirWatch::FAM)) @@ -134,4 +146,5 @@ void KfindDlg::startSearch() dirwatch->addDir(*it,true); } +#endif win->beginSearch(query->url()); Waldo, I assume your comment #4 modifcation Obsoletes the patch in comment #2 ? |