Current Cauldron install on a Dell Optiplex 990 with 2 monitors. Every time I log into KDE, immediately upon login it pops up a KDE crash dialog saying that Kwin crashed, although Kwin is working just fine. I looked at the backtrace and saw besides the KDE stuff, it was into a library in the libdri-drivers package (from the mesa SRPM) and libraries from glibc, so I installed the debuginfo packages for kdebase4-workspace (for kwin), mesa, and glibc and regenerated the backtrace. I'll attach it. Reproducible: Steps to Reproduce:
Created attachment 3897 [details] kwin crashing backtrace
CC: (none) => balcaen.john, cjw, nicolas.lecureuil, thierry.vignaud, tmb
Application: KWin (kwin), signal: Bus error Using host libthread_db library "/lib/i686/libthread_db.so.1". [Current thread is 1 (Thread 0xb0bbb740 (LWP 5444))] Thread 2 (Thread 0xaadb4b40 (LWP 5454)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb5d0e27b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187 #2 0xb74c72fc in __pthread_cond_wait (cond=0x97f4fe0, mutex=0x97f4fc8) at forward.c:149 #3 0xac072c1c in pipe_semaphore_wait (sema=0x97f4fc8) at ../../../../../src/gallium/auxiliary/os/os_thread.h:433 #4 radeon_drm_cs_emit_ioctl (param=0x97f4ea0) at radeon_drm_winsys.c:518 #5 0xb5d0abb8 in start_thread (arg=0xaadb4b40) at pthread_create.c:308 #6 0xb74b935e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:128 Thread 1 (Thread 0xb0bbb740 (LWP 5444)): [KCrash Handler] #6 __memset_sse2_rep () at ../sysdeps/i386/i686/multiarch/memset-sse2-rep.S:325 #7 0xac05b0e5 in memset (__len=<optimized out>, __ch=204, __dest=<optimized out>) at /usr/include/bits/string3.h:84 #8 r600_texture_create_object (screen=screen@entry=0x97f5178, base=base@entry=0xbfa0d3e4, pitch_in_bytes_override=pitch_in_bytes_override@entry=0, buf=buf@entry=0x0, surface=surface@entry=0xbfa0c6d8) at r600_texture.c:509 #9 0xac05b6c0 in r600_texture_create (screen=screen@entry=0x97f5178, templ=templ@entry=0xbfa0d3e4) at r600_texture.c:601 #10 0xac0468f4 in r600_resource_create (screen=0x97f5178, templ=0xbfa0d3e4) at r600_resource.c:37 #11 0xac06f18f in dri2_drawable_process_buffers (att_count=1, atts=0xbfa0d4a4, buffer_count=1, buffers=0x999fb7c, drawable=<optimized out>) at dri2.c:254 #12 dri2_allocate_textures (drawable=0x9996b30, statts=0xbfa0d4a4, statts_count=1) at dri2.c:404 #13 0xac06db9c in dri_st_framebuffer_validate (stfbi=0x9996b30, statts=0xbfa0d4a4, count=1, out=0x0) at dri_drawable.c:81 #14 0xac06ddc7 in dri_drawable_validate_att (drawable=0x9996b30, statt=<optimized out>) at dri_drawable.c:206 #15 dri_set_tex_buffer2 (pDRICtx=0x97da348, target=3553, format=8409, dPriv=0x999f878) at dri_drawable.c:220 #16 0xb639fe30 in dri2_bind_tex_image (dpy=0x968c6a8, drawable=29360171, buffer=8414, attrib_list=0x0) at dri2_glx.c:1006 #17 0xb6374053 in __glXBindTexImageEXT (dpy=0x968c6a8, drawable=29360171, buffer=buffer@entry=8414, attrib_list=attrib_list@entry=0x0) at glxcmds.c:2370 #18 0xb7645c9c in loadTexture (depth=24, size=..., pix=@0xbfa0d5fc: 29360169, this=0x9996170) at /usr/src/debug/kde-workspace-4.10.2/kwin/glxbackend.cpp:716 #19 KWin::GlxTexture::loadTexture (this=0x9996170, pix=@0xbfa0d5fc: 29360169, size=..., depth=24) at /usr/src/debug/kde-workspace-4.10.2/kwin/glxbackend.cpp:658 #20 0xb763a7f9 in KWin::SceneOpenGL::Texture::load (this=0x999c720, pix=@0xbfa0d5fc: 29360169, size=..., depth=24, region=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene_opengl.cpp:764 #21 0xb763cc57 in KWin::SceneOpenGL::Window::bindTexture (this=0x97df610) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene_opengl.cpp:822 #22 0xb764398e in KWin::SceneOpenGL::Window::performPaint (this=0x97df610, mask=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene_opengl.cpp:931 #23 0xb763be15 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x9876c40, w=w@entry=0x998c528, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene_opengl.cpp:566 #24 0xb763bfd7 in KWin::SceneOpenGL2::finalDrawWindow (this=0x9876c40, w=w@entry=0x998c528, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene_opengl.cpp:551 #25 0xb76530c8 in KWin::EffectsHandlerImpl::drawWindow (this=0x9920190, w=w@entry=0x998c528, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/effects.cpp:318 #26 0xb762ce32 in KWin::Scene::finalPaintWindow (this=0x9876c40, w=0x998c528, mask=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene.cpp:449 #27 0xb76534e3 in KWin::EffectsHandlerImpl::paintWindow (this=0x9920190, w=0x998c528, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/effects.cpp:281 #28 0xb762ff40 in KWin::Scene::paintWindow (this=this@entry=0x9876c40, w=0x97df610, mask=1, region=..., quads=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene.cpp:356 #29 0xb762f146 in KWin::Scene::paintSimpleScreen (this=this@entry=0x9876c40, orig_mask=orig_mask@entry=0, region=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene.cpp:342 #30 0xb762cd73 in KWin::Scene::finalPaintScreen (this=0x9876c40, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene.cpp:186 #31 0xb7653213 in KWin::EffectsHandlerImpl::paintScreen (this=0x9920190, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/effects.cpp:254 #32 0xb762e37e in KWin::Scene::paintScreen (this=0x9876c40, mask=0xbfa0de0c, region=0xbfa0de7c) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene.cpp:140 #33 0xb763ff8b in KWin::SceneOpenGL::paint (this=0x9876c40, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.10.2/kwin/scene_opengl.cpp:308 #34 0xb7627770 in KWin::Compositor::performCompositing (this=this@entry=0x9709aa0) at /usr/src/debug/kde-workspace-4.10.2/kwin/composite.cpp:610 #35 0xb7628303 in KWin::Compositor::slotCompositingOptionsInitialized (this=0x9709aa0) at /usr/src/debug/kde-workspace-4.10.2/kwin/composite.cpp:275 #36 0xb75a4088 in qt_static_metacall (_a=0xbfa0e10c, _id=14, _o=0x9709aa0, _c=<optimized out>) at /usr/src/debug/kde-workspace-4.10.2/build/kwin/moc_composite.cpp:113 #37 KWin::Compositor::qt_static_metacall (_o=0x9709aa0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfa0e10c) at /usr/src/debug/kde-workspace-4.10.2/build/kwin/moc_composite.cpp:93 #38 0xb5eaff42 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4 #39 0xb5efe805 in QFutureWatcherBase::finished() () from /lib/libQtCore.so.4 #40 0xb5d74cfc in QFutureWatcherBasePrivate::sendCallOutEvent(QFutureCallOutEvent*) () from /lib/libQtCore.so.4 #41 0xb5d75002 in QFutureWatcherBase::event(QEvent*) () from /lib/libQtCore.so.4 #42 0xb5370d1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4 #43 0xb537571f in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4 #44 0xb716c341 in KApplication::notify(QObject*, QEvent*) () from /lib/libkdeui.so.5 #45 0xb75d0b8f in notify (e=0xad000468, o=0x96f7da0, this=0xbfa0e9b8) at /usr/src/debug/kde-workspace-4.10.2/kwin/main.cpp:371 #46 KWin::Application::notify (this=0xbfa0e9b8, o=0x96f7da0, e=0xad000468) at /usr/src/debug/kde-workspace-4.10.2/kwin/main.cpp:367 #47 0xb5e9928e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4 #48 0xb5e9d12d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/libQtCore.so.4 #49 0xb5ecdb43 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4 #50 0xb5423113 in QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtGui.so.4 #51 0xb5e97d5c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4 #52 0xb5e98051 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4 #53 0xb5e9d45a in QCoreApplication::exec() () from /lib/libQtCore.so.4 #54 0xb536eb94 in QApplication::exec() () from /lib/libQtGui.so.4 #55 0xb75d3611 in kdemain (argc=1, argv=0xbfa0eaa4) at /usr/src/debug/kde-workspace-4.10.2/kwin/main.cpp:537 #56 0x0804855b in main (argc=1, argv=0xbfa0eaa4) at /usr/src/debug/kde-workspace-4.10.2/build/kwin/kwin_dummy.cpp:3
Nicolas pointed me to this fd.o upstream bug on IRC: https://bugs.freedesktop.org/show_bug.cgi?id=61182 and asked me to try this upstream patch to KWin mentioned in that bug: http://quickgit.kde.org/?p=kde-workspace.git&a=commit&h=a021eacf In progress...
(In reply to David Walser from comment #3) > http://quickgit.kde.org/?p=kde-workspace.git&a=commit&h=a021eacf Confirmed that this patch does fix the issue.
Keywords: (none) => PATCHCC: thierry.vignaud => (none)
Fixed in kdebase4-workspace-4.10.2-2.mga3. Thanks Nicolas.
Status: NEW => RESOLVEDResolution: (none) => FIXED