Application: kwin_x11 (5.12.7) Qt Version: 5.9.5 Frameworks Version: 5.44.0 Operating System: Linux 4.15.0-46-generic x86_64 Distribution: Ubuntu 18.04.2 LTS -- Information about the crash: - What I was doing when the application crashed: I was switching applications from Mailsrping to Slack using Alt + Tab. - Custom settings of the application: No significant tweaks, but I had just switched from intel integrated GPU to discreett Nvidia GPU. The crash can be reproduced every time. -- Backtrace: Application: KWin (kwin_x11), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f8d1d434cc0 (LWP 7486))] Thread 6 (Thread 0x7f8ce608f700 (LWP 12052)): #0 0x00007f8d15e0410d in __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f8d15dfd098 in __GI___pthread_mutex_lock (mutex=0x7f8cf8d511a0) at ../nptl/pthread_mutex_lock.c:113 #2 0x00007f8cf8acb05c in () at /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0 #3 0x00007f8ce7198299 in () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.415.27 #4 0x00007f8ce719a829 in () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.415.27 #5 0x00007f8ce719b49e in () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.415.27 #6 0x00007f8ce735e632 in () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.415.27 #7 0x00007f8ce736ecc0 in () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.415.27 #8 0x00007f8ce6f0c08b in () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.415.27 #9 0x00007f8d14f94f0f in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #10 0x00007f8d14f96165 in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #11 0x00007f8d14f9b85e in QSGBatchRenderer::Renderer::render() () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #12 0x00007f8d14f8c2a0 in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #13 0x00007f8d14f8c75b in QSGRenderer::renderScene(unsigned int) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #14 0x00007f8d14fc6af0 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #15 0x00007f8d15024b68 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #16 0x00007f8d14fcfbbc in () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #17 0x00007f8d14fd4ac8 in () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #18 0x00007f8d19f6316d in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007f8d15dfa6db in start_thread (arg=0x7f8ce608f700) at pthread_create.c:463 #20 0x00007f8d1cda188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f8ce5876700 (LWP 7585)): #0 0x00007f8d15e009f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8d19397fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 0x00007f8d15e009f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f8d19397f68, cond=0x7f8d19397f90) at pthread_cond_wait.c:502 #2 0x00007f8d15e009f3 in __pthread_cond_wait (cond=0x7f8d19397f90, mutex=0x7f8d19397f68) at pthread_cond_wait.c:655 #3 0x00007f8d190a15f4 in () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5 #4 0x00007f8d190a1639 in () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5 #5 0x00007f8d15dfa6db in start_thread (arg=0x7f8ce5876700) at pthread_create.c:463 #6 0x00007f8d1cda188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f8cfb5bd700 (LWP 7555)): #0 0x00007f8d1cd94cf6 in __GI_ppoll (fds=0x7f8ce8000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39 #1 0x00007f8d1a1965c1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007f8d1a197cde in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007f8d1a13f9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f8d19f5e22a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f8d148e66f5 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #6 0x00007f8d19f6316d in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f8d15dfa6db in start_thread (arg=0x7f8cfb5bd700) at pthread_create.c:463 #8 0x00007f8d1cda188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f8d01327700 (LWP 7528)): #0 0x00007f8d1cd94cf6 in __GI_ppoll (fds=0x7f8cf400b028, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39 #1 0x00007f8d1a1965c1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007f8d1a197cde in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007f8d1a13f9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f8d19f5e22a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f8d137bfd45 in () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #6 0x00007f8d19f6316d in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f8d15dfa6db in start_thread (arg=0x7f8d01327700) at pthread_create.c:463 #8 0x00007f8d1cda188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f8d03982700 (LWP 7507)): #0 0x00007f8d1cd94bf9 in __GI___poll (fds=0x7f8d03981c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f8d1bc9e747 in () at /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f8d1bca036a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f8d048612a9 in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007f8d19f6316d in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f8d15dfa6db in start_thread (arg=0x7f8d03982700) at pthread_create.c:463 #6 0x00007f8d1cda188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f8d1d434cc0 (LWP 7486)): [KCrash Handler] #6 0x00007f8ce6f10394 in () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.415.27 #7 0x00007f8d1578483f in () at /usr/lib/x86_64-linux-gnu/libkwinglutils.so.11 #8 0x00007f8cf9599ac3 in () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so #9 0x00007f8cf95a2653 in () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so #10 0x00007f8cf95a2787 in () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so #11 0x00007f8d1c903956 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #12 0x00007f8d196ab876 in () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1 #13 0x00007f8d1c9038ee in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #14 0x00007f8d1961b23d in () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1 #15 0x00007f8d1c9038ee in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #16 0x00007f8d1990a620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11 #17 0x00007f8d1c9038ee in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #18 0x00007f8d1c8ef860 in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #19 0x00007f8d1c90377d in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #20 0x00007f8d1990a4b0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11 #21 0x00007f8d1c90371e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #22 0x00007f8d1990a4b0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11 #23 0x00007f8d1c90371e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #24 0x00007f8d19698980 in () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1 #25 0x00007f8d1c90371e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #26 0x00007f8d1c8f5bd2 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #27 0x00007f8d1c8f494c in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #28 0x00007f8cf9596c92 in () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so #29 0x00007f8d1c8f5167 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #30 0x00007f8d1c9034d5 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #31 0x00007f8d1990a401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11 #32 0x00007f8d1c90347d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #33 0x00007f8d1990a401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11 #34 0x00007f8d1c90347d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #35 0x00007f8d1990a401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11 #36 0x00007f8d1c90347d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #37 0x00007f8d1c8f4e5e in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #38 0x00007f8cf959c541 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so #39 0x00007f8d1c8e73e2 in KWin::Compositor::performCompositing() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #40 0x00007f8d1a1710db in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #41 0x00007f8d1aebf82c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #42 0x00007f8d1aec70f4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #43 0x00007f8d1a1419a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #44 0x00007f8d1a199d8e in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #45 0x00007f8d1a197f42 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #46 0x00007f8d048c45cd in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #47 0x00007f8d1a13f9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #48 0x00007f8d1a148a84 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #49 0x00007f8d1d079dbb in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so #50 0x00007f8d1cca1b97 in __libc_start_main (main=0x5626fd73a730, argc=3, argv=0x7ffe3e8e9468, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe3e8e9458) at ../csu/libc-start.c:310 #51 0x00005626fd73a76a in _start () [Inferior 1 (process 7486) detached] Reported using DrKonqi
crash happens in the video driver