[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: high CPU usage in certain apps



On Wednesday 25 November 2009 14:32:47 David Baron wrote:
> There were certain plasmoids causing the Xorg problem. This has been fixed.
> If Amarok is doing it, kill pulseaudio and see if that helps. The first time I 
> noticed runaway Xorg/Plasma-desktop CPU usage was playing with pulseaudio. The 
> actual culprits were some hal and dbus stuff but if I killed that, KDE would 
> not restart.

 Good call.  Here I'm running two cartoons, colour picker, weather
 and remember-the-milk (compiled from HEAD).  They are on all
 6 desktops (ie. not set different for each desktop).

 I'm seeing general weirdness, of course, and I don't mean to hijack
 your thread here - but having just trawled through my .xsession-errors
 to look for problems, and discovering Very Many, I'm starting to
 think there's a lot of contributing factors to the instability and
 strangeness.  xorg updates are coming through less often, but
 they aren't always entirely stable, and they seem to affect
 some applications more than others, which is just bizarre.

 About an hour ago I came back to my machine to find that in the
 previous hour it had spontaneously restarted KDM - it does this
 once every few days (even after an uptime of only an hour or so).

 I've attached the last bit of my .xsession-errors here.  It looks
 like chrome is part of the problem, but firefox / iceweasel may
 be a bigger culprit here.  I love the understated nature of the
 error message 'trouble ahead'.  Memory errors seem inappropriate
 given 2 / 2.5 GB ram / swap and only 200mb of swap in use.

 J.





kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
<unknown program name>(4752)/ main: 2 - parseCommandLine
<unknown program name>(4752)/ main: 3 - create KApplication
QColor::setNamedColor: Unknown color name 'inherited'
QColor::setNamedColor: Unknown color name 'inherited'
QColor::setNamedColor: Unknown color name 'inherited'
QColor::setNamedColor: Unknown color name 'inherited'
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
QColor::setNamedColor: Unknown color name 'auto'

(<unknown>:4752): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setClipRegion: Painter not active
QPainter::setClipRegion: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setClipRegion: Painter not active
QPainter::setClipRegion: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
<unknown program name>(4848)/ main: 2 - parseCommandLine
<unknown program name>(4848)/ main: 3 - create KApplication

(<unknown>:4848): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead
[1125/121747:ERROR:/usr/local/google/home/chrome-eng/b/slave/chrome-official-linux/build/src/base/process_util_linux.cc(502)] Not implemented reached in void base::EnableTerminationOnOutOfMemory()
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
<unknown program name>(4943)/ main: 2 - parseCommandLine
<unknown program name>(4943)/ main: 3 - create KApplication

(<unknown>:4943): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
Warning: Calling appendChild() on a null node does nothing.
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so

(<unknown>:4943): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active

(<unknown>:4943): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x3612221

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
findServiceByDesktopPath: /home/jedd/.kde/share/apps/RecentDocuments/.desktop not found
Object::connect: No such signal SystemTray::Manager::jobStateChanged(SystemTray::Job*)
Object::connect: No such slot JobWidget::updateJobState()
kdeinit4: preparing to launch /usr/bin/ark
QThreadStorage: Thread 0x95c0910 exited after QThreadStorage 2147483635 destroyed
Enchant dict for "en_AU" 0xa3e81a0 
kdeinit4: preparing to launch /usr/bin/kwalletmanager
kdeinit4: preparing to launch /usr/lib/kde4/kio_pop3.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5e00019

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_pop3.so

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4606): Gdk-WARNING **: XID collision, trouble ahead
kdeinit4: preparing to launch /usr/lib/kde4/kio_pop3.so
QColor::setNamedColor: Unknown color name '4294967295'
QTextHtmlParser::applyAttributes: Unknown color name '4294967295'
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_pop3.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_pop3.so
Xlib:  extension "XFree86-Misc" missing on display ":0.0".
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x5e0001f
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kscreenlocker(5334) LockProcess::stayOnTop: Window above screensaver, raising, erasing
kdeinit4: preparing to launch /usr/lib/kde4/kio_pop3.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kscreenlocker(5334) LockProcess::stayOnTop: Window above screensaver, raising, erasing
QColor::setNamedColor: Unknown color name '4294967295'
QTextHtmlParser::applyAttributes: Unknown color name '4294967295'
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_pop3.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_pop3.so
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
Xlib:  extension "XFree86-Misc" missing on display ":0.0".
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x5e0001f
kdeinit4: preparing to launch /usr/lib/kde4/kio_pop3.so
kscreenlocker(5630) LockProcess::stayOnTop: Window above screensaver, raising, erasing
konqueror: Fatal IO error: client killed
kglobalaccel: Fatal IO error: client killed
kwin: Fatal IO error: client killed
plasma-desktop: Fatal IO error: client killed
konqueror: Fatal IO error: client killed
konqueror: Fatal IO error: client killed
konqueror: Fatal IO error: client killed
Qt-subapplication: Fatal IO error: client killed
kontact: Fatal IO error: client killed
konqueror: Fatal IO error: client killed
klipper: Fatal IO error: client killed
keuphoria.kss: Fatal IO error: client killed
kscreenlocker: Fatal IO error: client killed
kdeinit4: Fatal IO error: client killed
kxkb: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
nepomukserver: Fatal IO error: client killed
klauncher: Exiting on signal 1
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
kaccess: Fatal IO error: client killed
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.
knotify4: Fatal IO error: client killed
krunner: Fatal IO error: client killed
kwalletd: Fatal IO error: client killed
Qt-subapplication: Fatal IO error: client killed
konqueror: Fatal IO error: client killed
konqueror: Fatal IO error: client killed
kwalletmanager: Fatal IO error: client killed
nspluginviewer: Fatal IO error: client killed
nspluginviewer: Fatal IO error: client killed
nspluginviewer: Fatal IO error: client killed
firefox-bin: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
kded4: Fatal IO error: client killed
kmix: Fatal IO error: client killed
korgac: Fatal IO error: client killed
polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
ksmserver: Fatal IO error: client killed
chrome: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
google-chrome: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
Warning: ktorrent: Fatal IO error: client killed
*** KMail got signal 15 (Exiting)
*** KMail got signal 11 (Crashing)
KCrash: Application 'kontact' crashing...
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
drkonqi: cannot connect to X server :0.0
QProcess: Destroyed while process is still running.
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.


Reply to: