Bug 403095

Summary: KWin crashed after changing to another virtual console
Product: [Plasma] kwin Reporter: Fabian Scheid <kontakt>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.14.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fabian Scheid 2019-01-11 10:34:11 UTC
Application: kwin_x11 (5.14.5)

Qt Version: 5.12.0
Frameworks Version: 5.53.0
Operating System: Linux 4.20.0-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
I logged in to plasma from SDDM. Then I directly changed to the virual console tty2 with the keycombination "Ctrl+Alt+F2". After that ein directly changed back with "Ctrl+Alt+F1". There I got the message that KWin has crashed.
I'm using antergos (up to date as of today 2019-01-11) with the nvidia driver 415.25-5.

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 0x7ff6c5f92840 (LWP 4910))]

Thread 5 (Thread 0x7ff6a3fff700 (LWP 4924)):
#0  0x00007ff6cc957afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff6cd65428c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007ff6cd6542a9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007ff6cc951a9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ff6cf1d7b23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7ff6be06c700 (LWP 4920)):
#0  0x00007ff6cf1ccd16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007ff6cdd7846b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007ff6cdd7994b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007ff6cdd2558c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ff6cdb695c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007ff6cc111b89 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007ff6cdb6a9cc in  () at /usr/lib/libQt5Core.so.5
#7  0x00007ff6cc951a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ff6cf1d7b23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7ff6bffff700 (LWP 4912)):
#0  0x00007ff6cf1ccd16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007ff6cdd7846b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007ff6cdd7994b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007ff6cdd2558c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ff6cdb695c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007ff6cbb7eba6 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007ff6cdb6a9cc in  () at /usr/lib/libQt5Core.so.5
#7  0x00007ff6cc951a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ff6cf1d7b23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7ff6c563a700 (LWP 4911)):
#0  0x00007ff6cf1ccc21 in poll () at /usr/lib/libc.so.6
#1  0x00007ff6cda8e630 in  () at /usr/lib/libxcb.so.1
#2  0x00007ff6cda902db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007ff6c5b4796b in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ff6cdb6a9cc in  () at /usr/lib/libQt5Core.so.5
#5  0x00007ff6cc951a9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ff6cf1d7b23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ff6c5f92840 (LWP 4910)):
[KCrash Handler]
#6  0x00007ff6cd8d058b in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () at /usr/lib/libkwineffects.so.11
#7  0x00007ff6be0efccb in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007ff6be0f9223 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007ff6be0f9369 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#10 0x00007ff6cef5853c in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#11 0x00007ff6cd866266 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#12 0x00007ff6cef584d4 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#13 0x00007ff6cd7d361a in  () at /usr/lib/libkwin4_effect_builtins.so.1
#14 0x00007ff6cef584d4 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#15 0x00007ff6cd8cc51d in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#16 0x00007ff6cef584d4 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#17 0x00007ff6cef443cd in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#18 0x00007ff6cef58365 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#19 0x00007ff6cd8cc3ad in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#20 0x00007ff6cef58304 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#21 0x00007ff6cd8cc3ad in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#22 0x00007ff6cef58304 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#23 0x00007ff6cd7ff152 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#24 0x00007ff6cef58304 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#25 0x00007ff6cef4a983 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/libkwin.so.5
#26 0x00007ff6cef47027 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5
#27 0x00007ff6be0eb464 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#28 0x00007ff6cef49f01 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#29 0x00007ff6cef580b7 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#30 0x00007ff6cd8cc302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#31 0x00007ff6cef5805e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#32 0x00007ff6cd8cc302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#33 0x00007ff6cef5805e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#34 0x00007ff6cd8cc302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#35 0x00007ff6cef5805e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#36 0x00007ff6cef49b9b in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#37 0x00007ff6be0f3477 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#38 0x00007ff6cef3b4ce in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#39 0x00007ff6cdd51b1b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#40 0x00007ff6ce6eee34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#41 0x00007ff6ce6f6671 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#42 0x00007ff6cdd268f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#43 0x00007ff6cdd7b955 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#44 0x00007ff6cdd79a9e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#45 0x00007ff6c5b48d4f in  () at /usr/lib/libQt5XcbQpa.so.5
#46 0x00007ff6cdd2558c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#47 0x00007ff6cdd2d896 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#48 0x00007ff6cf2a9b26 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#49 0x00007ff6cf100223 in __libc_start_main () at /usr/lib/libc.so.6
#50 0x000055b7aba5c05e in _start ()
[Inferior 1 (process 4910) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-01-11 10:36:06 UTC

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