Bug 416203

Summary: KWin crashed after google chrome user was switched
Product: [Plasma] kwin Reporter: Alexandr Myshanskiy <myshanskii.aleks>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.17.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexandr Myshanskiy 2020-01-13 13:15:46 UTC
Application: kwin_x11 (5.17.4)

Qt Version: 5.13.2
Frameworks Version: 5.64.0
Operating System: Linux 5.4.8-200.fc31.x86_64 x86_64
Distribution: Fedora 31 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:
I opened Google Chrome and switched active users. After that, the interface was hung and did not respond to mouse and keyboard clicks.
I switched to tty2 and killed plasma-desktop processes restarted the desktop interface.

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

Thread 7 (Thread 0x7f77a1a03700 (LWP 2970)):
#0  0x00007f7852530e33 in __libc_enable_asynccancel () from /lib64/libc.so.6
#1  0x00007f78525a0b44 in ppoll () from /lib64/libc.so.6
#2  0x00007f78510e6d29 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt5Core.so.5
#3  0x00007f78510e7f71 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f785109424b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f7850ee4c75 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f7850ee5dc6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f785044e4e2 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f78525ab693 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f78375ef700 (LWP 1988)):
#0  0x00007ffd709f6933 in clock_gettime ()
#1  0x00007f78525726ab in clock_gettime@GLIBC_2.2.5 () from /lib64/libc.so.6
#2  0x00007f78510ea0a5 in qt_gettime() () from /lib64/libQt5Core.so.5
#3  0x00007f78510e8bed in QTimerInfoList::updateCurrentTime() () from /lib64/libQt5Core.so.5
#4  0x00007f78510e8ff9 in QTimerInfoList::timerWait(timespec&) () from /lib64/libQt5Core.so.5
#5  0x00007f78510e8164 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f785109424b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f7850ee4c75 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f784fb7f399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#9  0x00007f7850ee5dc6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f785044e4e2 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f78525ab693 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f7835dad700 (LWP 1592)):
#0  0x00007f7850454d45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f78509d374a in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQt5Script.so.5
#2  0x00007f78509d376f in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQt5Script.so.5
#3  0x00007f785044e4e2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f78525ab693 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f7836dee700 (LWP 1586)):
#0  0x00007f78525a0b66 in ppoll () from /lib64/libc.so.6
#1  0x00007f78510e6d29 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007f78510e7f71 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#3  0x00007f785109424b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f7850ee4c75 in QThread::exec() () from /lib64/libQt5Core.so.5
#5  0x00007f784fb7f399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#6  0x00007f7850ee5dc6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f785044e4e2 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f78525ab693 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f783d585700 (LWP 1558)):
#0  0x00007ffd709f6933 in clock_gettime ()
#1  0x00007f78525726ab in clock_gettime@GLIBC_2.2.5 () from /lib64/libc.so.6
#2  0x00007f78510ea0a5 in qt_gettime() () from /lib64/libQt5Core.so.5
#3  0x00007f78510e8bed in QTimerInfoList::updateCurrentTime() () from /lib64/libQt5Core.so.5
#4  0x00007f78510e8ff9 in QTimerInfoList::timerWait(timespec&) () from /lib64/libQt5Core.so.5
#5  0x00007f78510e8164 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f785109424b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f7850ee4c75 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f784f4d7f6a in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#9  0x00007f7850ee5dc6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f785044e4e2 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f78525ab693 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f783e2d5700 (LWP 1553)):
#0  0x00007f78525a0a6f in poll () from /lib64/libc.so.6
#1  0x00007f7850e0738a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f7850e08fea in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f783e41cd48 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f7850ee5dc6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f785044e4e2 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f78525ab693 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f784b539940 (LWP 1474)):
[KCrash Handler]
#6  0x00007f78502569b2 in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () from /lib64/libkwineffects.so.12
#7  0x00007f783c06c2ec in KWin::SceneOpenGL2Window::performPaint(int, QRegion, KWin::WindowPaintData) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007f783c074539 in KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007f783c07466b in KWin::SceneOpenGL2::finalDrawWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#10 0x00007f785229cd87 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#11 0x00007f7850bb58e3 in KWin::ContrastEffect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin4_effect_builtins.so.1
#12 0x00007f785229cd27 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#13 0x00007f7850b1a80c in KWin::BlurEffect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin4_effect_builtins.so.1
#14 0x00007f785229cd27 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#15 0x00007f785233574f in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#16 0x00007f785229cbc0 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#17 0x00007f78502557cf in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwineffects.so.12
#18 0x00007f785229cb67 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#19 0x00007f78502557cf in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwineffects.so.12
#20 0x00007f785229cb67 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#21 0x00007f785233bf16 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () from /lib64/libkwin.so.5
#22 0x00007f78523388d5 in KWin::Scene::paintSimpleScreen(int, QRegion) () from /lib64/libkwin.so.5
#23 0x00007f783c0674e7 in KWin::SceneOpenGL2::paintSimpleScreen(int, QRegion) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#24 0x00007f785233b4f0 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwin.so.5
#25 0x00007f785229c912 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwin.so.5
#26 0x00007f7850255703 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwineffects.so.12
#27 0x00007f785229c8c1 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwin.so.5
#28 0x00007f7850255703 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwineffects.so.12
#29 0x00007f785229c8c1 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwin.so.5
#30 0x00007f785233b1a3 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () from /lib64/libkwin.so.5
#31 0x00007f783c06fe4e in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#32 0x00007f7852262691 in KWin::Compositor::performCompositing() () from /lib64/libkwin.so.5
#33 0x00007f78510c07a5 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#34 0x00007f7851a09ab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#35 0x00007f7851a13150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#36 0x00007f7851095458 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#37 0x00007f78510e9b58 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#38 0x00007f78510e809f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#39 0x00007f783e41e112 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5XcbQpa.so.5
#40 0x00007f785109424b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#41 0x00007f785109c126 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#42 0x00007f785267d648 in kdemain () from /lib64/libkdeinit5_kwin_x11.so
#43 0x00007f78524d11a3 in __libc_start_main () from /lib64/libc.so.6
#44 0x00005563e43ca0ae in _start ()
[Inferior 1 (process 1474) detached]

Possible duplicates by query: bug 414480, bug 414457, bug 414434, bug 413997, bug 413917.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2020-01-13 23:04:07 UTC

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