Bug 312686

Summary: KWin Crash
Product: [Plasma] kwin Reporter: sethbass83
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.9.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description sethbass83 2013-01-05 14:59:24 UTC
Application: kwin (4.9.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.2
Operating System: Linux 3.2.0-35-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
Opened Supertuxkart.  Volume was too high, but you have to exit Supertuxkart to turn it down.  Exited Supertuxkart and KWin crashed.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f905e68b780 (LWP 2366))]

Thread 2 (Thread 0x7f903b77f700 (LWP 2428)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f905ad90222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f905ad90259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f9052b94e9a in start_thread (arg=0x7f903b77f700) at pthread_create.c:308
#4  0x00007f905de9ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f905e68b780 (LWP 2366)):
[KCrash Handler]
#6  0x00007f9041c06720 in brw_update_renderbuffer_surface (brw=0xc6fc10, rb=0xbf98b0, unit=0) at brw_wm_surface_state.c:1171
#7  0x00007f9041c06b59 in brw_update_renderbuffer_surfaces (brw=0xc6fc10) at brw_wm_surface_state.c:1267
#8  0x00007f9041bd9c4d in brw_upload_state (brw=0xc6fc10) at brw_state_upload.c:500
#9  0x00007f9041b8ddb2 in brw_try_draw_prims (ctx=0xc6fc10, arrays=0xcc8000, prim=0x7fffbcfe9720, nr_prims=1, ib=0x0, min_index=0, max_index=23) at brw_draw.c:500
#10 0x00007f9041b8e0cb in brw_draw_prims (ctx=0xc6fc10, prim=0x7fffbcfe9720, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=23, tfb_vertcount=0x0) at brw_draw.c:587
#11 0x00007f904164018b in vbo_draw_arrays (ctx=0xc6fc10, mode=4, start=0, count=24, numInstances=1, baseInstance=0) at ../../../../../src/mesa/vbo/vbo_exec_array.c:619
#12 0x00007f9041640246 in vbo_exec_DrawArrays (mode=4, start=0, count=24) at ../../../../../src/mesa/vbo/vbo_exec_array.c:649
#13 0x00007f905a7e4ddd in KWin::GLVertexBufferPrivate::corePainting (this=0xeacc00, region=..., primitiveMode=4, hardwareClipping=false) at ../../../kwin/libkwineffects/kwinglutils.cpp:1218
#14 0x00007f905a7e505d in KWin::GLVertexBuffer::render (this=0xea6f30, region=..., primitiveMode=4, hardwareClipping=false) at ../../../kwin/libkwineffects/kwinglutils.cpp:1341
#15 0x00007f905e22efbe in renderQuads (hardwareClipping=false, normalized=<optimized out>, tex=<optimized out>, quads=..., region=..., this=<optimized out>) at ../../kwin/scene_opengl.cpp:795
#16 KWin::SceneOpenGL::Window::renderQuads (this=<optimized out>, region=..., quads=..., tex=<optimized out>, normalized=<optimized out>, hardwareClipping=false) at ../../kwin/scene_opengl.cpp:774
#17 0x00007f905e235e97 in KWin::SceneOpenGL::Window::performPaint (this=0x1108220, mask=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:593
#18 0x00007f905e21f81e in KWin::Scene::finalDrawWindow (this=<optimized out>, w=<optimized out>, mask=9, region=..., data=...) at ../../kwin/scene.cpp:454
#19 0x00007f905e2406ea in KWin::EffectsHandlerImpl::drawWindow (this=0x10ad210, w=0x1147440, mask=9, region=..., data=...) at ../../kwin/effects.cpp:310
#20 0x00007f903b7ec527 in KWin::BlurEffect::drawWindow (this=<optimized out>, w=0x1147440, mask=9, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:405
#21 0x00007f905e240689 in KWin::EffectsHandlerImpl::drawWindow (this=0x10ad210, w=0x1147440, mask=9, region=..., data=...) at ../../kwin/effects.cpp:307
#22 0x00007f905c645a6b in KWin::Effect::drawWindow (this=<optimized out>, w=0x1147440, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#23 0x00007f905e240689 in KWin::EffectsHandlerImpl::drawWindow (this=0x10ad210, w=0x1147440, mask=9, region=..., data=...) at ../../kwin/effects.cpp:307
#24 0x00007f905c645a6b in KWin::Effect::drawWindow (this=<optimized out>, w=0x1147440, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#25 0x00007f905e240689 in KWin::EffectsHandlerImpl::drawWindow (this=0x10ad210, w=0x1147440, mask=9, region=..., data=...) at ../../kwin/effects.cpp:307
#26 0x00007f905e21ec9b in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0x1147440, mask=9, region=..., data=...) at ../../kwin/scene.cpp:439
#27 0x00007f905e24096a in KWin::EffectsHandlerImpl::paintWindow (this=0x10ad210, w=0x1147440, mask=9, region=..., data=...) at ../../kwin/effects.cpp:273
#28 0x00007f905c645b6b in KWin::Effect::paintWindow (this=<optimized out>, w=0x1147440, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:157
#29 0x00007f905e240909 in KWin::EffectsHandlerImpl::paintWindow (this=0x10ad210, w=0x1147440, mask=9, region=..., data=...) at ../../kwin/effects.cpp:270
#30 0x00007f905c652ef8 in KWin::AnimationEffect::paintWindow (this=<optimized out>, w=0x1147440, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwinanimationeffect.cpp:495
#31 0x00007f905e240909 in KWin::EffectsHandlerImpl::paintWindow (this=0x10ad210, w=0x1147440, mask=9, region=..., data=...) at ../../kwin/effects.cpp:270
#32 0x00007f903b7ce2d2 in KWin::DimInactiveEffect::paintWindow (this=<optimized out>, w=0x1147440, mask=9, region=..., data=...) at ../../../kwin/effects/diminactive/diminactive.cpp:81
#33 0x00007f905e240909 in KWin::EffectsHandlerImpl::paintWindow (this=0x10ad210, w=0x1147440, mask=9, region=..., data=...) at ../../kwin/effects.cpp:270
#34 0x00007f905e221c86 in KWin::Scene::paintWindow (this=<optimized out>, w=0x1108220, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:348
#35 0x00007f905e21ff74 in KWin::Scene::paintSimpleScreen (this=0xc41c60, orig_mask=8, region=...) at ../../kwin/scene.cpp:334
#36 0x00007f905e21ebe2 in KWin::Scene::finalPaintScreen (this=0xc41c60, mask=8, region=..., data=...) at ../../kwin/scene.cpp:192
#37 0x00007f905e240b37 in KWin::EffectsHandlerImpl::paintScreen (this=0x10ad210, mask=8, region=..., data=...) at ../../kwin/effects.cpp:246
#38 0x00007f905c645bd8 in KWin::Effect::paintScreen (this=<optimized out>, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#39 0x00007f905e240adb in KWin::EffectsHandlerImpl::paintScreen (this=0x10ad210, mask=8, region=..., data=...) at ../../kwin/effects.cpp:243
#40 0x00007f905c645bd8 in KWin::Effect::paintScreen (this=<optimized out>, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#41 0x00007f905e240adb in KWin::EffectsHandlerImpl::paintScreen (this=0x10ad210, mask=8, region=..., data=...) at ../../kwin/effects.cpp:243
#42 0x00007f905c645bd8 in KWin::Effect::paintScreen (this=<optimized out>, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#43 0x00007f905e240adb in KWin::EffectsHandlerImpl::paintScreen (this=0x10ad210, mask=8, region=..., data=...) at ../../kwin/effects.cpp:243
#44 0x00007f905e220db6 in KWin::Scene::paintScreen (this=0xc41c60, mask=0x7fffbcfeaee8, region=0x7fffbcfeafc0) at ../../kwin/scene.cpp:146
#45 0x00007f905e237059 in KWin::SceneOpenGL::paint (this=0xc41c60, damage=..., toplevels=...) at ../../kwin/scene_opengl_glx.cpp:499
#46 0x00007f905e219b3a in performCompositing (this=0xbb7620) at ../../kwin/composite.cpp:443
#47 KWin::Workspace::performCompositing (this=0xbb7620) at ../../kwin/composite.cpp:401
#48 0x00007f9059acc659 in QObject::event (this=0xbb7620, e=<optimized out>) at kernel/qobject.cpp:1157
#49 0x00007f9058e347b4 in notify_helper (e=0x7fffbcfeb690, receiver=0xbb7620, this=0xa41a60) at kernel/qapplication.cpp:4556
#50 QApplicationPrivate::notify_helper (this=0xa41a60, receiver=0xbb7620, e=0x7fffbcfeb690) at kernel/qapplication.cpp:4528
#51 0x00007f9058e39583 in QApplication::notify (this=0x7fffbcfeba70, receiver=0xbb7620, e=0x7fffbcfeb690) at kernel/qapplication.cpp:4417
#52 0x00007f905d9777a6 in KApplication::notify (this=0x7fffbcfeba70, receiver=0xbb7620, event=0x7fffbcfeb690) at ../../kdeui/kernel/kapplication.cpp:311
#53 0x00007f9059ab330c in QCoreApplication::notifyInternal (this=0x7fffbcfeba70, receiver=0xbb7620, event=0x7fffbcfeb690) at kernel/qcoreapplication.cpp:915
#54 0x00007f9059ae46d2 in sendEvent (event=0x7fffbcfeb690, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#55 QTimerInfoList::activateTimers (this=0xa425a8) at kernel/qeventdispatcher_unix.cpp:611
#56 0x00007f9059ae5194 in QEventDispatcherUNIX::processEvents (this=0x9ebad0, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#57 0x00007f9058eddb78 in QEventDispatcherX11::processEvents (this=0x9ebad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#58 0x00007f9059ab1e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007f9059ab2097 in QEventLoop::exec (this=0x7fffbcfeb9f0, flags=...) at kernel/qeventloop.cpp:204
#60 0x00007f9059ab73e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#61 0x00007f905e1cdfd3 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:545
#62 0x00007f905ddcc76d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=3, ubp_av=0x7fffbcfec168, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbcfec158) at libc-start.c:226
#63 0x0000000000400661 in _start ()

Possible duplicates by query: bug 312468, bug 312336, bug 312335, bug 311682, bug 310612.

Reported using DrKonqi
Comment 1 Thomas L├╝bking 2013-01-05 16:44:02 UTC
Driver bug, run "kcmshell4 kwincompositing" and uncheck "suspend compositing for fullscreen windows" on the third tab.

Instead suspend compositing altogether (by pressing shift+alt+f12 or setting up a rule for supertuxcart to block compositing in "kcmshell4 kwinrules") for better game performance.

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