Application: kwin (4.4.2 (KDE 4.4.2)) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-generic x86_64 Distribution: Ubuntu 10.04 LTS -- Information about the crash: Today KWin started crashing when enabling desktop effects. Not sure what exactly could cause it. -- Backtrace: Application: KWin (kwin), signal: Segmentation fault [Current thread is 1 (Thread 0x7f42478417a0 (LWP 20057))] Thread 2 (Thread 0x7f4226588710 (LWP 20061)): #0 0x00007f42471d6f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f423bff34a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007f423bff38fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007f4243109566 in QEventDispatcherGlib::processEvents (this=0x176a190, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00007f42430de992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007f42430ded6c in QEventLoop::exec (this=0x7f4226587d70, flags=) at kernel/qeventloop.cpp:201 #6 0x00007f4242fe8d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007f42430bf178 in QInotifyFileSystemWatcherEngine::run (this=0x1760710) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f4242feb775 in QThreadPrivate::start (arg=0x1760710) at thread/qthread_unix.cpp:248 #9 0x00007f4242d5b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #10 0x00007f42471e36cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f42478417a0 (LWP 20057)): [KCrash Handler] #5 0x00007f4236304773 in QHash<KWin::EffectWindow const*, KWin::WobblyWindowsEffect::WindowWobblyInfos>::operator[] (this=0x114dcb0, w=0xff1ab0, time=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:736 #6 KWin::WobblyWindowsEffect::updateWindowWobblyDatas (this=0x114dcb0, w=0xff1ab0, time=<value optimized out>) at ../../../kwin/effects/wobblywindows/wobblywindows.cpp:768 #7 0x00007f4236305c89 in KWin::WobblyWindowsEffect::prePaintWindow (this=0x114dcb0, w=0xff1ab0, data=..., time=1) at ../../../kwin/effects/wobblywindows/wobblywindows.cpp:330 #8 0x00007f4247545914 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x110c350, w=0xff1ab0, data=..., time=-205714192) at ../../kwin/effects.cpp:143 #9 0x00007f4247545914 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x110c350, w=0xff1ab0, data=..., time=-205714192) at ../../kwin/effects.cpp:143 #10 0x00007f4247545914 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x110c350, w=0xff1ab0, data=..., time=-205714192) at ../../kwin/effects.cpp:143 #11 0x00007f4247545914 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x110c350, w=0xff1ab0, data=..., time=-205714192) at ../../kwin/effects.cpp:143 #12 0x00007f4247545914 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x110c350, w=0xff1ab0, data=..., time=-205714192) at ../../kwin/effects.cpp:143 #13 0x00007f4247545914 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x110c350, w=0xff1ab0, data=..., time=-205714192) at ../../kwin/effects.cpp:143 #14 0x00007f42475305e3 in KWin::Scene::paintGenericScreen (this=0xfec240, orig_mask=<value optimized out>) at ../../kwin/scene.cpp:195 #15 0x00007f424752e65a in KWin::Scene::finalPaintScreen (this=0xfec240, mask=32, region=<value optimized out>, data=...) at ../../kwin/scene.cpp:174 #16 0x00007f4247545756 in KWin::EffectsHandlerImpl::paintScreen (this=<value optimized out>, mask=32, region=) at ../../kwin/effects.cpp:126 #17 0x00007f42362ac93f in KWin::LogoutEffect::paintScreen (this=0x16dcf80, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/logout/logout.cpp:196 #18 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #19 0x00007f42362cbf8c in KWin::ShadowEffect::paintScreen (this=0x1335c10, mask=32, region=) at ../../../kwin/effects/shadow/shadow.cpp:189 #20 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #21 0x00007f42362b3012 in KWin::PresentWindowsEffect::paintScreen (this=0x1391710, mask=32, region=) at ../../../kwin/effects/presentwindows/presentwindows.cpp:196 #22 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #23 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #24 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #25 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #26 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #27 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #28 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #29 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #30 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #31 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #32 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #33 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #34 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #35 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #36 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #37 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #38 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #39 0x00007f42362f4dd7 in KWin::FlipSwitchEffect::paintScreen (this=0x131b090, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/flipswitch/flipswitch.cpp:146 #40 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #41 0x00007f4236297cf2 in KWin::DesktopGridEffect::paintScreen (this=<value optimized out>, mask=<value optimized out>, region=<value optimized out>, data=...) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:151 #42 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #43 0x00007f4236295952 in KWin::BoxSwitchEffect::paintScreen (this=0x1359ae0, mask=32, region=) at ../../../kwin/effects/boxswitch/boxswitch.cpp:142 #44 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #45 0x00007f42362e5a62 in KWin::CubeEffect::paintScreen (this=<value optimized out>, mask=32, region=) at ../../../kwin/effects/cube/cube.cpp:697 #46 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #47 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #48 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #49 0x00007f42362ece32 in KWin::CubeSlideEffect::paintScreen (this=<value optimized out>, mask=32, region=) at ../../../kwin/effects/cube/cubeslide.cpp:105 #50 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #51 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #52 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #53 0x00007f42362dcec4 in KWin::CoverSwitchEffect::paintScreen (this=0x16cc5a0, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/coverswitch/coverswitch.cpp:124 #54 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #55 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #56 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #57 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #58 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #59 0x00007f42362fb4aa in KWin::MouseMarkEffect::paintScreen (this=0x1120550, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/mousemark/mousemark.cpp:78 #60 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #61 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #62 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #63 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #64 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #65 0x00007f4245d445ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #66 0x00007f42475457ee in KWin::EffectsHandlerImpl::paintScreen (this=0x110c350, mask=32, region=) at ../../kwin/effects.cpp:122 #67 0x00007f424752fec5 in KWin::Scene::paintScreen (this=0xfec240, mask=0x7ffff3bd319c, region=0x7ffff3bd32c0) at ../../kwin/scene.cpp:134 #68 0x00007f424753ffa0 in KWin::SceneOpenGL::paint (this=0xfec240, damage=<value optimized out>, toplevels=<value optimized out>) at ../../kwin/scene_opengl.cpp:748 #69 0x00007f424752b087 in KWin::Workspace::performCompositing (this=<value optimized out>) at ../../kwin/composite.cpp:424 #70 0x00007f42474b24be in KWin::Workspace::qt_metacall (this=0x10444f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff3bd3470) at ./workspace.moc:535 #71 0x00007f42430f2e3f in QMetaObject::activate (sender=0x1044960, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff3bd0cf0) at kernel/qobject.cpp:3293 #72 0x00007f42430efa63 in QObject::event (this=0x1044960, e=0x7ffff3bd3bc0) at kernel/qobject.cpp:1212 #73 0x00007f424382c22c in QApplicationPrivate::notify_helper (this=0xea2590, receiver=0x1044960, e=0x7ffff3bd3bc0) at kernel/qapplication.cpp:4300 #74 0x00007f42438326fb in QApplication::notify (this=0x7ffff3bd3f20, receiver=0x1044960, e=0x7ffff3bd3bc0) at kernel/qapplication.cpp:4183 #75 0x00007f4246ce7526 in KApplication::notify (this=0x7ffff3bd3f20, receiver=0x1044960, event=0x7ffff3bd3bc0) at ../../kdeui/kernel/kapplication.cpp:302 #76 0x00007f42430e006c in QCoreApplication::notifyInternal (this=0x7ffff3bd3f20, receiver=0x1044960, event=0x7ffff3bd3bc0) at kernel/qcoreapplication.cpp:704 #77 0x00007f424310cd42 in QCoreApplication::sendEvent (this=0xea6200) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #78 QTimerInfoList::activateTimers (this=0xea6200) at kernel/qeventdispatcher_unix.cpp:603 #79 0x00007f4243109824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #80 0x00007f423bfef8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #81 0x00007f423bff3748 in ?? () from /lib/libglib-2.0.so.0 #82 0x00007f423bff38fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #83 0x00007f4243109513 in QEventDispatcherGlib::processEvents (this=0xe89030, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #84 0x00007f42438dc46e in QGuiEventDispatcherGlib::processEvents (this=0x114dcb8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #85 0x00007f42430de992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #86 0x00007f42430ded6c in QEventLoop::exec (this=0x7ffff3bd3e60, flags=) at kernel/qeventloop.cpp:201 #87 0x00007f42430e2aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #88 0x00007f42474ce7be in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:526 #89 0x00007f424711bc4d 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=0x7ffff3bd4428) at libc-start.c:226 #90 0x00000000004006b9 in _start () Reported using DrKonqi
Adding wobbly expert to CC. Cedric, any ideas?
I cannot reproduce, but a crash in operator[] of QHash let me think of the QHash object being corrupt (by a memory corruption elsewhere) or WobblyWindowsEffect is corrupt. Can you try to run a valgrind session over the problem and post the log please ? also when you run valgrind, use "--demangle=yes" option and if you have a large amount of free memory, try to increase the --freelist-vol parameter (if you have 1 Gb of FREE memory before starting kwin, you can increase the default at least 10 times)
This crash has not seen any update for quite some time and I assume it has been fixed either in KWin or in another component in the software stack. In case you are able to reproduce with the latest version of KDE Plasma and your distribution, please reopen the bug and attach a new backtrace. Thanks.