kfilereplace was run for a search-string 'getDB' (no quotes) and replace-string 'DBCon::getDB' with a filter of *.php. The search was tried first with a dir containing ~70 php and other files in the root dir and 5 subdirs, then with one of the subdirs that only contains 2 small php files. The dir is on a Truecrypt volume mounted as Ext2. Case sensitivity enabled, regex and commands disabled. After commencing either Replace or Simulate, the program gets hung after about 2 seconds. It continues to use 100% CPU, but no HDD activity. Have left it in this state for >5min when searching the dir containing only 2 files, and it stays hung. I Ctrl+C'd the program in gdb and got the following backtrace, if it's any help: Program received signal SIGINT, Interrupt. [Switching to Thread 0xb6873b00 (LWP 15493)] 0xb73fc081 in QString::contains () from /usr/qt/3/lib/libqt-mt.so.3 (gdb) bt #0 0xb73fc081 in QString::contains () from /usr/qt/3/lib/libqt-mt.so.3 #1 0xb64f3ca2 in QString::contains (this=0xbf952d8c, c=10 '\n', cs=true) at /usr/qt/3/include/qstring.h:480 #2 0xb650b79f in ResultViewEntry::lineNumber (this=0xbf952e0c, line=@0xbf952fcc) at configurationclasses.cpp:107 #3 0xb64ea7bb in KFileReplacePart::replacingLoop (this=0x8affeb0, line=@0xbf952fcc, item=0xbf952fd0, atLeastOneStringFound=@0xbf95302b, occur=@0xbf952fc8, regularExpression=true, askConfirmReplace=@0x8b0f629) at kfilereplacepart.cpp:1231 #4 0xb64eacf1 in KFileReplacePart::replaceAndOverwrite (this=0x8affeb0, currentDir=@0xbf9530e8, oldFileName=@0xbf9530c0) at kfilereplacepart.cpp:1132 #5 0xb64ec0fd in KFileReplacePart::recursiveFileReplace (this=0x8affeb0, directoryName=@0xbf953138, filesNumber=@0xbf953134) at kfilereplacepart.cpp:1008 #6 0xb64f0f49 in KFileReplacePart::slotReplacingOperation (this=0x8affeb0) at kfilereplacepart.cpp:199 #7 0xb64f187e in KFileReplacePart::qt_invoke (this=0x8affeb0, _id=7, _o=0xbf953218) at kfilereplacepart.moc:142 #8 0xb714d6d0 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #9 0xb714e210 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #10 0xb79e3b31 in KAction::activated () from /usr/kde/3.5/lib/libkdeui.so.4 #11 0x00000002 in ?? () #12 0xb7b82ff4 in ?? () from /usr/kde/3.5/lib/libkdeui.so.4 #13 0xb79e3b82 in KAction::slotActivated () from /usr/kde/3.5/lib/libkdeui.so.4 #14 0x0000000f in ?? () #15 0xb7b82ff4 in ?? () from /usr/kde/3.5/lib/libkdeui.so.4 #16 0x00000001 in ?? () #17 0xb7b82ff4 in ?? () from /usr/kde/3.5/lib/libkdeui.so.4 #18 0x00000001 in ?? () #19 0xb79e3a77 in KAction::slotButtonClicked () from /usr/kde/3.5/lib/libkdeui.so.4 #20 0xb7582ff4 in ?? () from /usr/qt/3/lib/libqt-mt.so.3 ---Type <return> to continue, or q <return> to quit--- #21 0xb7b82ff4 in ?? () from /usr/kde/3.5/lib/libkdeui.so.4 #22 0x00000011 in ?? () #23 0x08b47640 in ?? () #24 0xb79e6967 in KAction::qt_invoke () from /usr/kde/3.5/lib/libkdeui.so.4 #25 0x08b65e50 in ?? () #26 0x00000000 in ?? ()
Try with 3.5.10, and try to report upstream, but i doubt it will be fixed as development for 3.5.10 is frozen.
I have not been running kde-3.5 for several months now, so I will not be proceeding any further with this bug.