https://bugs.kde.org/show_bug.cgi?id=409900

            Bug ID: 409900
           Summary: KWin crashed after suspend
           Product: kwin
           Version: 5.15.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: platform-x11-standalone
          Assignee: kwin-bugs-n...@kde.org
          Reporter: elxr...@gmail.com
  Target Milestone: ---

STEPS TO REPRODUCE
1. Suspend the computer
2. Resume

OBSERVED RESULT
Crash

EXPECTED RESULT
No crashes

SOFTWARE/OS VERSIONS
Windows: None
macOS: None
Linux/KDE Plasma: Fedora F30 KDE spin
(available in About System)
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION
I'm using nvidia drivers (xorg-x11-drv-nvidia) from rpmfusion

## CRASH START

Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa6567d2640 (LWP 1341))]

Thread 8 (Thread 0x7fa641203700 (LWP 5275)):
#0  0x00007fa65b69d4d5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fa65c15d283 in QWaitConditionPrivate::wait (deadline=...,
this=0x7fa644019680) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5638766f2810,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007fa65c15d311 in QWaitCondition::wait (this=0x5638766f2818,
mutex=0x5638766f2810, time=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007fa65b1b9f59 in ?? () from /lib64/libQt5Quick.so.5
#5  0x00007fa65b1ba1fd in ?? () from /lib64/libQt5Quick.so.5
#6  0x00007fa65c157786 in QThreadPrivate::start (arg=0x5638766f2790) at
thread/qthread_unix.cpp:361
#7  0x00007fa65b6975a2 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fa65d7e3303 in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fa642dea700 (LWP 5274)):
#0  0x00007ffdc38a861e in ?? ()
#1  0x00007fa65d7f12c3 in clock_gettime () from /lib64/libc.so.6
#2  0x00007fa65c3533e5 in qt_clock_gettime (ts=0x7fa642de9ac0, clock=1) at
kernel/qelapsedtimer_unix.cpp:175
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007fa65c351f1d in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7fa63800c830) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007fa65c352329 in QTimerInfoList::timerWait
(this=this@entry=0x7fa63800c830, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007fa65c35135c in QEventDispatcherUNIX::processEvents
(this=0x7fa638006510, flags=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007fa65c2fd9eb in QEventLoop::exec (this=this@entry=0x7fa642de9c40,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007fa65c156635 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007fa65ae11a69 in ?? () from /lib64/libQt5Qml.so.5
#11 0x00007fa65c157786 in QThreadPrivate::start (arg=0x56387644c320) at
thread/qthread_unix.cpp:361
#12 0x00007fa65b6975a2 in start_thread () from /lib64/libpthread.so.0
#13 0x00007fa65d7e3303 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fa62ddf3700 (LWP 2479)):
#0  0x00007fa65b69d4d5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fa65c15d283 in QWaitConditionPrivate::wait (deadline=...,
this=0x5638761d9800) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x56387634c2b0,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007fa65c15d311 in QWaitCondition::wait (this=0x56387634c2b8,
mutex=0x56387634c2b0, time=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007fa65b1b9f59 in ?? () from /lib64/libQt5Quick.so.5
#5  0x00007fa65b1ba1fd in ?? () from /lib64/libQt5Quick.so.5
#6  0x00007fa65c157786 in QThreadPrivate::start (arg=0x56387634c230) at
thread/qthread_unix.cpp:361
#7  0x00007fa65b6975a2 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fa65d7e3303 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fa62d5ea700 (LWP 1500)):
#0  0x00007fa65b69d4d5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fa65bbd36ea in ?? () from /lib64/libQt5Script.so.5
#2  0x00007fa65bbd370f in ?? () from /lib64/libQt5Script.so.5
#3  0x00007fa65b6975a2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa65d7e3303 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fa642470700 (LWP 1481)):
#0  0x00007ffdc38a861e in ?? ()
#1  0x00007fa65d7f12c3 in clock_gettime () from /lib64/libc.so.6
#2  0x00007fa65c3533e5 in qt_clock_gettime (ts=0x7fa64246fac0, clock=1) at
kernel/qelapsedtimer_unix.cpp:175
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007fa65c351f1d in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7fa630000be0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007fa65c352329 in QTimerInfoList::timerWait
(this=this@entry=0x7fa630000be0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007fa65c35135c in QEventDispatcherUNIX::processEvents
(this=0x7fa630000b20, flags=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007fa65c2fd9eb in QEventLoop::exec (this=this@entry=0x7fa64246fc40,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007fa65c156635 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007fa65ae11a69 in ?? () from /lib64/libQt5Qml.so.5
#11 0x00007fa65c157786 in QThreadPrivate::start (arg=0x563875df7e50) at
thread/qthread_unix.cpp:361
#12 0x00007fa65b6975a2 in start_thread () from /lib64/libpthread.so.0
#13 0x00007fa65d7e3303 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa648896700 (LWP 1451)):
#0  0x00007ffdc38a861e in ?? ()
#1  0x00007fa65d7f12c3 in clock_gettime () from /lib64/libc.so.6
#2  0x00007fa65c3533e5 in qt_clock_gettime (ts=0x7fa648895ab0, clock=1) at
kernel/qelapsedtimer_unix.cpp:175
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007fa65c351f1d in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7fa63c000be0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007fa65c352329 in QTimerInfoList::timerWait
(this=this@entry=0x7fa63c000be0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007fa65c35135c in QEventDispatcherUNIX::processEvents
(this=0x7fa63c000b20, flags=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007fa65c2fd9eb in QEventLoop::exec (this=this@entry=0x7fa648895c30,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007fa65c156635 in QThread::exec (this=this@entry=0x7fa65a8a9060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007fa65a825f4a in QDBusConnectionManager::run (this=0x7fa65a8a9060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#11 0x00007fa65c157786 in QThreadPrivate::start (arg=0x7fa65a8a9060 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:361
#12 0x00007fa65b6975a2 in start_thread () from /lib64/libpthread.so.0
#13 0x00007fa65d7e3303 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa6495a5700 (LWP 1436)):
#0  0x00007fa65d7d85c7 in poll () from /lib64/libc.so.6
#1  0x00007fa65c07c38a in ?? () from /lib64/libxcb.so.1
#2  0x00007fa65c07dffa in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007fa6496eeb98 in QXcbEventQueue::run (this=0x563875c16740) at
qxcbeventqueue.cpp:228
#4  0x00007fa65c157786 in QThreadPrivate::start (arg=0x563875c16740) at
thread/qthread_unix.cpp:361
#5  0x00007fa65b6975a2 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa65d7e3303 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa6567d2640 (LWP 1341)):
[KCrash Handler]
#6  0x00007fa65bdf4da9 in KWin::ContrastEffect::uploadRegion
(this=this@entry=0x56387603c170, map=@0x7ffdc3828088: 0x7fa62dfd2250,
region=...) at /usr/include/qt5/QtCore/qrect.h:269
#7  0x00007fa65bdf4e69 in KWin::ContrastEffect::uploadGeometry
(this=this@entry=0x56387603c170, vbo=vbo@entry=0x563875fa46d0, region=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects/backgroundcontrast/contrast.cpp:299
#8  0x00007fa65bdf640a in KWin::ContrastEffect::doContrast
(this=this@entry=0x56387603c170, w=w@entry=0x5638760f8ee0, shape=...,
screen=..., opacity=0, screenProjection=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects/backgroundcontrast/contrast.cpp:442
#9  0x00007fa65bdf6ded in KWin::ContrastEffect::drawWindow
(this=this@entry=0x56387603c170, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects/backgroundcontrast/contrast.cpp:419
#10 0x00007fa65d568707 in KWin::EffectsHandlerImpl::drawWindow
(this=this@entry=0x563875fe3040, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:473
#11 0x00007fa65bd64f20 in KWin::BlurEffect::drawWindow
(this=this@entry=0x5638760260b0, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects/blur/blur.cpp:567
#12 0x00007fa65d568707 in KWin::EffectsHandlerImpl::drawWindow
(this=this@entry=0x563875fe3040, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:473
#13 0x00007fa65be5971f in KWin::Effect::drawWindow
(this=this@entry=0x563875d3c280, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/libkwineffects/kwineffects.cpp:629
#14 0x00007fa65d568707 in KWin::EffectsHandlerImpl::drawWindow
(this=this@entry=0x563875fe3040, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:473
#15 0x00007fa65d554baf in KWin::Scene::finalPaintWindow
(this=this@entry=0x563875d71280, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at /usr/src/debug/kwin-5.15.5-2.fc30.x86_64/scene.cpp:609
#16 0x00007fa65d5685a0 in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x563875fe3040, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:439
#17 0x00007fa65bde8d0c in KWin::KscreenEffect::paintWindow
(this=this@entry=0x563875d84f70, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects/kscreen/kscreen.cpp:127
#18 0x00007fa65d568547 in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x563875fe3040, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:436
#19 0x00007fa65be5959f in KWin::Effect::paintWindow
(this=this@entry=0x56387603c170, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/libkwineffects/kwineffects.cpp:599
#20 0x00007fa65d568547 in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x563875fe3040, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:436
#21 0x00007fa65be5959f in KWin::Effect::paintWindow
(this=this@entry=0x5638760260b0, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/libkwineffects/kwineffects.cpp:599
#22 0x00007fa65d568547 in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x563875fe3040, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:436
#23 0x00007fa65be61f6a in KWin::AnimationEffect::paintWindow
(this=this@entry=0x563875d3c280, w=w@entry=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/libkwineffects/kwinanimationeffect.cpp:731
#24 0x00007fa65d568547 in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x563875fe3040, w=0x5638760f8ee0, mask=mask@entry=10,
region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:436
#25 0x00007fa65d55b3f6 in KWin::Scene::paintWindow
(this=this@entry=0x563875d71280, w=0x5638760de8c0, mask=10, region=...,
quads=...) at /usr/src/debug/kwin-5.15.5-2.fc30.x86_64/scene.cpp:481
#26 0x00007fa65d557e75 in KWin::Scene::paintSimpleScreen
(this=this@entry=0x563875d71280, orig_mask=orig_mask@entry=8, region=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/libkwineffects/kwineffects.h:2461
#27 0x00007fa6412167a7 in KWin::SceneOpenGL2::paintSimpleScreen
(this=this@entry=0x563875d71280, mask=mask@entry=8, region=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/plugins/scenes/opengl/scene_opengl.cpp:1004
#28 0x00007fa65d55a9c0 in KWin::Scene::finalPaintScreen
(this=this@entry=0x563875d71280, mask=mask@entry=8, region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/scene.cpp:199
#29 0x00007fa65d5682f2 in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x563875fe3040, mask=mask@entry=8, region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:396
#30 0x00007fa65be594d3 in KWin::Effect::paintScreen
(this=this@entry=0x563875d84f70, mask=mask@entry=8, region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/libkwineffects/kwineffects.cpp:584
#31 0x00007fa65d5682a1 in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x563875fe3040, mask=mask@entry=8, region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:393
#32 0x00007fa65be594d3 in KWin::Effect::paintScreen
(this=this@entry=0x56387603c170, mask=mask@entry=8, region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/libkwineffects/kwineffects.cpp:584
#33 0x00007fa65d5682a1 in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x563875fe3040, mask=mask@entry=8, region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:393
#34 0x00007fa65be594d3 in KWin::Effect::paintScreen
(this=this@entry=0x5638760260b0, mask=mask@entry=8, region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/libkwineffects/kwineffects.cpp:584
#35 0x00007fa65d5682a1 in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x563875fe3040, mask=mask@entry=8, region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:393
#36 0x00007fa65be594d3 in KWin::Effect::paintScreen
(this=this@entry=0x563875d3c280, mask=mask@entry=8, region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/libkwineffects/kwineffects.cpp:584
#37 0x00007fa65d5682a1 in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x563875fe3040, mask=8, region=..., data=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/effects.cpp:393
#38 0x00007fa65d55a673 in KWin::Scene::paintScreen
(this=this@entry=0x563875d71280, mask=mask@entry=0x7ffdc38290b8, damage=...,
repaint=..., updateRegion=updateRegion@entry=0x7ffdc38290a0,
validRegion=validRegion@entry=0x7ffdc38290a8, projection=...,
outputGeometry=...) at /usr/src/debug/kwin-5.15.5-2.fc30.x86_64/scene.cpp:149
#39 0x00007fa64121f0be in KWin::SceneOpenGL::paint
(this=this@entry=0x563875d71280, damage=..., toplevels=...) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/plugins/scenes/opengl/scene_opengl.h:122
#40 0x00007fa65d54bf57 in KWin::Compositor::performCompositing
(this=0x563875d3cc00) at
/usr/src/debug/kwin-5.15.5-2.fc30.x86_64/composite.cpp:758
#41 0x00007fa65c329b95 in QObject::event (this=0x563875d3cc00, e=<optimized
out>) at kernel/qobject.cpp:1282
#42 0x00007fa65cc63af6 in QApplicationPrivate::notify_helper
(this=this@entry=0x563875bfa4c0, receiver=receiver@entry=0x563875d3cc00,
e=e@entry=0x7ffdc3829520) at kernel/qapplication.cpp:3737
#43 0x00007fa65cc6ce80 in QApplication::notify (this=0x7ffdc38297a0,
receiver=0x563875d3cc00, e=0x7ffdc3829520) at kernel/qapplication.cpp:3483
#44 0x00007fa65c2feae8 in QCoreApplication::notifyInternal2
(receiver=0x563875d3cc00, event=0x7ffdc3829520) at
kernel/qcoreapplication.cpp:1084
#45 0x00007fa65c352e93 in QTimerInfoList::activateTimers
(this=this@entry=0x563875cbb3d0) at kernel/qtimerinfo_unix.cpp:643
#46 0x00007fa65c350550 in QEventDispatcherUNIXPrivate::activateTimers
(this=this@entry=0x563875cbb330) at kernel/qeventdispatcher_unix.cpp:249
#47 0x00007fa65c3512bf in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#48 0x00007fa6496eff52 in QXcbUnixEventDispatcher::processEvents
(this=0x563875caf110, flags=...) at qxcbeventdispatcher.cpp:60
#49 0x00007fa65c2fd9eb in QEventLoop::exec (this=this@entry=0x7ffdc38296b0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#50 0x00007fa65c305726 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#51 0x00007fa65d8b89e9 in kdemain (argc=<optimized out>, argv=0x7ffdc3829948)
at /usr/src/debug/kwin-5.15.5-2.fc30.x86_64/main_x11.cpp:470
#52 0x00007fa65d70bf33 in __libc_start_main () from /lib64/libc.so.6
#53 0x0000563874fd30ae in _start ()
[Inferior 1 (process 1341) detached]

## CRASH END

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to