Bug 310417

Summary: Kwin crashed when playing video in fullscreen in SMPlayer
Product: [Plasma] kwin Reporter: Martin Holec <martin.holec>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.9.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Holec 2012-11-20 18:24:53 UTC
Application: kwin (4.9.3)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.6.6-1.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Kwin crashed when playing video in fullscreen in SMPlayer

- Unusual behavior I noticed:
KWin crash, other windows flashes when playing fullscreen video.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7eff9bcc5880 (LWP 21559))]

Thread 2 (Thread 0x7eff8f859700 (LWP 21563)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000030f3f86797 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x30f4294640) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000030f3f867c9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003e4d207d14 in start_thread (arg=0x7eff8f859700) at pthread_create.c:309
#4  0x0000003e4caf167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7eff9bcc5880 (LWP 21559)):
[KCrash Handler]
#6  brw_update_renderbuffer_surface (brw=0x7eff95673040, rb=0x107ecf0, unit=0) at brw_wm_surface_state.c:959
#7  0x00007eff8cf55c40 in brw_update_renderbuffer_surfaces (brw=0x7eff95673040) at brw_wm_surface_state.c:1052
#8  0x00007eff8cf3fea0 in brw_upload_state (brw=brw@entry=0x7eff95673040) at brw_state_upload.c:503
#9  0x00007eff8cf2d8b7 in brw_try_draw_prims (max_index=<optimized out>, min_index=<optimized out>, ib=0x0, nr_prims=1, prim=0x7fffd7eee910, arrays=0x16e7628, ctx=0x7eff95673040) at brw_draw.c:482
#10 brw_draw_prims (ctx=0x7eff95673040, arrays=0x16e7628, prim=0x7fffd7eee910, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0, max_index=23, tfb_vertcount=0x0) at brw_draw.c:566
#11 0x00007eff8d052cf3 in vbo_draw_arrays (ctx=0x7eff95673040, mode=4, start=0, count=24, numInstances=1) at vbo/vbo_exec_array.c:600
#12 0x0000003f1fe0f76e in KWin::GLVertexBufferPrivate::corePainting (this=0x1071d00, region=..., primitiveMode=4, hardwareClipping=false) at /usr/src/debug/kde-workspace-4.9.3/kwin/libkwineffects/kwinglutils.cpp:1218
#13 0x0000003f1fe0fc8d in KWin::GLVertexBuffer::render (this=this@entry=0x105ea80, region=..., primitiveMode=primitiveMode@entry=4, hardwareClipping=hardwareClipping@entry=false) at /usr/src/debug/kde-workspace-4.9.3/kwin/libkwineffects/kwinglutils.cpp:1341
#14 0x0000003f1fe0fd11 in KWin::GLVertexBuffer::render (this=0x105ea80, primitiveMode=4) at /usr/src/debug/kde-workspace-4.9.3/kwin/libkwineffects/kwinglutils.cpp:1333
#15 0x0000003f20cc05d1 in KWin::SceneOpenGL::paintBackground (this=this@entry=0x11a54d0, region=...) at /usr/src/debug/kde-workspace-4.9.3/kwin/scene_opengl.cpp:210
#16 0x0000003f20cb00b0 in KWin::Scene::paintSimpleScreen (this=this@entry=0x11a54d0, orig_mask=orig_mask@entry=8, region=...) at /usr/src/debug/kde-workspace-4.9.3/kwin/scene.cpp:323
#17 0x0000003f20cadd22 in KWin::Scene::finalPaintScreen (this=0x11a54d0, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.3/kwin/scene.cpp:192
#18 0x0000003f20ccd423 in KWin::EffectsHandlerImpl::paintScreen (this=0x199a080, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.3/kwin/effects.cpp:246
#19 0x0000003f1f2101a7 in KWin::Effect::paintScreen (this=this@entry=0x1ad8810, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.3/kwin/libkwineffects/kwineffects.cpp:142
#20 0x0000003f20ccd3cb in KWin::EffectsHandlerImpl::paintScreen (this=0x199a080, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.3/kwin/effects.cpp:243
#21 0x0000003f1f2101a7 in KWin::Effect::paintScreen (this=this@entry=0x165bc40, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.3/kwin/libkwineffects/kwineffects.cpp:142
#22 0x0000003f20ccd3cb in KWin::EffectsHandlerImpl::paintScreen (this=0x199a080, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.3/kwin/effects.cpp:243
#23 0x0000003f20caf36b in KWin::Scene::paintScreen (this=0x11a54d0, mask=0x7fffd7eeefbc, region=0x7fffd7eef060) at /usr/src/debug/kde-workspace-4.9.3/kwin/scene.cpp:146
#24 0x0000003f20cc3f8d in KWin::SceneOpenGL::paint (this=0x11a54d0, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.9.3/kwin/scene_opengl_glx.cpp:499
#25 0x0000003f20ca9078 in KWin::Workspace::performCompositing (this=0x100ad90) at /usr/src/debug/kde-workspace-4.9.3/kwin/composite.cpp:443
#26 0x00000030e518c69c in QObject::event (this=0x100ad90, e=<optimized out>) at kernel/qobject.cpp:1157
#27 0x00000030e6dca4ac in QApplicationPrivate::notify_helper (this=this@entry=0xee60c0, receiver=receiver@entry=0x100ad90, e=e@entry=0x7fffd7eef740) at kernel/qapplication.cpp:4557
#28 0x00000030e6dce92a in QApplication::notify (this=0x7fffd7eefd80, receiver=0x100ad90, e=0x7fffd7eef740) at kernel/qapplication.cpp:4418
#29 0x0000003f1c2468a6 in KApplication::notify (this=0x7fffd7eefd80, receiver=0x100ad90, event=0x7fffd7eef740) at /usr/src/debug/kdelibs-4.9.3/kdeui/kernel/kapplication.cpp:311
#30 0x00000030e5177f6e in QCoreApplication::notifyInternal (this=0x7fffd7eefd80, receiver=0x100ad90, event=0x7fffd7eef740) at kernel/qcoreapplication.cpp:915
#31 0x00000030e51a8842 in sendEvent (event=0x7fffd7eef740, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#32 QTimerInfoList::activateTimers (this=0xee6ab8) at kernel/qeventdispatcher_unix.cpp:611
#33 0x00000030e51a88a0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0xe88c40) at kernel/qeventdispatcher_unix.cpp:868
#34 0x00000030e51a89f8 in QEventDispatcherUNIX::processEvents (this=0xe88c40, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#35 0x00000030e6e6b2af in QEventDispatcherX11::processEvents (this=0xe88c40, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#36 0x00000030e5176cbf in QEventLoop::processEvents (this=this@entry=0x7fffd7eefa90, flags=...) at kernel/qeventloop.cpp:149
#37 0x00000030e5176f48 in QEventLoop::exec (this=0x7fffd7eefa90, flags=...) at kernel/qeventloop.cpp:204
#38 0x00000030e517bd38 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#39 0x0000003f20c62cf4 in kdemain (argc=3, argv=0x7fffd7eefec8) at /usr/src/debug/kde-workspace-4.9.3/kwin/main.cpp:545
#40 0x0000003e4ca21735 in __libc_start_main (main=0x4008a0 <main(int, char**)>, argc=3, ubp_av=0x7fffd7eefec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd7eefeb8) at libc-start.c:226
#41 0x00000000004008d1 in _start ()

Possible duplicates by query: bug 310027, bug 309415, bug 307027, bug 306927, bug 306254.

Reported using DrKonqi
Comment 1 Martin Flöser 2012-11-20 18:50:39 UTC
disable unredirection of fullscreen windows in advanced tab of desktop effects settings to workaround the problem.

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