Bug 411781

Summary: Kwin crashing when using Ctrl+alt+fn
Product: [Plasma] kwin Reporter: John Breland <brelandjohn>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.16.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John Breland 2019-09-10 07:19:32 UTC
Application: kwin_x11 (5.16.4)

Qt Version: 5.13.0
Frameworks Version: 5.61.0
Operating System: Linux 5.2.11-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I had switch to ttyl 2 to do an opensuse tumbleweed system update and it crash when I came back to the desktop.
It only crashed the once and then does graphic resets the other times.
I am wondering if it was because kwin may have been updated in the background and been left in an unstable state when I switched back to the desktop.

The crash can be reproduced sometimes.

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

Thread 5 (Thread 0x7ff62ca0f700 (LWP 22507)):
#0  0x00007ff647020db6 in ppoll () at /lib64/libc.so.6
#1  0x00007ff645b7ca09 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007ff645b7e001 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007ff645b2920b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ff645961f91 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff645963112 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007ff644f44faa in start_thread () at /lib64/libpthread.so.0
#7  0x00007ff64702b73f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7ff623fff700 (LWP 21857)):
#0  0x00007ff644f4ae05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ff6454001ea in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007ff64540020b in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007ff644f44faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007ff64702b73f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7ff63d243700 (LWP 21744)):
#0  0x00007ff647020db6 in ppoll () at /lib64/libc.so.6
#1  0x00007ff645b7ca09 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007ff645b7e001 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007ff645b2920b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ff645961f91 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff6446d5485 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007ff645963112 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007ff644f44faa in start_thread () at /lib64/libpthread.so.0
#8  0x00007ff64702b73f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7ff63f429700 (LWP 21663)):
#0  0x00007ff647020db6 in ppoll () at /lib64/libc.so.6
#1  0x00007ff645b7ca09 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007ff645b7e001 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007ff645b2920b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ff645961f91 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff6441314f6 in  () at /usr/lib64/libQt5DBus.so.5
#6  0x00007ff645963112 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007ff644f44faa in start_thread () at /lib64/libpthread.so.0
#8  0x00007ff64702b73f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ff64203f880 (LWP 21612)):
[KCrash Handler]
#6  0x00007ff6456734e2 in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () at /usr/lib64/libkwineffects.so.12
#7  0x00007ff62ffeea13 in  () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007ff62fff4761 in  () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007ff646d7d41f in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#10 0x00007ff64558dc37 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#11 0x00007ff646d7d3c3 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#12 0x00007ff64560578e in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#13 0x00007ff646d7d3c3 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#14 0x00007ff646d89d7b in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#15 0x00007ff646d83a58 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#16 0x00007ff64566fcab in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwineffects.so.12
#17 0x00007ff646d83a03 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#18 0x00007ff64566fcab in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwineffects.so.12
#19 0x00007ff646d83a03 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#20 0x00007ff646d8cc35 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib64/libkwin.so.5
#21 0x00007ff646d8da36 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib64/libkwin.so.5
#22 0x00007ff62fff0b53 in  () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#23 0x00007ff646d8cae0 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#24 0x00007ff646d83b32 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#25 0x00007ff64566fd2f in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.12
#26 0x00007ff646d83add in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#27 0x00007ff64566fd2f in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.12
#28 0x00007ff646d83add in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#29 0x00007ff646d8e3f5 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib64/libkwin.so.5
#30 0x00007ff62fff59c7 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#31 0x00007ff646d96d56 in KWin::Compositor::performCompositing() () at /usr/lib64/libkwin.so.5
#32 0x00007ff645b55ec5 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#33 0x00007ff64655cc42 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#34 0x00007ff646565ec0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#35 0x00007ff645b2a5b2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#36 0x00007ff645b7fd6b in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#37 0x00007ff645b7e167 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#38 0x00007ff6401eb1ce in  () at /usr/lib64/libQt5XcbQpa.so.5
#39 0x00007ff645b2920b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#40 0x00007ff645b30d82 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#41 0x00007ff646f26fa6 in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#42 0x00007ff646f54bcb in __libc_start_main () at /lib64/libc.so.6
#43 0x0000559aabb5708a in _start ()
[Inferior 1 (process 21612) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-09-10 07:32:38 UTC

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