Bug 419655

Summary: Kwin keeps crashing
Product: [Plasma] kwin Reporter: fhortt
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: kde
Priority: NOR Keywords: drkonqi
Version: 5.18.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description fhortt 2020-04-05 01:37:16 UTC
Application: kwin_x11 (5.18.3)
 (Compiled from sources)
Qt Version: 5.14.1
Frameworks Version: 5.68.0
Operating System: Linux 5.4.28-1-MANJARO x86_64
Windowing system: X11
Distribution: Manjaro Linux

-- Information about the crash:
It crashes while using Chrome, Telegram desktop, and similar apps.. It always happens when I try to switch between windows or closing/minimizing/maximizing their windows.
I'm using Manjaro KDE, so Plasma came installed with the distro.

The crash can be reproduced every time.

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

Thread 11 (Thread 0x7fbf2e7bd700 (LWP 167049)):
#0  0x00007fbf5f816cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbf6064fcc4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fbf6064fda2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fbf5f2c156b in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fbf5f2c17fb in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fbf60649fd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fbf5f81046f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fbf61ef03d3 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fbf535ef700 (LWP 166897)):
#0  0x00007fbf5f816cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbf6064fcc4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fbf6064fda2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fbf5f2c156b in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fbf5f2c17fb in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fbf60649fd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fbf5f81046f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fbf61ef03d3 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fbf2efbe700 (LWP 60281)):
#0  0x00007fbf5f816cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbf60146f3c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fbf60146f59 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fbf5f81046f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fbf61ef03d3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fbf2ffff700 (LWP 60261)):
#0  0x00007fbf61ee5bb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fbf6087a023 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fbf6087b6ed in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fbf6082457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fbf60648e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fbf5ef59f89 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007fbf60649fd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fbf5f81046f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fbf61ef03d3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fbf45b04700 (LWP 60260)):
#0  0x00007fbf5f816cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbf4780103c in  () at /usr/lib/dri/i965_dri.so
#2  0x00007fbf47800c38 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fbf5f81046f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fbf61ef03d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fbf46305700 (LWP 60259)):
#0  0x00007fbf5f816cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbf4780103c in  () at /usr/lib/dri/i965_dri.so
#2  0x00007fbf47800c38 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fbf5f81046f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fbf61ef03d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fbf46b06700 (LWP 60258)):
#0  0x00007fbf5f816cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbf4780103c in  () at /usr/lib/dri/i965_dri.so
#2  0x00007fbf47800c38 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fbf5f81046f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fbf61ef03d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fbf47307700 (LWP 60257)):
#0  0x00007fbf5f816cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbf4780103c in  () at /usr/lib/dri/i965_dri.so
#2  0x00007fbf47800c38 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fbf5f81046f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fbf61ef03d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fbf52b36700 (LWP 60240)):
#0  0x00007fbf60824140 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#1  0x00007fbf6082457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#2  0x00007fbf60648e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#3  0x00007fbf5ef59f89 in  () at /usr/lib/libQt5Qml.so.5
#4  0x00007fbf60649fd6 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fbf5f81046f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fbf61ef03d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fbf58b45700 (LWP 60186)):
#0  0x00007fbf61ee5bb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fbf6087a023 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fbf6087b6ed in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fbf6082457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fbf60648e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fbf6191eb28 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007fbf60649fd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fbf5f81046f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fbf61ef03d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fbf5a2b2840 (LWP 60182)):
[KCrash Handler]
#6  0x00007fbf5f616c00 in KWin::GLTexture::matrix(KWin::TextureCoordinateType) const () at /usr/lib/libkwinglutils.so.12
#7  0x00007fbf2d1445c9 in WindowMeshRenderer::render(KWin::EffectWindow*, QVector<WindowQuad> const&, KWin::GLTexture*, QRegion const&) const () at /usr/lib/qt/plugins/kwin/effects/plugins/libkwin4_effect_yetanothermagiclamp.so
#8  0x00007fbf2d14674a in YetAnotherMagicLampEffect::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/qt/plugins/kwin/effects/plugins/libkwin4_effect_yetanothermagiclamp.so
#9  0x00007fbf61bd2350 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#10 0x00007fbf61bd2212 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#11 0x00007fbf61bd21b4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#12 0x00007fbf61bd21b4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#13 0x00007fbf61bd21b4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#14 0x00007fbf61c5465b in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/libkwin.so.5
#15 0x00007fbf61c53362 in KWin::Scene::paintGenericScreen(int, KWin::ScreenPaintData) () at /usr/lib/libkwin.so.5
#16 0x00007fbf507b91f6 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#17 0x00007fbf61c53bea in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#18 0x00007fbf61bd1fc0 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#19 0x00007fbf61bd1f6b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#20 0x00007fbf61bd1f6b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#21 0x00007fbf61bd1f6b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#22 0x00007fbf61c538d6 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#23 0x00007fbf507b41cf in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#24 0x00007fbf61b97695 in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#25 0x00007fbf60853225 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#26 0x00007fbf612bf362 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007fbf612c8819 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007fbf60825a12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#29 0x00007fbf6087d462 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#30 0x00007fbf6087b849 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#31 0x00007fbf59c12f7f in  () at /usr/lib/libQt5XcbQpa.so.5
#32 0x00007fbf6082457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007fbf6082c586 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#34 0x00007fbf61fbf379 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#35 0x00007fbf61e18023 in __libc_start_main () at /usr/lib/libc.so.6
#36 0x0000562b598dc05e in _start ()
[Inferior 1 (process 60182) detached]

Possible duplicates by query: bug 419191, bug 418887, bug 412875, bug 409108.

Reported using DrKonqi
Comment 1 David Edmundson 2020-04-05 16:13:51 UTC
>/usr/lib/qt/plugins/kwin/effects/plugins/libkwin4_effect_yetanothermagiclamp.so

This isn't from us.