Version: unknown (using 4.4.00 (KDE 4.4.0), Kubuntu packages) Compiler: cc OS: Linux (i686) release 2.6.31-20-generic several kde-apps are spamming the xsession-errors, so that it reaches a size of many hundert megabytes. i do not think this is good idea putting debug messages of such a size in a release version of kde. especially since this output does not seem to contain errors. following apps are doing this - kio-imap4 - kio-htpp - kopete skype - kopete yahoo - plasma-desktop
- If you run "kdebugdialog", are all the entries disabled ? If some of them are enabled, could you try disabling them all and checking if that "fixes" the issue ? Regards
thanks, that fixed it mostly. now i only have ksystemlog which is running as root with many messages and knotify with a few messages.
- Did you manually enabled those entries ? THey should be disabled by default IMHO (I don't really know if that is true) Regards
This appears to be a duplicate of Bug 174365.
I can confirm as well that disabling everything in kdebugdialog mostly fixes the issue. Can a developer please confirm that the checkboxes are unchecked by default in new installations? Leaving them checked by default can easily lead to users running out of disk space.
I've raised a separate report for KNotify: Bug 234140
I can refute that disabling everything in kdebugdialog mostly fixes it. I've been logged in for only 2 days now, and I've got a 140MB .xsession-errors file. .xsession-errors size: 141678730 Note, the firefox errors below account for 1.6MB -- less then 1%. It's all KDE. The QPainter messages account for 136MB of it. The kdeinit4 messages account for less than 1MB. The konqueror messages account for over 2MB. So, it looks like QPainter is the biggest culprit--so actually it's QT--but maybe due to the way KDE is using it somewhere. Can we please get this fixed? I shouldn't have to symlink .xsession-errors to /dev/null just to keep my desktop responsive. # sort .xsession-errors | uniq -c | sort -nr | head -n 100 846723 QPainter::setPen: Painter not active 521642 QPainter::hasClipping: Painter not active 472044 QPainter::setFont: Painter not active 421528 QPainter::font: Painter not active 372115 QPainter::setBrush: Painter not active 325489 QPainter::drawRects: Painter not active 221934 QPainter::setClipRegion: Painter not active 73066 QPainter::worldTransform: Painter not active 51349 QPainter::fontMetrics: Painter not active 31041 QPainter::setClipRect: Painter not active 30458 QPainter::translate: Painter not active 29531 QPainter::begin: Widget painting can only begin as a result of a paintEvent 26637 26505 (firefox:28096): Gdk-WARNING **: XID collision, trouble ahead 9194 CLIENT: Task: emitting finished 9194 CLIENT: Task: Task::done() 8052 QPainter::fillPath: Painter not active 7219 QPainter::save: Painter not active 7219 QPainter::restore: Unbalanced save/restore 6913 QWidget::repaint: Recursive repaint detected 6017 QPainter::setRenderHint: Painter must be active to set rendering hints 3598 QPainter::pen: Painter not active 3587 QPainter::worldMatrixEnabled: Painter not active 3587 QPainter::window: Painter not active 3587 QPainter::viewport: Painter not active 3587 QPainter::viewTransformEnabled: Painter not active 3587 QPainter::clipRegion: Painter not active 3262 QPainter::brush: Painter not active 2659 QPainter::opacity: Painter not active 2631 QPainter::background: Painter not active 1747 kdeinit4: preparing to launch /usr/lib64/kde4/kio_http.so 1531 QPainter::setWorldTransform: Painter not active 1088 konqueror(28095): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 952 konqueror(28115): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 931 konqueror(28117): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 928 QPainter::setWindow: Painter not active 928 QPainter::setViewport: Painter not active 928 QPainter::setViewTransformEnabled: Painter not active 928 QPainter::setMatrixEnabled: Painter not active 859 QPainter::compositionMode: Painter not active 796 kglobalaccel(27899) KGlobalAccelImpl::x11Event: Got XKeyPress event 767 konqueror(28088): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 751 konqueror(28090): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 741 konqueror(28116): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 721 konqueror(28094): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 719 konqueror(28111): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 710 konqueror(27975): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 667 konqueror(28114): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 664 konqueror(28123): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 654 konqueror(29815): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 612 konqueror(28120): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 603 QPainter::resetMatrix: Painter not active 581 konqueror(27983): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 572 konqueror(28119): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 558 konqueror(18664): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 551 konqueror(28124): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 545 konqueror(28108): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 540 konqueror(30226): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 532 konqueror(28099): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 523 konqueror(27977): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 510 konqueror(8520): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 505 konqueror(27982): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 484 konqueror(28093): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 466 kglobalaccel(27899) GlobalShortcutsRegistry::keyPressed: "Alt+Tab" = "Walk Through Windows" 442 konqueror(28118): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 441 konqueror(11633): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 423 konqueror(19941): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 420 konqueror(23777): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 414 CLIENT: SendNotifyTask: emitting finished 414 CLIENT: SendNotifyTask: Task::done() 378 konqueror(4289): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 259 Transfer ACCEPTED by: MessageReceiverTask 245 Object::disconnect: Unexpected null parameter 244 QGraphicsScene::removeItem: cannot remove 0-item 219 Transfer ACCEPTED by: StatusNotifierTask 215 CLIENT: RequestPictureTask: emitting finished 215 CLIENT: RequestPictureTask: Task::done() 211 [akonadiserver] QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed! 211 [akonadiserver] Could not contact query service. 156 Transfer ACCEPTED by: LoginTask 155 Pattern: ^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$ was rewritten to: ^[^<]*(<[\w\W]*([\w\W])>)[^>]*$|^#(\w+)$ 153 konqueror(1519): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 135 kglobalaccel(27899) GlobalShortcutsRegistry::keyPressed: "Ctrl+F2" = "Switch to Desktop 2" 114 kglobalaccel(27899) GlobalShortcutsRegistry::keyPressed: "Ctrl+F1" = "Switch to Desktop 1" 109 kdeinit4: preparing to launch /usr/lib64/kde4/kio_file.so 88 Pattern: ^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$ was rewritten to: ^[^<]*(<[\w\W]*([\w\W])>)[^>]*$|^#([\w-]+)$ 87 kdeinit4: preparing to launch /usr/lib64/libkdeinit4_konqueror.so 84 QColor::setNamedColor: Unknown color name '?bb80' 53 kontact(29337): No language dictionaries for the language : "en_US" 53 kglobalaccel(27899) GlobalShortcutsRegistry::keyPressed: "Alt+F2" = "Run Command" 50 konqueror(29077): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 1 43 kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kfmclient.so 43 X Error: BadWindow (invalid Window parameter) 3 43 Major opcode: 20 (X_GetProperty) 40 kontact(29337) KMFolderIndex::updateIndexStreamPtr: utime( "/home/nick/.kde4/share/apps/kmail/filter/.1.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 35 Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) 31 konqueror(28120): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 2 29 klauncher(27863)/kio (KLauncher): SlavePool: No communication with slave. 28 konqueror(28095): Failed to lock file "/mnt/raid0/var/tmp/kdecache-nick/kpc/kde-icon-cache.lock" , last result = 2 28 Calling appendChild() on a null node does nothing.
Since QPainter::hasClipping is only used by khtml/rendering, I assume the QPainter messages are caused by HTML widgets.
*** This bug has been confirmed by popular vote. ***
Fixed by David Faure: http://lists.kde.org/?l=kde-commits&m=128692313819823&w=2
Any chance this will apply against 4.4.5? I just had my system fail due to a 140GB .xsession-errors file... The other bug related to this, is the fact that during the kde login, .xsession-errors is forcefully replaced with a regular file. (A symlink to /dev/null is replaced.)
Comment #11: I've not checked but that patch should apply to 4_4/5-branch cleanly. .xsession-errors, see/follow: https://bugs.kde.org/show_bug.cgi?id=174365