Bug 307027

Summary: Kwin crash when exiting Kaffeine fullscrean mode
Product: [Plasma] kwin Reporter: Clint Dalrymple <talldalry>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Clint Dalrymple 2012-09-19 09:02:06 UTC
Application: kwin (4.8.5 (4.8.5) "release 2")
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.6-2.10-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Kwin occasionally crashes when Kaffeine leaves fullscrean mode after playback has finished.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f36bd06b780 (LWP 2161))]

Thread 2 (Thread 0x7f369acdf700 (LWP 2300)):
#0  0x00007f36b7cde8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f36b934f217 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f36b965c640 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f36b934f249 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f36b7cdae0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f36bc8922bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f36bd06b780 (LWP 2161)):
[KCrash Handler]
#6  brw_update_renderbuffer_surface (brw=0x9483c0, rb=0x6fdde0, unit=0) at brw_wm_surface_state.c:959
#7  0x00007f36a399ee50 in brw_update_renderbuffer_surfaces (brw=0x9483c0) at brw_wm_surface_state.c:1052
#8  0x00007f36a3989750 in brw_upload_state (brw=brw@entry=0x9483c0) at brw_state_upload.c:503
#9  0x00007f36a39771b7 in brw_try_draw_prims (max_index=<optimized out>, min_index=<optimized out>, ib=0x0, nr_prims=1, prim=0x7fffd348ebf0, arrays=0x9887b8, ctx=0x9483c0) at brw_draw.c:482
#10 brw_draw_prims (ctx=0x9483c0, arrays=0x9887b8, prim=0x7fffd348ebf0, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0, max_index=17, tfb_vertcount=0x0) at brw_draw.c:566
#11 0x00007f36a35e9be3 in vbo_draw_arrays (ctx=0x9483c0, mode=4, start=0, count=18, numInstances=1) at vbo/vbo_exec_array.c:600
#12 0x00007f36b8d757d7 in KWin::GLVertexBufferPrivate::corePainting (this=0xb09800, region=..., primitiveMode=4) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwinglutils.cpp:1188
#13 0x00007f36b8d758d5 in KWin::GLVertexBuffer::render (this=0x6c9710, region=..., primitiveMode=4) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwinglutils.cpp:1297
#14 0x00007f36bcc0d130 in renderQuads (normalized=<optimized out>, tex=<optimized out>, quads=..., region=..., this=<optimized out>) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl.cpp:788
#15 KWin::SceneOpenGL::Window::renderQuads (this=<optimized out>, region=..., quads=..., tex=<optimized out>, normalized=<optimized out>) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl.cpp:768
#16 0x00007f36bcc13a68 in KWin::SceneOpenGL::Window::performPaint (this=0xe533b0, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl.cpp:592
#17 0x00007f36bcbfebce in KWin::Scene::finalDrawWindow (this=<optimized out>, w=<optimized out>, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:438
#18 0x00007f36bcc1e2c5 in KWin::EffectsHandlerImpl::drawWindow (this=0xbb3c20, w=w@entry=0xe4ba90, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:286
#19 0x00007f36a0f9e12d in KWin::BlurEffect::drawWindow (this=<optimized out>, w=0xe4ba90, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects/blur/blur.cpp:389
#20 0x00007f36bcc1e25b in KWin::EffectsHandlerImpl::drawWindow (this=0xbb3c20, w=w@entry=0xe4ba90, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:283
#21 0x00007f36baa09eea in KWin::Effect::drawWindow (this=<optimized out>, w=0xe4ba90, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwineffects.cpp:181
#22 0x00007f36bcc1e25b in KWin::EffectsHandlerImpl::drawWindow (this=0xbb3c20, w=w@entry=0xe4ba90, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:283
#23 0x00007f36baa09eea in KWin::Effect::drawWindow (this=<optimized out>, w=0xe4ba90, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwineffects.cpp:181
#24 0x00007f36bcc1e25b in KWin::EffectsHandlerImpl::drawWindow (this=0xbb3c20, w=w@entry=0xe4ba90, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:283
#25 0x00007f36bcbfdc46 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0xe4ba80, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:429
#26 0x00007f36bcc1e5c5 in KWin::EffectsHandlerImpl::paintWindow (this=0xbb3c20, w=w@entry=0xe4ba90, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:249
#27 0x00007f36baa09fea in KWin::Effect::paintWindow (this=<optimized out>, w=0xe4ba90, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwineffects.cpp:156
#28 0x00007f36bcc1e55b in KWin::EffectsHandlerImpl::paintWindow (this=0xbb3c20, w=w@entry=0xe4ba90, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:246
#29 0x00007f36a0f821f9 in KWin::DimInactiveEffect::paintWindow (this=<optimized out>, w=0xe4ba90, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects/diminactive/diminactive.cpp:80
#30 0x00007f36bcc1e55b in KWin::EffectsHandlerImpl::paintWindow (this=0xbb3c20, w=w@entry=0xe4ba90, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:246
#31 0x00007f36a0f89848 in KWin::TranslucencyEffect::paintWindow (this=<optimized out>, w=0xe4ba90, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects/translucency/translucency.cpp:108
#32 0x00007f36bcc1e55b in KWin::EffectsHandlerImpl::paintWindow (this=0xbb3c20, w=0xe4ba90, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:246
#33 0x00007f36bcbfe62b in KWin::Scene::paintWindow (this=this@entry=0x859830, w=0xe533b0, mask=9, region=..., quads=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:385
#34 0x00007f36bcbff4c9 in KWin::Scene::paintSimpleScreen (this=this@entry=0x859830, orig_mask=orig_mask@entry=8, region=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:330
#35 0x00007f36bcbfdb74 in KWin::Scene::finalPaintScreen (this=0x859830, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:198
#36 0x00007f36bcc1e143 in KWin::EffectsHandlerImpl::paintScreen (this=0xbb3c20, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:222
#37 0x00007f36baa0a057 in KWin::Effect::paintScreen (this=this@entry=0xce8450, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwineffects.cpp:141
#38 0x00007f36bcc1e0eb in KWin::EffectsHandlerImpl::paintScreen (this=0xbb3c20, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:219
#39 0x00007f36baa0a057 in KWin::Effect::paintScreen (this=this@entry=0xbb3bb0, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwineffects.cpp:141
#40 0x00007f36bcc1e0eb in KWin::EffectsHandlerImpl::paintScreen (this=0xbb3c20, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:219
#41 0x00007f36baa0a057 in KWin::Effect::paintScreen (this=this@entry=0xd78e20, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwineffects.cpp:141
#42 0x00007f36bcc1e0eb in KWin::EffectsHandlerImpl::paintScreen (this=0xbb3c20, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:219
#43 0x00007f36bcc00768 in KWin::Scene::paintScreen (this=0x859830, mask=0x7fffd348fefc, region=0x7fffd348ffc0) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:156
#44 0x00007f36bcc1458d in KWin::SceneOpenGL::paint (this=0x859830, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl_glx.cpp:459
#45 0x00007f36bcbfaa01 in KWin::Workspace::performCompositing (this=0x7038d0) at /usr/src/debug/kde-workspace-4.8.5/kwin/composite.cpp:417
#46 0x00007f36b807eedc in QObject::event (this=0x7038d0, e=<optimized out>) at kernel/qobject.cpp:1166
#47 0x00007f36b71f974c in QApplicationPrivate::notify_helper (this=this@entry=0x683b90, receiver=receiver@entry=0x7038d0, e=e@entry=0x7fffd3490750) at kernel/qapplication.cpp:4554
#48 0x00007f36b71fdc7a in QApplication::notify (this=0x7fffd3490d90, receiver=0x7038d0, e=0x7fffd3490750) at kernel/qapplication.cpp:4415
#49 0x00007f36bc38f006 in KApplication::notify (this=0x7fffd3490d90, receiver=0x7038d0, event=0x7fffd3490750) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#50 0x00007f36b806a73e in QCoreApplication::notifyInternal (this=0x7fffd3490d90, receiver=0x7038d0, event=0x7fffd3490750) at kernel/qcoreapplication.cpp:876
#51 0x00007f36b809b1c1 in sendEvent (event=0x7fffd3490750, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#52 QTimerInfoList::activateTimers (this=0x6845f8) at kernel/qeventdispatcher_unix.cpp:626
#53 0x00007f36b809b800 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x632a70) at kernel/qeventdispatcher_unix.cpp:883
#54 0x00007f36b809b958 in QEventDispatcherUNIX::processEvents (this=0x632a70, flags=...) at kernel/qeventdispatcher_unix.cpp:945
#55 0x00007f36b729a6cf in QEventDispatcherX11::processEvents (this=0x632a70, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#56 0x00007f36b806973f in QEventLoop::processEvents (this=this@entry=0x7fffd3490aa0, flags=...) at kernel/qeventloop.cpp:149
#57 0x00007f36b80699c8 in QEventLoop::exec (this=0x7fffd3490aa0, flags=...) at kernel/qeventloop.cpp:204
#58 0x00007f36b806e3a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#59 0x00007f36bcbb517e in kdemain (argc=3, argv=0x7fffd3490f18) at /usr/src/debug/kde-workspace-4.8.5/kwin/main.cpp:541
#60 0x00007f36bc7cf455 in __libc_start_main () from /lib64/libc.so.6
#61 0x0000000000400721 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 306927, bug 306254, bug 304464, bug 304241, bug 304042.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-09-19 09:40:34 UTC
driver bug, do you have "suspend desktop effects for fullscreen windows" checked in "kcmshell4 kwincompositing", "advanced" tab?

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