<?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>412911</bug_id>
          
          <creation_ts>2019-10-13 15:51:16 +0000</creation_ts>
          <short_desc>KWin crashed after wake up</short_desc>
          <delta_ts>2020-04-11 09:41:17 +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>5.16.5</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>372305</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Tom Kijas">t.kijas</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>ferdinando.santacroce</cc>
          
          <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>1885231</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Kijas">t.kijas</who>
    <bug_when>2019-10-13 15:51:16 +0000</bug_when>
    <thetext>Application: kwin_x11 (5.16.5)

Qt Version: 5.13.1
Frameworks Version: 5.62.0
Operating System: Linux 5.0.0-31-generic x86_64
Distribution: KDE neon User Edition 5.16

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

KWin crashed after wake up, but it seemed it relaunched immediately.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f67e13dcd00 (LWP 1573))]

Thread 5 (Thread 0x7f67a9790700 (LWP 1821)):
#0  0x00007f67d9c879f3 in futex_wait_cancelable (private=&lt;optimized out&gt;, expected=0, futex_word=0x7f67dd23ffb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f67dd23ff68, cond=0x7f67dd23ff90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f67dd23ff90, mutex=0x7f67dd23ff68) at pthread_cond_wait.c:655
#3  0x00007f67dcf4a874 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f67dcf4a8b9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f67d9c816db in start_thread (arg=0x7f67a9790700) at pthread_create.c:463
#6  0x00007f67e0d3788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f67bedee700 (LWP 1740)):
#0  0x00007f67e0d2acf6 in __GI_ppoll (fds=fds@entry=0x7f67ac000d28, nfds=nfds@entry=1, timeout=&lt;optimized out&gt;, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f67de2726e1 in ppoll (__ss=&lt;optimized out&gt;, __timeout=&lt;optimized out&gt;, __nfds=&lt;optimized out&gt;, __fds=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f67ac000d28) at kernel/qcore_unix.cpp:132
#3  qt_safe_poll (fds=0x7f67ac000d28, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#4  0x00007f67de273e78 in QEventDispatcherUNIX::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f67de216eaa in QEventLoop::exec (this=this@entry=0x7f67bededd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f67de0323ca in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:531
#7  0x00007f67d868ccb5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f67de033b72 in QThreadPrivate::start (arg=0x55b0987177f0) at thread/qthread_unix.cpp:360
#9  0x00007f67d9c816db in start_thread (arg=0x7f67bedee700) at pthread_create.c:463
#10 0x00007f67e0d3788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f67c5b8c700 (LWP 1677)):
#0  0x00007f67e0d2acf6 in __GI_ppoll (fds=fds@entry=0x7f67b800f578, nfds=nfds@entry=1, timeout=&lt;optimized out&gt;, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f67de2726e1 in ppoll (__ss=&lt;optimized out&gt;, __timeout=&lt;optimized out&gt;, __nfds=&lt;optimized out&gt;, __fds=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f67b800f578) at kernel/qcore_unix.cpp:132
#3  qt_safe_poll (fds=0x7f67b800f578, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#4  0x00007f67de273e78 in QEventDispatcherUNIX::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f67de216eaa in QEventLoop::exec (this=this@entry=0x7f67c5b8bcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f67de0323ca in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:531
#7  0x00007f67d74ff0e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f67de033b72 in QThreadPrivate::start (arg=0x7f67d7776d80) at thread/qthread_unix.cpp:360
#9  0x00007f67d9c816db in start_thread (arg=0x7f67c5b8c700) at pthread_create.c:463
#10 0x00007f67e0d3788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f67c8062700 (LWP 1599)):
#0  0x00007f67e0d2abf9 in __GI___poll (fds=0x7f67c8061c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f67ddd6c747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f67ddd6e36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f67c939bf00 in QXcbEventQueue::run (this=0x55b09858de50) at qxcbeventqueue.cpp:228
#4  0x00007f67de033b72 in QThreadPrivate::start (arg=0x55b09858de50) at thread/qthread_unix.cpp:360
#5  0x00007f67d9c816db in start_thread (arg=0x7f67c8062700) at pthread_create.c:463
#6  0x00007f67e0d3788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f67e13dcd00 (LWP 1573)):
[KCrash Handler]
#6  KWin::ContrastEffect::uploadRegion (this=this@entry=0x55b09898c2e0, map=@0x7ffe13e8aca8: 0x7f67aa2a4130, region=...) at ./effects/backgroundcontrast/contrast.cpp:325
#7  0x00007f67dd556314 in KWin::ContrastEffect::uploadGeometry (this=this@entry=0x55b09898c2e0, vbo=vbo@entry=0x55b0988bbe40, region=...) at ./effects/backgroundcontrast/contrast.cpp:343
#8  0x00007f67dd5580cd in KWin::ContrastEffect::doContrast (this=this@entry=0x55b09898c2e0, w=w@entry=0x55b098ac7770, shape=..., screen=..., opacity=0, screenProjection=...) at ./effects/backgroundcontrast/contrast.cpp:487
#9  0x00007f67dd558acb in KWin::ContrastEffect::drawWindow (this=this@entry=0x55b09898c2e0, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects/backgroundcontrast/contrast.cpp:463
#10 0x00007f67e087fa2e in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55b0988f6800, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:473
#11 0x00007f67dd4c2b95 in KWin::BlurEffect::drawWindow (this=this@entry=0x55b09867a0f0, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects/blur/blur.cpp:617
#12 0x00007f67e087fa2e in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55b0988f6800, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:473
#13 0x00007f67dd7b6410 in KWin::Effect::drawWindow (this=this@entry=0x55b098a47280, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./libkwineffects/kwineffects.cpp:629
#14 0x00007f67e087fa2e in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55b0988f6800, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:473
#15 0x00007f67e086df20 in KWin::Scene::finalPaintWindow (this=this@entry=0x55b098650d60, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./scene.cpp:608
#16 0x00007f67e087f8bd in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55b0988f6800, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:439
#17 0x00007f67dd54a39a in KWin::KscreenEffect::paintWindow (this=this@entry=0x55b0988d27e0, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects/kscreen/kscreen.cpp:127
#18 0x00007f67e087f85e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55b0988f6800, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:436
#19 0x00007f67dd7b62a0 in KWin::Effect::paintWindow (this=this@entry=0x55b09898c2e0, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#20 0x00007f67e087f85e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55b0988f6800, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:436
#21 0x00007f67dd7b62a0 in KWin::Effect::paintWindow (this=this@entry=0x55b09867a0f0, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#22 0x00007f67e087f85e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55b0988f6800, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:436
#23 0x00007f67dd7bf627 in KWin::AnimationEffect::paintWindow (this=this@entry=0x55b098a47280, w=w@entry=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./libkwineffects/kwinanimationeffect.cpp:731
#24 0x00007f67e087f85e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55b0988f6800, w=0x55b098ac7770, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:436
#25 0x00007f67e08743b5 in KWin::Scene::paintWindow (this=this@entry=0x55b098650d60, w=0x7f67c000ca30, mask=2, region=..., quads=...) at ./scene.cpp:480
#26 0x00007f67e087053e in KWin::Scene::paintSimpleScreen (this=this@entry=0x55b098650d60, orig_mask=orig_mask@entry=0, region=...) at ./scene.cpp:374
#27 0x00007f67bd9961d2 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x55b098650d60, mask=mask@entry=0, region=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1009
#28 0x00007f67e0873897 in KWin::Scene::finalPaintScreen (this=this@entry=0x55b098650d60, mask=mask@entry=0, region=..., data=...) at ./scene.cpp:199
#29 0x00007f67e087f615 in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55b0988f6800, mask=mask@entry=0, region=..., data=...) at ./effects.cpp:396
#30 0x00007f67dd7b61f1 in KWin::Effect::paintScreen (this=this@entry=0x55b0988d27e0, mask=mask@entry=0, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#31 0x00007f67e087f5bd in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55b0988f6800, mask=mask@entry=0, region=..., data=...) at ./effects.cpp:393
#32 0x00007f67dd7b61f1 in KWin::Effect::paintScreen (this=this@entry=0x55b09898c2e0, mask=mask@entry=0, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#33 0x00007f67e087f5bd in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55b0988f6800, mask=mask@entry=0, region=..., data=...) at ./effects.cpp:393
#34 0x00007f67dd7b61f1 in KWin::Effect::paintScreen (this=this@entry=0x55b09867a0f0, mask=mask@entry=0, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#35 0x00007f67e087f5bd in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55b0988f6800, mask=mask@entry=0, region=..., data=...) at ./effects.cpp:393
#36 0x00007f67dd7b61f1 in KWin::Effect::paintScreen (this=this@entry=0x55b098a47280, mask=mask@entry=0, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#37 0x00007f67e087f5bd in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55b0988f6800, mask=0, region=..., data=...) at ./effects.cpp:393
#38 0x00007f67e087358e in KWin::Scene::paintScreen (this=this@entry=0x55b098650d60, mask=mask@entry=0x7ffe13e8bd10, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffe13e8bcf8, validRegion=validRegion@entry=0x7ffe13e8bd00, projection=..., outputGeometry=...) at ./scene.cpp:149
#39 0x00007f67bd99cd11 in KWin::SceneOpenGL::paint (this=this@entry=0x55b098650d60, damage=..., toplevels=...) at ./plugins/scenes/opengl/scene_opengl.cpp:707
#40 0x00007f67e0865bd2 in KWin::Compositor::performCompositing (this=0x55b09864c230) at ./composite.cpp:746
#41 0x00007f67de24a22b in QObject::event (this=0x55b09864c230, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1282
#42 0x00007f67df01deac in QApplicationPrivate::notify_helper (this=this@entry=0x55b09858b5b0, receiver=receiver@entry=0x55b09864c230, e=e@entry=0x7ffe13e8c1c0) at kernel/qapplication.cpp:3703
#43 0x00007f67df0254b0 in QApplication::notify (this=0x7ffe13e8c470, receiver=0x55b09864c230, e=0x7ffe13e8c1c0) at kernel/qapplication.cpp:3449
#44 0x00007f67de218d48 in QCoreApplication::notifyInternal2 (receiver=0x55b09864c230, event=0x7ffe13e8c1c0) at kernel/qcoreapplication.cpp:1095
#45 0x00007f67de275e49 in QTimerInfoList::activateTimers (this=this@entry=0x55b0985d4dc0) at kernel/qtimerinfo_unix.cpp:643
#46 0x00007f67de27327c in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x55b0985d4d20) at kernel/qeventdispatcher_unix.cpp:249
#47 0x00007f67de27417a in QEventDispatcherUNIX::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#48 0x00007f67c939d24e in QXcbUnixEventDispatcher::processEvents (this=0x55b0985dc1d0, flags=...) at qxcbeventdispatcher.cpp:60
#49 0x00007f67de216eaa in QEventLoop::exec (this=this@entry=0x7ffe13e8c380, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#50 0x00007f67de220220 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1403
#51 0x00007f67e100ff88 in kdemain (argc=&lt;optimized out&gt;, argv=0x7ffe13e8c618) at ./main_x11.cpp:476
#52 0x00007f67e0c37b97 in __libc_start_main (main=0x55b097964720 &lt;main&gt;, argc=1, argv=0x7ffe13e8c618, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffe13e8c608) at ../csu/libc-start.c:310
#53 0x000055b09796475a in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 372305.

Possible duplicates by query: bug 411409, bug 409900, bug 409733, bug 403863, bug 402976.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1885340</commentid>
    <comment_count>1</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2019-10-14 08:43:21 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>