Bug 115240

Summary: xsession-errors goes crazy for several applications
Product: [I don't know] kde Reporter: Roland Wolters <rolandwolters>
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Roland Wolters 2005-10-28 04:37:37 UTC
Version:            (using KDE KDE 3.4.92)
Installed from:    SuSE RPMs
OS:                Linux

Since I've updated form KDE 3.5beta1 to beta2 several apps are going crazy sometimes and hogging the cpu. Now I saw that for all the behaviour is the same: they hog the cpu, and they start to fill up .xsession-errors with some MB per second (!). The apps are still running, they do not crash, but they slow down the system massively :-/

The applications which showed this behaviour:
amarok, kate, kontact, kmail, konqueror, kded, superkaramba

The only one which is reproducable every time for me is kded with a new user account created after my updating to the first (!) beta of KDE 3.5 (although the crazy behaviour showed up first after updating form beta1 to beta2).

If it is really a general problem, than some bug reports in this database are referring to the same problem but are assigned to different applications:

bug 108210
bug 112183
maybe bug 114968 ?

I did a strace -p at kate to check what's going on:
These are the last lines, but its the same all the time although some numbers are changing. Would it make sense to provide more strace -p when it happens again? As I said, the only one which is reproducable every time (!) is kded with another user, you can find strace outputs in the bug 108210.

gettimeofday({1130466330, 314263}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1130466330, 314498}, NULL) = 0
select(13, [3 4 5 7 9 11 12], [], [], {0, 273206}) = 1 (in [11], left {0, 276000})
ioctl(11, FIONREAD, [48])               = 0
read(11, "\1\0\0\0\2\0\0\0\0\0\0\0 \0\0\0.xsession-errors"..., 48) = 48
write(2, "---> wd: 1\n", 11)            = 11
write(2, "---> mask: 2\n", 13)          = 13
write(2, "---> path: .xsession-errors\n", 28) = 28
gettimeofday({1130466330, 315503}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1130466330, 315737}, NULL) = 0
select(13, [3 4 5 7 9 11 12], [], [], {0, 271967}) = 1 (in [11], left {0, 272000})
ioctl(11, FIONREAD, [48])               = 0
read(11, "\1\0\0\0\2\0\0\0\0\0\0\0 \0\0\0.xsession-errors"..., 48) = 48
write(2, "---> wd: 1\n", 11)            = 11
write(2, "---> mask: 2\n", 13)          = 13
write(2, "---> path: .xsession-errors\n", 28) = 28
Comment 1 Stephan Kulow 2005-10-28 08:42:08 UTC
this is only in the SUSE rpms and the ones on ftp.kde.org were updated to contain the fix
Comment 2 Roland Wolters 2005-10-28 15:07:28 UTC
Thank you very much for this fast answer!