Bug 412773

Summary: kwin crash after sleep
Product: [Plasma] kwin Reporter: Maxim <DarkCacok1>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR Keywords: drkonqi
Version: 5.16.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maxim 2019-10-09 16:15:11 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:
1. Sleep mode
2. Awakening
3. Kwin crash

Operating System: KDE neon 5.16
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.1
Kernel Version: 5.0.0-31-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Video card: nvidia 960m
Memory: 11,4 GiB of RAM

-- 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 0x7f788e5edd00 (LWP 2096))]

Thread 6 (Thread 0x7f786cd2a700 (LWP 6262)):
#0  0x00007f7886eb09f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5644c561a324) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f7886eb09f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5644c561a2d0, cond=0x5644c561a2f8) at pthread_cond_wait.c:502
#2  0x00007f7886eb09f3 in __pthread_cond_wait (cond=0x5644c561a2f8, mutex=0x5644c561a2d0) at pthread_cond_wait.c:655
#3  0x00007f788b263b0b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x5644c561a2d0) at thread/qwaitcondition_unix.cpp:146
#4  0x00007f788b263b0b in QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x5644c5646b40, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f788b263e19 in QWaitCondition::wait(QMutex*, unsigned long) (this=0x5644c5646b48, mutex=0x5644c5646b40, time=<optimized out>) at thread/qwaitcondition_unix.cpp:208
#6  0x00007f788603aec8 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f788603b2fa in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f788b25cb72 in QThreadPrivate::start(void*) (arg=0x5644c5646ac0) at thread/qthread_unix.cpp:360
#9  0x00007f7886eaa6db in start_thread (arg=0x7f786cd2a700) at pthread_create.c:463
#10 0x00007f788df6088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f785b07e700 (LWP 2341)):
#0  0x00007f7886eb09f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f788a468fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f7886eb09f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f788a468f68, cond=0x7f788a468f90) at pthread_cond_wait.c:502
#2  0x00007f7886eb09f3 in __pthread_cond_wait (cond=0x7f788a468f90, mutex=0x7f788a468f68) at pthread_cond_wait.c:655
#3  0x00007f788a173874 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f788a1738b9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f7886eaa6db in start_thread (arg=0x7f785b07e700) at pthread_create.c:463
#6  0x00007f788df6088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f7867fff700 (LWP 2192)):
#0  0x00007f788b471e98 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x7f785c000b20, signalOffset=3, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3667
#1  0x00007f788b472dd7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x7f785c000b20, m=m@entry=0x7f788b8f7300 <QAbstractEventDispatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3660
#2  0x00007f788b43dc23 in QAbstractEventDispatcher::awake() (this=this@entry=0x7f785c000b20) at .moc/moc_qabstracteventdispatcher.cpp:149
#3  0x00007f788b49cc87 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f785c000b20, flags=...) at kernel/qeventdispatcher_unix.cpp:465
#4  0x00007f788b43feaa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f7867ffed00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f788b25b3ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f78858b5cb5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f788b25cb72 in QThreadPrivate::start(void*) (arg=0x5644c5183890) at thread/qthread_unix.cpp:360
#8  0x00007f7886eaa6db in start_thread (arg=0x7f7867fff700) at pthread_create.c:463
#9  0x00007f788df6088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f786ebd1700 (LWP 2117)):
#0  0x00007f788df53cf6 in __GI_ppoll (fds=fds@entry=0x7f786800bc28, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f788b49b6e1 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  0x00007f788b49b6e1 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f786800bc28) at kernel/qcore_unix.cpp:132
#3  0x00007f788b49b6e1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f786800bc28, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#4  0x00007f788b49ce78 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f788b43feaa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f786ebd0cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f788b25b3ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007f78847280e5 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f788b25cb72 in QThreadPrivate::start(void*) (arg=0x7f788499fd80) at thread/qthread_unix.cpp:360
#9  0x00007f7886eaa6db in start_thread (arg=0x7f786ebd1700) at pthread_create.c:463
#10 0x00007f788df6088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f787528b700 (LWP 2097)):
#0  0x00007f788df53bf9 in __GI___poll (fds=0x7f787528ac28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f788af95747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f788af9736a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f78765c4f00 in QXcbEventQueue::run() (this=0x5644c4fb7fa0) at qxcbeventqueue.cpp:228
#4  0x00007f788b25cb72 in QThreadPrivate::start(void*) (arg=0x5644c4fb7fa0) at thread/qthread_unix.cpp:360
#5  0x00007f7886eaa6db in start_thread (arg=0x7f787528b700) at pthread_create.c:463
#6  0x00007f788df6088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f788e5edd00 (LWP 2096)):
[KCrash Handler]
#6  0x00007f788a77f23e in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#7  0x00007f788a77f314 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#8  0x00007f788a7810cd in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#9  0x00007f788a781acb in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#10 0x00007f788daa8a2e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007f788a6ebb95 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#12 0x00007f788daa8a2e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f788a9df410 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#14 0x00007f788daa8a2e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f788da96f20 in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007f788daa88bd in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f788a77339a in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#18 0x00007f788daa885e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007f788a9df2a0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#20 0x00007f788daa885e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f788a9df2a0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#22 0x00007f788daa885e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007f788a9e8627 in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#24 0x00007f788daa885e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007f788da9d3b5 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#26 0x00007f788da9953e in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007f7866da71d2 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#28 0x00007f788da9c897 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#29 0x00007f788daa8615 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#30 0x00007f788a9df1f1 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#31 0x00007f788daa85bd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#32 0x00007f788a9df1f1 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#33 0x00007f788daa85bd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#34 0x00007f788a9df1f1 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#35 0x00007f788daa85bd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#36 0x00007f788a9df1f1 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#37 0x00007f788daa85bd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#38 0x00007f788da9c58e in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#39 0x00007f7866dadd11 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#40 0x00007f788da8ebd2 in KWin::Compositor::performCompositing() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#41 0x00007f788b47322b in QObject::event(QEvent*) (this=0x5644c501f660, e=<optimized out>) at kernel/qobject.cpp:1282
#42 0x00007f788c246eac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5644c4fb4620, receiver=receiver@entry=0x5644c501f660, e=e@entry=0x7ffed11a4d40) at kernel/qapplication.cpp:3703
#43 0x00007f788c24e4b0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffed11a4ff0, receiver=0x5644c501f660, e=0x7ffed11a4d40) at kernel/qapplication.cpp:3449
#44 0x00007f788b441d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5644c501f660, event=0x7ffed11a4d40) at kernel/qcoreapplication.cpp:1095
#45 0x00007f788b49ee49 in QTimerInfoList::activateTimers() (this=this@entry=0x5644c500f110) at kernel/qtimerinfo_unix.cpp:643
#46 0x00007f788b49c27c in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x5644c500f070) at kernel/qeventdispatcher_unix.cpp:249
#47 0x00007f788b49d17a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#48 0x00007f78765c624e in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5644c5003a20, flags=...) at qxcbeventdispatcher.cpp:60
#49 0x00007f788b43feaa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffed11a4f00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#50 0x00007f788b449220 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1403
#51 0x00007f788e238f88 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#52 0x00007f788de60b97 in __libc_start_main (main=0x5644c3a77720, argc=3, argv=0x7ffed11a5198, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffed11a5188) at ../csu/libc-start.c:310
#53 0x00005644c3a7775a in _start ()

Reported using DrKonqi
Comment 1 David Edmundson 2019-10-12 13:59:19 UTC

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