Application: kwin (4.5.1 (KDE 4.5.1)) KDE Platform Version: 4.5.1 (KDE 4.5.1) Qt Version: 4.7.0 Operating System: Linux 2.6.35-23-generic x86_64 Distribution: Ubuntu 10.10 -- Information about the crash: - What I was doing when the application crashed: After enabling OpenGL compositing on the kubuntu desktop, I played an hd movie on commandline mplayer which starts by default on fullscreen. The output mode was gl. kwin crashed immediately. This occurs about 30% of my fullscreen movie playbacks only when compositing is enabled and only using opengl compositing (as opposed to xrender: a reasonable number of attempts with no crashes) - Custom settings of the application: No compositing effects were turned on (except a few that activated during login/logout) Running on Core i3 with drivers from ppa:ubuntu-x-swat/x-updates The crash can be reproduced some of the time. -- Backtrace: Application: KWin (kwin), signal: Segmentation fault [Current thread is 1 (Thread 0x7f87e3f8f780 (LWP 1635))] Thread 2 (Thread 0x7f87c0bbd710 (LWP 1650)): #0 0x00007f87e38052e3 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f87e00df76e in qt_safe_select (nfds=16, fdread=0xe13830, fdwrite=0xe13ac8, fdexcept=0xe13d60, orig_timeout=0x0) at kernel/qcore_unix.cpp:82 #2 0x00007f87e00e4beb in QEventDispatcherUNIXPrivate::doSelect (this=0xe13670, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:219 #3 0x00007f87e00e581b in QEventDispatcherUNIX::processEvents (this=0xddf850, flags=) at kernel/qeventdispatcher_unix.cpp:919 #4 0x00007f87e00b4a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007f87e00b4dec in QEventLoop::exec (this=0x7f87c0bbcd90, flags=) at kernel/qeventloop.cpp:201 #6 0x00007f87dffbf2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #7 0x00007f87e00945f8 in QInotifyFileSystemWatcherEngine::run (this=0xe125e0) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f87dffc227e in QThreadPrivate::start (arg=0xe125e0) at thread/qthread_unix.cpp:266 #9 0x00007f87dfd37971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #10 0x00007f87e380c94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f87e3f8f780 (LWP 1635)): [KCrash Handler] #6 0x00007f87cc6ad3f2 in ?? () from /usr/lib/dri/i965_dri.so #7 0x00007f87cc697976 in ?? () from /usr/lib/dri/i965_dri.so #8 0x00007f87cc68a13c in ?? () from /usr/lib/dri/i965_dri.so #9 0x00007f87cc7734ef in ?? () from /usr/lib/dri/i965_dri.so #10 0x00007f87cc76eedc in ?? () from /usr/lib/dri/i965_dri.so #11 0x00007f87cc770bd2 in ?? () from /usr/lib/dri/i965_dri.so #12 0x00007f87cc6c764e in ?? () from /usr/lib/dri/i965_dri.so #13 0x00007f87e213ef29 in KWin::PaintClipper::Iterator::~Iterator (this=0x7fff986fdb20, __in_chrg=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:969 #14 0x00007f87e214b428 in KWin::renderGLGeometry (region=<value optimized out>, count=4, vertices=<value optimized out>, texture=0x1d40620, color=0x0, dim=2, stride=0) at ../../../kwin/lib/kwinglutils.cpp:187 #15 0x00007f87e3b70daa in KWin::SceneOpenGL::Window::paintDecoration (this=0x1e29480, decoration=0xea7020, decorationType=KWin::SceneOpenGL::Window::DecorationTop, region=<value optimized out>, rect=<value optimized out>, data=..., quads=..., updateDeco=false) at ../../kwin/scene_opengl.cpp:1610 #16 0x00007f87e3b72e8d in KWin::SceneOpenGL::Window::performPaint (this=0x1e29480, mask=9, region=) at ../../kwin/scene_opengl.cpp:1511 #17 0x00007f87e3b62d23 in KWin::Scene::finalDrawWindow (this=<value optimized out>, w=<value optimized out>, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../kwin/scene.cpp:330 #18 0x00007f87e3b7b7a9 in KWin::EffectsHandlerImpl::drawWindow (this=<value optimized out>, w=0xc4dcf0, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:232 #19 0x00007f87e213e80c in KWin::Effect::drawWindow (this=<value optimized out>, w=0xc4dcf0, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252 #20 0x00007f87e3b7b848 in KWin::EffectsHandlerImpl::drawWindow (this=0xd9d870, w=0xc4dcf0, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228 #21 0x00007f87e213e80c in KWin::Effect::drawWindow (this=<value optimized out>, w=0xc4dcf0, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252 #22 0x00007f87e3b7b848 in KWin::EffectsHandlerImpl::drawWindow (this=0xd9d870, w=0xc4dcf0, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228 #23 0x00007f87e3b619cc in KWin::Scene::finalPaintWindow (this=<value optimized out>, w=0xc4dcf0, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../kwin/scene.cpp:321 #24 0x00007f87e3b7b8c9 in KWin::EffectsHandlerImpl::paintWindow (this=<value optimized out>, w=0xc4dcf0, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:203 #25 0x00007f87c7b4a2c5 in KWin::LogoutEffect::paintWindow (this=<value optimized out>, w=0xc4dcf0, mask=9, region=) at ../../../kwin/effects/logout/logout.cpp:198 #26 0x00007f87e3b7b968 in KWin::EffectsHandlerImpl::paintWindow (this=0xd9d870, w=0xc4dcf0, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:199 #27 0x00007f87c7b48fa3 in KWin::LoginEffect::paintWindow (this=<value optimized out>, w=0xc4dcf0, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/effects/login/login.cpp:69 #28 0x00007f87e3b7b968 in KWin::EffectsHandlerImpl::paintWindow (this=0xd9d870, w=0xc4dcf0, mask=9, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:199 #29 0x00007f87e3b62f6c in KWin::Scene::paintWindow (this=<value optimized out>, w=0x1e29480, mask=9, region=) at ../../kwin/scene.cpp:315 #30 0x00007f87e3b64d4a in KWin::Scene::paintSimpleScreen (this=0xe5aea0, orig_mask=<value optimized out>, region=<value optimized out>) at ../../kwin/scene.cpp:286 #31 0x00007f87e3b61a45 in KWin::Scene::finalPaintScreen (this=0xe5aea0, mask=8, region=<value optimized out>, data=<value optimized out>) at ../../kwin/scene.cpp:179 #32 0x00007f87e3b7b9e6 in KWin::EffectsHandlerImpl::paintScreen (this=<value optimized out>, mask=8, region=) at ../../kwin/effects.cpp:172 #33 0x00007f87c7b4a6ef in KWin::LogoutEffect::paintScreen (this=0x1d3bc90, mask=8, region=<value optimized out>, data=...) at ../../../kwin/effects/logout/logout.cpp:207 #34 0x00007f87e3b7ba7e in KWin::EffectsHandlerImpl::paintScreen (this=0xd9d870, mask=8, region=) at ../../kwin/effects.cpp:168 #35 0x00007f87e213e91f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227 #36 0x00007f87e3b7ba7e in KWin::EffectsHandlerImpl::paintScreen (this=0xd9d870, mask=8, region=) at ../../kwin/effects.cpp:168 #37 0x00007f87e3b63195 in KWin::Scene::paintScreen (this=0xe5aea0, mask=0x7fff986fed3c, region=0x7fff986fee60) at ../../kwin/scene.cpp:137 #38 0x00007f87e3b74450 in KWin::SceneOpenGL::paint (this=0xe5aea0, damage=<value optimized out>, toplevels=<value optimized out>) at ../../kwin/scene_opengl.cpp:754 #39 0x00007f87e3b5e2a7 in KWin::Workspace::performCompositing (this=<value optimized out>) at ../../kwin/composite.cpp:454 #40 0x00007f87e3adf7dd in KWin::Workspace::qt_metacall (this=0xa8d560, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff986ff010) at ./workspace.moc:583 #41 0x00007f87e00cdb27 in QMetaObject::activate (sender=0xa8da28, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x39f) at kernel/qobject.cpp:3280 #42 0x00007f87e00c78f9 in QObject::event (this=0xa8da28, e=0x1) at kernel/qobject.cpp:1183 #43 0x00007f87df1fffdc in QApplicationPrivate::notify_helper (this=0x994b40, receiver=0xa8da28, e=0x7fff986ff760) at kernel/qapplication.cpp:4396 #44 0x00007f87df205aed in QApplication::notify (this=0x7fff986ffb50, receiver=0xa8da28, e=0x7fff986ff760) at kernel/qapplication.cpp:4277 #45 0x00007f87e3308156 in KApplication::notify (this=0x7fff986ffb50, receiver=0xa8da28, event=0x7fff986ff760) at ../../kdeui/kernel/kapplication.cpp:310 #46 0x00007f87e00b5cdc in QCoreApplication::notifyInternal (this=0x7fff986ffb50, receiver=0xa8da28, event=0x7fff986ff760) at kernel/qcoreapplication.cpp:732 #47 0x00007f87e00e56f2 in sendEvent (this=0x995550) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #48 QTimerInfoList::activateTimers (this=0x995550) at kernel/qeventdispatcher_unix.cpp:602 #49 0x00007f87e00e582c in QEventDispatcherUNIX::processEvents (this=0x9716e0, flags=) at kernel/qeventdispatcher_unix.cpp:923 #50 0x00007f87df2b3c2f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:152 #51 0x00007f87e00b4a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #52 0x00007f87e00b4dec in QEventLoop::exec (this=0x7fff986ffa90, flags=) at kernel/qeventloop.cpp:201 #53 0x00007f87e00b8ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #54 0x00007f87e3afbf9d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:531 #55 0x00007f87e3744d8e 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=0x7fff98700158) at libc-start.c:226 #56 0x0000000000400669 in _start () This bug may be a duplicate of or related to bug 250639. Reported using DrKonqi
I can tentatively confirm that this crash does not occur with xv output mode of mplayer.
...the fact that xv works makes me strongly believe that this is NOT caused by a GL_BUFFER_UNDERFLOW from an unmatched attrib push/pop but just the driver has a bug. (and mesa/intel issues with context handling are confirmed for other issues) *** This bug has been marked as a duplicate of bug 250639 ***