Bug 412911

Summary: KWin crashed after wake up
Product: [Plasma] kwin Reporter: Tom Kijas <t.kijas>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ferdinando.santacroce
Priority: NOR Keywords: drkonqi
Version: 5.16.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tom Kijas 2019-10-13 15:51:16 UTC
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 "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f67e13dcd00 (LWP 1573))]

Thread 5 (Thread 0x7f67a9790700 (LWP 1821)):
#0  0x00007f67d9c879f3 in futex_wait_cancelable (private=<optimized out>, 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=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f67de2726e1 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) 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=<optimized out>, 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=<optimized out>) 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=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f67de2726e1 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) 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=<optimized out>, 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=<optimized out>) 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=<optimized out>) 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=<optimized out>, 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=<optimized out>, argv=0x7ffe13e8c618) at ./main_x11.cpp:476
#52 0x00007f67e0c37b97 in __libc_start_main (main=0x55b097964720 <main>, argc=1, argv=0x7ffe13e8c618, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 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
Comment 1 Vlad Zahorodnii 2019-10-14 08:43:21 UTC

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