<?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>322487</bug_id>
          
          <creation_ts>2013-07-17 13:28:49 +0000</creation_ts>
          <short_desc>Composition fails and KWin crashes after Ctrl+Shift+F12</short_desc>
          <delta_ts>2013-07-17 13:41:44 +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>general</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="Northsoft">northsoft</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>1384041</commentid>
    <comment_count>0</comment_count>
    <who name="Northsoft">northsoft</who>
    <bug_when>2013-07-17 13:28:49 +0000</bug_when>
    <thetext>Application: kwin (4.8.5 (4.8.5))
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.4
Operating System: Linux 3.4.52-desktop-1.mga2 x86_64
Distribution: &quot;Mageia 2&quot;

-- Information about the crash:
- What I was doing when the application crashed:
1. Screensaver was active.
2. I&apos;ve entered password and unlocked system.
- Unusual behavior I noticed:
3. Composition is down, KWin crashes, no titles and control buttons there
4. I start konsole and call kwin &amp; from konsole, and after calling Ctrl+Shift+F12 to reenable composition KWin crashes.
Asus N61Jv, Intel i5 520m optimused with nV.GTX325m.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7fd867947700 (LWP 9323)):
#0  0x00007fd87e38e594 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd87fa7fb92 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd87fd78e80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fd87fa7fbc9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=&lt;optimized out&gt;) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fd87e38ab99 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd882ff9f7d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd86e8c8720 (LWP 9321)):
[KCrash Handler]
#6  brw_update_renderbuffer_surface (brw=0x1b5cdb0, rb=0x19ee730, unit=0) at brw_wm_surface_state.c:954
#7  0x00007fd7dfd92360 in brw_update_renderbuffer_surfaces (brw=0x1b5cdb0) at brw_wm_surface_state.c:1047
#8  0x00007fd7dfd7be78 in brw_upload_state (brw=0x1b5cdb0) at brw_state_upload.c:503
#9  0x00007fd7dfd6901f in brw_try_draw_prims (max_index=&lt;optimized out&gt;, min_index=&lt;optimized out&gt;, ib=0x0, nr_prims=1, prim=0x7fffbc37b310, arrays=0x1ba08c8, ctx=0x1b5cdb0) at brw_draw.c:482
#10 brw_draw_prims (ctx=0x1b5cdb0, arrays=0x1ba08c8, prim=0x7fffbc37b310, nr_prims=1, ib=0x0, index_bounds_valid=&lt;optimized out&gt;, min_index=0, max_index=5, tfb_vertcount=0x0) at brw_draw.c:566
#11 0x00007fd7df9d4384 in vbo_draw_arrays (ctx=0x1b5cdb0, mode=4, start=0, count=&lt;optimized out&gt;, numInstances=1) at vbo/vbo_exec_array.c:600
#12 0x00007fd87f4a70c7 in KWin::GLVertexBufferPrivate::corePainting (this=0x182a170, region=&lt;optimized out&gt;, primitiveMode=4) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwinglutils.cpp:1188
#13 0x00007fd87f4a71c5 in KWin::GLVertexBuffer::render (this=0x17db1b0, region=&lt;optimized out&gt;, primitiveMode=4) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwinglutils.cpp:1297
#14 0x00007fd88336b4df in renderQuads (normalized=&lt;optimized out&gt;, tex=&lt;optimized out&gt;, quads=&lt;optimized out&gt;, region=..., this=&lt;optimized out&gt;) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl.cpp:788
#15 KWin::SceneOpenGL::Window::renderQuads (this=&lt;optimized out&gt;, region=..., quads=&lt;optimized out&gt;, tex=&lt;optimized out&gt;, normalized=&lt;optimized out&gt;) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl.cpp:768
#16 0x00007fd8833728d2 in KWin::SceneOpenGL::Window::performPaint (this=0x1902d50, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl.cpp:592
#17 0x00007fd88335b059 in KWin::Scene::finalDrawWindow (this=&lt;optimized out&gt;, w=&lt;optimized out&gt;, mask=9, region=&lt;optimized out&gt;, data=&lt;optimized out&gt;) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:438
#18 0x00007fd88337da25 in KWin::EffectsHandlerImpl::drawWindow (this=0x1db3690, w=0x1df02e0, mask=9, region=&lt;optimized out&gt;, data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:286
#19 0x00007fd88113b18b in KWin::Effect::drawWindow (this=&lt;optimized out&gt;, w=0x1df02e0, mask=9, region=&lt;optimized out&gt;, data=&lt;optimized out&gt;) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwineffects.cpp:181
#20 0x00007fd88337d9b9 in KWin::EffectsHandlerImpl::drawWindow (this=0x1db3690, w=0x1df02e0, mask=9, region=&lt;optimized out&gt;, data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:283
#21 0x00007fd88335a5d5 in KWin::Scene::finalPaintWindow (this=&lt;optimized out&gt;, w=0x1df02d0, mask=9, region=&lt;optimized out&gt;, data=&lt;optimized out&gt;) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:429
#22 0x00007fd88337dcb5 in KWin::EffectsHandlerImpl::paintWindow (this=0x1db3690, w=0x1df02e0, mask=9, region=&lt;optimized out&gt;, data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:249
#23 0x00007fd864aa64fb in KWin::TranslucencyEffect::paintWindow (this=&lt;optimized out&gt;, w=0x1df02e0, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects/translucency/translucency.cpp:169
#24 0x00007fd88337dc49 in KWin::EffectsHandlerImpl::paintWindow (this=0x1db3690, w=0x1df02e0, mask=9, region=&lt;optimized out&gt;, data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:246
#25 0x00007fd88335b258 in KWin::Scene::paintWindow (this=&lt;optimized out&gt;, w=0x1902d50, mask=9, region=&lt;optimized out&gt;, quads=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:385
#26 0x00007fd88335bdfd in KWin::Scene::paintSimpleScreen (this=0x1822ba0, orig_mask=8, region=) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:330
#27 0x00007fd88335a504 in KWin::Scene::finalPaintScreen (this=0x1822ba0, mask=8, region=&lt;optimized out&gt;, data=&lt;optimized out&gt;) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:198
#28 0x00007fd88337de87 in KWin::EffectsHandlerImpl::paintScreen (this=0x1db3690, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:222
#29 0x00007fd88113b2f8 in KWin::Effect::paintScreen (this=&lt;optimized out&gt;, mask=8, region=&lt;optimized out&gt;, data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwineffects.cpp:141
#30 0x00007fd88337de2b in KWin::EffectsHandlerImpl::paintScreen (this=0x1db3690, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:219
#31 0x00007fd88335cc05 in KWin::Scene::paintScreen (this=0x1822ba0, mask=0x7fffbc37c4e8, region=0x7fffbc37c5d0) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:156
#32 0x00007fd8833733dd in KWin::SceneOpenGL::paint (this=0x1822ba0, damage=..., toplevels=&lt;optimized out&gt;) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl_glx.cpp:459
#33 0x00007fd883357198 in KWin::Workspace::performCompositing (this=0x16a1d30) at /usr/src/debug/kde-workspace-4.8.5/kwin/composite.cpp:417
#34 0x00007fd87e733969 in QObject::event (this=0x16a1d30, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1156
#35 0x00007fd87d88aec4 in notify_helper (e=0x7fffbc37ccb0, receiver=0x16a1d30, this=0x162a6d0) at kernel/qapplication.cpp:4562
#36 QApplicationPrivate::notify_helper (this=0x162a6d0, receiver=0x16a1d30, e=0x7fffbc37ccb0) at kernel/qapplication.cpp:4534
#37 0x00007fd87d88fc93 in QApplication::notify (this=0x7fffbc37d0d0, receiver=0x16a1d30, e=0x7fffbc37ccb0) at kernel/qapplication.cpp:4423
#38 0x00007fd882a61ac6 in KApplication::notify (this=0x7fffbc37d0d0, receiver=0x16a1d30, event=0x7fffbc37ccb0) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#39 0x00007fd87e71abec in QCoreApplication::notifyInternal (this=0x7fffbc37d0d0, receiver=0x16a1d30, event=0x7fffbc37ccb0) at kernel/qcoreapplication.cpp:946
#40 0x00007fd87e74ba92 in sendEvent (event=0x7fffbc37ccb0, receiver=&lt;optimized out&gt;) at kernel/qcoreapplication.h:231
#41 QTimerInfoList::activateTimers (this=0x162b0c8) at kernel/qeventdispatcher_unix.cpp:622
#42 0x00007fd87e74c494 in QEventDispatcherUNIX::processEvents (this=0x15cbad0, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#43 0x00007fd87d92efa8 in QEventDispatcherX11::processEvents (this=0x15cbad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#44 0x00007fd87e719722 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007fd87e719977 in QEventLoop::exec (this=0x7fffbc37d010, flags=...) at kernel/qeventloop.cpp:204
#46 0x00007fd87e71e725 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#47 0x00007fd88330c8b6 in kdemain (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/kde-workspace-4.8.5/kwin/main.cpp:541
#48 0x00007fd882f4132d in __libc_start_main () from /lib64/libc.so.6
#49 0x0000000000400671 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 321352, bug 320624, bug 319758, bug 319007, bug 317796.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1384047</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2013-07-17 13:41:44 +0000</bug_when>
    <thetext>&quot;kcmshell4 kwincomspositing&quot;, 3rd tab - is  &quot;suspend compositing for fullscreen windows&quot; checked? Can you still reproduce this when unchecking it?
What about entries in /var/log/Xorg.0.log (for the KWin maintainer, the synaptics driver flooded the X11 event queue, leading to a hung GPU)

*** This bug has been marked as a duplicate of bug 299333 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>