Bug 245469

Summary: kwin crashes with high cpu/IO
Product: [Plasma] kwin Reporter: Paulo Dias <paulo.miguel.dias>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paulo Dias 2010-07-22 20:04:31 UTC
Application: kwin (4.4.92 (KDE 4.4.92 (KDE 4.5 RC2)))
KDE Platform Version: 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2))
Qt Version: 4.7.0
Operating System: Linux 2.6.34-020634-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Aparently, during HIGH I/O , kwin trips over himself, and crashes. i was compiling amarok git in my i7 (4 cores, dual thread), and i was using parallel compiling with all the 8 cores at 100%, when i went to activate the kwin composite, show all desktops, it crashed since the northbridge was already at 100%. maybe a check for this kinda locks will prevent this type of behaviour?

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f103b0129ca in KWin::DesktopGridEffect::finish (this=0x2451c40) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:1322
#7  0x00007f103b015531 in KWin::DesktopGridEffect::prePaintScreen (this=0x2451c40, data=<value optimized out>, time=141) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:146
#8  0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#9  0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#10 0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#11 0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#12 0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#13 0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#14 0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#15 0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#16 0x00007f103b0263f4 in KWin::LoginEffect::prePaintScreen (this=0x2283ce0, data=..., time=5) at ../../../kwin/effects/login/login.cpp:52
#17 0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#18 0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#19 0x00007f105454004b in KWin::EffectsHandlerImpl::prePaintScreen (this=0x27ae840, data=..., time=141) at ../../kwin/effects.cpp:158
#20 0x00007f105452777a in KWin::Scene::paintScreen (this=0x2277120, mask=0x7fff3af5d42c, region=0x7fff3af5d550) at ../../kwin/scene.cpp:116
#21 0x00007f1054538a80 in KWin::SceneOpenGL::paint (this=0x2277120, damage=<value optimized out>, toplevels=<value optimized out>) at ../../kwin/scene_opengl.cpp:748
#22 0x00007f10545228d7 in KWin::Workspace::performCompositing (this=<value optimized out>) at ../../kwin/composite.cpp:455
#23 0x00007f10544a3e9d in KWin::Workspace::qt_metacall (this=0x2219640, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3af5d700) at ./workspace.moc:583
#24 0x00007f10509d9507 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#25 0x00007f10509d32d9 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007f104fb2449c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x00007f104fb29f8d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007f1053ccc926 in KApplication::notify (this=0x7fff3af5e240, receiver=0x2219b08, event=0x7fff3af5de50) at ../../kdeui/kernel/kapplication.cpp:309
#29 0x00007f10509c180c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#30 0x00007f10509f0e42 in ?? () from /usr/lib/libQtCore.so.4
#31 0x00007f10509f0f7c in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007f104fbd73df in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007f10509c0532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007f10509c091c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007f10509c49cb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#36 0x00007f10544c065d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:531
#37 0x00007f1054106c4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff3af5e848) at libc-start.c:226
#38 0x00000000004006b9 in _start ()

Possible duplicates by query: bug 244813.

Reported using DrKonqi
Comment 1 Martin Flöser 2010-07-22 20:16:00 UTC

*** This bug has been marked as a duplicate of bug 244813 ***