<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>323133</bug_id>
          
          <creation_ts>2013-08-03 12:57:11 +0000</creation_ts>
          <short_desc>Kwin crashes when alt-tab to switch between apps if i am in a game, desktop effects enabled, but set to suspend when in fullscreen mode</short_desc>
          <delta_ts>2013-08-03 16:02:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>effects-window-management</component>
          <version>unspecified</version>
          <rep_platform>Mageia RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>299333</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Norkusus">bitzzylvn</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1387774</commentid>
    <comment_count>0</comment_count>
    <who name="Norkusus">bitzzylvn</who>
    <bug_when>2013-08-03 12:57:11 +0000</bug_when>
    <thetext>Application: kwin (4.10.2)
KDE Platform Version: 4.10.2
Qt Version: 4.8.5
Operating System: Linux 3.8.13.4-desktop-1.mga3 x86_64
Distribution: &quot;Mageia 3&quot;

-- Information about the crash:
- What I was doing when the application crashed:

I was in Counter Strike menu, (on steam), and i was modifying the laptop volume with fn key and F8-F9, it is a fujitsu ah-530. 
Sometimes it also crash Kwin when i simply use alt+tab to switch betweet counter strike and other app. 
I have enabled &quot;Desktop Effects&quot; because i use Cairo Dock, but it is set to suspend desktop effects in fullscreen applications. without Desktop Effects enabled Kwin never crashed so far.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f8d8d803780 (LWP 2610))]

Thread 2 (Thread 0x7f8d5f9a1700 (LWP 2620)):
#0  0x00007f8d8802c5c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8d898cc207 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtScript.so.4
#2  0x00007f8d898cc239 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtScript.so.4
#3  0x00007f8d88028d18 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f8d8d02d7cd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8d8d803780 (LWP 2610)):
[KCrash Handler]
#5  0x00007f8d6dc90bbc in brw_update_renderbuffer_surface () from /usr/lib64/dri/i965_dri.so
#6  0x00007f8d6dc90530 in brw_update_renderbuffer_surfaces () from /usr/lib64/dri/i965_dri.so
#7  0x00007f8d6dc6b782 in brw_upload_state () from /usr/lib64/dri/i965_dri.so
#8  0x00007f8d6dc2e7cf in brw_draw_prims () from /usr/lib64/dri/i965_dri.so
#9  0x00007f8d6d7892b4 in vbo_draw_arrays () from /lib64/libdricore9.1.3.so.1
#10 0x00007f8d890f0cdd in KWin::GLVertexBufferPrivate::corePainting(QRegion const&amp;, unsigned int, bool) () from /lib64/libkwinglutils.so.1
#11 0x00007f8d890f11fd in KWin::GLVertexBuffer::render(QRegion const&amp;, unsigned int, bool) () from /lib64/libkwinglutils.so.1
#12 0x00007f8d8d3b38bf in KWin::SceneOpenGL::Window::renderQuads(int, QRegion const&amp;, KWin::WindowQuadList const&amp;, KWin::GLTexture*, bool, bool) () from /lib64/libkdeinit4_kwin.so
#13 0x00007f8d8d3b9938 in KWin::SceneOpenGL::Window::performPaint(int, QRegion, KWin::WindowPaintData) () from /lib64/libkdeinit4_kwin.so
#14 0x00007f8d8d3b25ff in KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&amp;) () from /lib64/libkdeinit4_kwin.so
#15 0x00007f8d8d3b279d in KWin::SceneOpenGL2::finalDrawWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&amp;) () from /lib64/libkdeinit4_kwin.so
#16 0x00007f8d8d3c65b5 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&amp;) () from /lib64/libkdeinit4_kwin.so
#17 0x00007f8d8d3a59ba in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&amp;) () from /lib64/libkdeinit4_kwin.so
#18 0x00007f8d8d3c6b77 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&amp;) () from /lib64/libkdeinit4_kwin.so
#19 0x00007f8d8d3a857d in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () from /lib64/libkdeinit4_kwin.so
#20 0x00007f8d8d3a78af in KWin::Scene::paintSimpleScreen(int, QRegion) () from /lib64/libkdeinit4_kwin.so
#21 0x00007f8d8d3a58fe in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&amp;) () from /lib64/libkdeinit4_kwin.so
#22 0x00007f8d8d3c67f0 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&amp;) () from /lib64/libkdeinit4_kwin.so
#23 0x00007f8d8d3a6c98 in KWin::Scene::paintScreen(int*, QRegion*) () from /lib64/libkdeinit4_kwin.so
#24 0x00007f8d8d3b60fe in KWin::SceneOpenGL::paint(QRegion, QList&lt;KWin::Toplevel*&gt;) () from /lib64/libkdeinit4_kwin.so
#25 0x00007f8d8d3a10bc in KWin::Compositor::performCompositing() () from /lib64/libkdeinit4_kwin.so
#26 0x00007f8d883c9bdc in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#27 0x00007f8d875493bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#28 0x00007f8d8754d83a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#29 0x00007f8d8cb190f6 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#30 0x00007f8d883b54ae in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#31 0x00007f8d883e6212 in QTimerInfoList::activateTimers() () from /lib64/libQtCore.so.4
#32 0x00007f8d883e6428 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQtCore.so.4
#33 0x00007f8d875ea34f in QEventDispatcherX11::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQtGui.so.4
#34 0x00007f8d883b415f in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQtCore.so.4
#35 0x00007f8d883b43e8 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQtCore.so.4
#36 0x00007f8d883b9278 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#37 0x00007f8d8d357c6a in kdemain () from /lib64/libkdeinit4_kwin.so
#38 0x00007f8d8cf5fba5 in __libc_start_main () from /lib64/libc.so.6
#39 0x0000000000400751 in _start ()

Possible duplicates by query: bug 322959, bug 322487, bug 321352, bug 320624, bug 319758.

Report to https://bugs.kde.org/

Reproducible: Sometimes

Steps to Reproduce:
1.Start counter strike from steam
2.trying to modify the volume from keys fn + F8 - F9
3.or simply when i hit alt-tab to switch between counter strike and other app
Actual Results:  
it pop up a windows, telling that Kwin has crashed

Expected Results:  
not crashing? :))

i have added in the details all things, my pc specs and some programing stuff that pop up when it was telling me it has crashed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1387780</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2013-08-03 13:55:31 +0000</bug_when>
    <thetext>Driver bug.
Disable &quot;suspend comspositing for fullscreen windows&quot;

*** This bug has been marked as a duplicate of bug 299333 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1387807</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2013-08-03 16:02:42 +0000</bug_when>
    <thetext>Ps: can you please record the exact IGP/GPU (in doubt attach the output of &quot;qdbus org.kde.kwin /KWin supportInformation&quot;) - we try to figure to what hardware this issue is limited.
Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>