Bug 418887 - Kwin crashes on some aurorae themes when clicking on minimize button
Summary: Kwin crashes on some aurorae themes when clicking on minimize button
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: 5.18.3
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-15 16:38 UTC by Michał Dybczak
Modified: 2020-03-15 21:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dybczak 2020-03-15 16:38:54 UTC
SUMMARY


STEPS TO REPRODUCE
1. Install additional aurorae themes like: BreezmiteForman, Auro-G
2. Apply one of them. If that matters, move buttons to the left in order: close, minimize, maximize.
3. Open any app, click on minimize button.

OBSERVED RESULT

Kwin crashes and restores, windows is not minimized. Next click on minimize button, kwin crashes again. Since I'm not using minimize button too often, so I can't be sure if that happens all the time.

EXPECTED RESULT

Window should minimize without the crash.

Operating System: Manjaro Linux 
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Kernel Version: 5.5.8-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 7,6 GiB


ADDITIONAL INFORMATION

This doesn't happen on all third party themes. When I switched to Breezmite dark, there is no issue, so it's hard to tell on which themes it happens. Maybe this is because those themes are old and not updated against newer kde software?

This issue started to happen a week ago, ca. 7.03.2020 when I updated my Manjaro KDE unstable system to the newest KDE software. I'm not sure what release was it (Plasma, framework, apps?) that day.
Comment 1 Michał Dybczak 2020-03-15 16:41:50 UTC
Additional info:

<code>Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f48901810c0 (LWP 8083))]

Thread 11 (Thread 0x7f485f9ff700 (LWP 8133)):
#0  0x00007f4897de8bb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f489677e023 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f489677f6ed in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f489672857c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f489654ce62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f489654dfd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f489571446f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f4897df33d3 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f485e965700 (LWP 8116)):
#0  0x00007f489571acf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f489604af3c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f489604af59 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f489571446f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f4897df33d3 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f487eb30700 (LWP 8113)):
#0  0x00007f4897de8bb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f489677e023 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f489677f6ed in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f489672857c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f489654ce62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f4894e5df89 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f489654dfd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f489571446f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f4897df33d3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f487ffff700 (LWP 8112)):
#0  0x00007f4897de8bb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f489677e023 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f489677f6ed in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f489672857c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f489654ce62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f4894e5df89 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f489654dfd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f489571446f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f4897df33d3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f4871876700 (LWP 8110)):
#0  0x00007f489571acf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f487cc8221c in  () at /usr/lib/dri/iris_dri.so
#2  0x00007f487cc81e18 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007f489571446f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f4897df33d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f4872077700 (LWP 8109)):
#0  0x00007f489571acf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f487cc8221c in  () at /usr/lib/dri/iris_dri.so
#2  0x00007f487cc81e18 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007f489571446f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f4897df33d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f4872878700 (LWP 8108)):
#0  0x00007f489571acf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f487cc8221c in  () at /usr/lib/dri/iris_dri.so
#2  0x00007f487cc81e18 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007f489571446f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f4897df33d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f4873079700 (LWP 8107)):
#0  0x00007f489571acf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f487cc8221c in  () at /usr/lib/dri/iris_dri.so
#2  0x00007f487cc81e18 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007f489571446f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f4897df33d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f488df6b700 (LWP 8088)):
#0  0x00007f4897de8bb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f489677e023 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f489677f6ed in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f489672857c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f489654ce62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f4897822b28 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f489654dfd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f489571446f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f4897df33d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f488f759700 (LWP 8086)):
#0  0x00007f4897de8abf in poll () at /usr/lib/libc.so.6
#1  0x00007f489646663b in  () at /usr/lib/libxcb.so.1
#2  0x00007f489646837b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f488fa71ba1 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f489654dfd6 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f489571446f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f4897df33d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f48901810c0 (LWP 8083)):
[KCrash Handler]
#6  0x00007f489551ac00 in KWin::GLTexture::matrix(KWin::TextureCoordinateType) const () at /usr/lib/libkwinglutils.so.12
#7  0x00007f485325c823 in  () at /usr/lib/qt/plugins/kwin/effects/plugins/libkwin4_effect_yetanothermagiclamp.so
#8  0x00007f485325d7e0 in  () at /usr/lib/qt/plugins/kwin/effects/plugins/libkwin4_effect_yetanothermagiclamp.so
#9  0x00007f4897ad5350 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#10 0x00007f4897ad5212 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#11 0x00007f4897ad51b4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#12 0x00007f4897ad51b4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#13 0x00007f4897ad51b4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#14 0x00007f4897b5765b in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/libkwin.so.5
#15 0x00007f4897b56362 in KWin::Scene::paintGenericScreen(int, KWin::ScreenPaintData) () at /usr/lib/libkwin.so.5
#16 0x00007f487eb961f6 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#17 0x00007f4897b56bea in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#18 0x00007f4897ad4fc0 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#19 0x00007f4897ad4f6b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#20 0x00007f4897ad4f6b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#21 0x00007f4897ad4f6b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#22 0x00007f4897b568d6 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#23 0x00007f487eb911cf in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#24 0x00007f4897a9a695 in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#25 0x00007f4896757225 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#26 0x00007f48971c3362 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007f48971cc819 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f4896729a12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#29 0x00007f4896781462 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#30 0x00007f489677f849 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#31 0x00007f488fa72f7f in  () at /usr/lib/libQt5XcbQpa.so.5
#32 0x00007f489672857c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007f4896730586 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#34 0x00007f4897ec2379 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#35 0x00007f4897d1b023 in __libc_start_main () at /usr/lib/libc.so.6
#36 0x000055a797f8605e in _start ()
[Inferior 1 (process 8083) detached]</code>
Comment 2 David Edmundson 2020-03-15 17:58:17 UTC
>#8  0x00007f485325d7e0 in  () at /usr/lib/qt/plugins/kwin/effects/plugins/libkwin4_effect_yetanothermagiclamp.so

Is not part of kwin
Comment 3 Michał Dybczak 2020-03-15 21:24:35 UTC
Ah, thanks. I'll report it to the developer of this effect and hopefully, he will fix it.