Version: (using KDE 4.2.1) OS: Linux Installed from: SuSE RPMs Kio_sieve process sometimes hangs taking the CPU time of the whole processor core (I have 2 cores). ps ax looks like this: --8<-------------------------------------------------------------------- pavel 5043 0.0 0.3 187796 15340 ? S 15:16 0:00 /usr/bin/kwalletmanager --kwalletd pavel 5044 0.0 0.2 202852 12008 ? S 15:16 0:00 kdeinit4: kio_imap4 [kdeinit] imaps local:/tmp/ksocket-pavel/klauncherMT468 pavel 5046 60.1 0.2 196888 10200 ? R 15:16 35:21 kdeinit4: kio_sieve [kdeinit] sieve local:/tmp/ksocket-pavel/klauncherMT468 pavel 5053 0.1 0.8 471196 35420 ? Sl 15:17 0:05 /usr/bin/stardict --8<-------------------------------------------------------------------- There was a very short discussion on kde forums: http://forum.kde.org/kio-sieve-hangs-sometimes-t-35770.html. The kio_sieve process hangs until I kill it. After killing, KMail works properly, no errors occurs. But if I do not kill the process, it takes too many CPU time. The process appears to hang even in sessions, where I do not make some changes to sieve scripts.
There's a good chance this may be related to the bug I posted: 194459 My problem is I do not know how to reproduce the issue. If I could I'd build debug binaries and, well, debug it :) Are you able to provide steps to reproduce?
> Are you able to provide steps to reproduce? It is sad to say, but I do not know how to reproduce it too. The situation is very similar to 194459. I think, the situation is same :)... I think, but do not know.
*** Bug 194634 has been marked as a duplicate of this bug. ***
*** Bug 194459 has been marked as a duplicate of this bug. ***
SVN commit 992886 by tmcguire: Fix readLine() going into an infinte loop when the connection gets disconnected. The problem was that waitForReadyRead() did of course not work. Thanks to Telefonica for helping me reproduce the problem and Andreas for seeing and fixing the problem. This should fix the bug that kio_sieve uses 100% CPU. BUG: 186455 M +1 -1 tcpslavebase.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=992886