Bug 416886

Summary: KWin/Plasma random crashes
Product: [Plasma] kwin Reporter: Dann <initial.dann>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: initial.dann, jesaenh, nate, w
Priority: NOR Keywords: drkonqi
Version: 5.17.5   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Dann 2020-01-28 22:09:04 UTC
Application: kwin_x11 (5.17.5)
 (Compiled from sources)
Qt Version: 5.14.0
Frameworks Version: 5.66.0
Operating System: Linux 4.14.138 x86_64
Distribution: "Gentoo Base System release 2.6"

-- Information about the crash:
- What I was doing when the application crashed:

Depends. Almost everytime I resume from suspend, I get a kwin crash. Sometimes when I'm doing work, my panels will disappear and kwin will restart. I could be typing, tabbing windows, maybe nothing even.

I am using unstable gentoo 5.17.5 right now, though this issue has been occuring for a while, around 5.15 at least.
It could be related to my screen setup; I have two 1920x1200 screens oriented at 270 degrees (both vertically aligned), my laptop monitor is disabled while I use external monitors. My laptop is on a dock. I use a 2000M Quadro. The laptop is optimus enabled but I use dedicated Nvidia only. Could be a limitation of the video card,  but this happens pretty much on a daily basis.

Use flags:
USE="X a52 aac acl acpi alsa apm atm avahi bash-completion bluetooth
bluray bzip2 cairo calendar cdda cddb cdinstall cdr cracklib crypt css cups
dbus dga djvu dts dv dvd dvdr dvb -emacs egl fam ffmpeg fftw flac ftp
gif git gles glut gmp -gnome gnuplot gnutls gphoto2 graphviz gstreamer
gsm gzip handbook hddtemp ieee1394 imagemagick inotify ipv6 jack
jit jpeg jpeg2k kde ladspa latex lcms libnotify libass lm_sensors
lzma lzo matroska mad memcached mng -mono mp3 mp4 mpeg mtp multilib
ncurses networkmanager nptl odbc offensive ogg openal openexr opengl
openmp opus pcmcia pdf plasma plotutils png policykit posix
ppds pulseaudio python qt5 quicktime raw readline rss samba sdl 
scanner semantic-desktop session snmp sqlite svg systemd taglib
theora tiff truetype udev udisks unicode upnp upnp-av upower usb
v4l vorbis wavpack wayland webkit webp wmf x264 xattr xcb 
xcomposite xinerama xmp xv xvid zip zlib"

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 0x7fb4146558c0 (LWP 14693))]

Thread 8 (Thread 0x7fb3641f5700 (LWP 54983)):
#0  0x00007fb41bd5413c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fb41c85a863 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb41c85a8f9 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fb41b84546f in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb41b8456e1 in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fb41c85534c in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fb41bd4d408 in start_thread () at /lib64/libpthread.so.0
#7  0x00007fb41df3ecaf in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fb411885700 (LWP 53152)):
#0  0x00007fb41df33066 in ppoll () at /lib64/libc.so.6
#1  0x00007fb41ca43c45 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb41ca44db8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fb41c9f3deb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fb41c8541ae in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb41c85534c in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fb41bd4d408 in start_thread () at /lib64/libpthread.so.0
#7  0x00007fb41df3ecaf in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fb402ace700 (LWP 21325)):
[KCrash Handler]
#6  0x00007fb41a8e99cd in  () at /usr/lib64/opengl/nvidia/lib/libGL.so.1
#7  0x00007fb410024571 in  () at /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#8  0x00007fb4100221a7 in  () at /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#9  0x00007fb4138b136a in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () at /usr/lib64/libQt5XcbQpa.so.5
#10 0x00007fb41ce2d11f in QOpenGLContext::create() () at /usr/lib64/libQt5Gui.so.5
#11 0x00007fb41b83f621 in  () at /usr/lib64/libQt5Quick.so.5
#12 0x00007fb41b841492 in  () at /usr/lib64/libQt5Quick.so.5
#13 0x00007fb41b84569f in  () at /usr/lib64/libQt5Quick.so.5
#14 0x00007fb41c85534c in  () at /usr/lib64/libQt5Core.so.5
#15 0x00007fb41bd4d408 in start_thread () at /lib64/libpthread.so.0
#16 0x00007fb41df3ecaf in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fb4039ff700 (LWP 15016)):
#0  0x00007fb41bd5413c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fb41c29b8da in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fb41c29b8f9 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fb41bd4d408 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fb41df3ecaf in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fb410cad700 (LWP 14808)):
#0  0x00007fb41df33066 in ppoll () at /lib64/libc.so.6
#1  0x00007fb41ca43c45 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb41ca44db8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fb41c9f3deb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fb41c8541ae in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb41b4bc955 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007fb41c85534c in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb41bd4d408 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fb41df3ecaf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fb412aec700 (LWP 14745)):
#0  0x00007fb41df33066 in ppoll () at /lib64/libc.so.6
#1  0x00007fb41ca43c45 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb41ca44db8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fb41c9f3deb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fb41c8541ae in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb41ae6b585 in  () at /usr/lib64/libQt5DBus.so.5
#6  0x00007fb41c85534c in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb41bd4d408 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fb41df3ecaf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fb4137d6700 (LWP 14736)):
#0  0x00007fb41df32f73 in poll () at /lib64/libc.so.6
#1  0x00007fb41c76dcf7 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fb41c76f91a in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fb4138d7520 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fb41c85534c in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb41bd4d408 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fb41df3ecaf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fb4146558c0 (LWP 14693)):
#0  0x00007fb41bd5413c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fb41c85a863 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb41c85a8f9 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fb41b843875 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb41b844915 in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fb41b8451b3 in  () at /usr/lib64/libQt5Quick.so.5
#6  0x00007fb41cdfb9a5 in QWindow::event(QEvent*) () at /usr/lib64/libQt5Gui.so.5
#7  0x00007fb41b8a754b in QQuickWindow::event(QEvent*) () at /usr/lib64/libQt5Quick.so.5
#8  0x00007fb3f5f978eb in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib64/libKF5PlasmaQuick.so.5
#9  0x00007fb41d4007be in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007fb41d407ca0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007fb41c9f5002 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#12 0x00007fb41cdf2cd3 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib64/libQt5Gui.so.5
#13 0x00007fb41cdf2f6d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#14 0x00007fb41cdcfd3b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#15 0x00007fb4138d88a3 in  () at /usr/lib64/libQt5XcbQpa.so.5
#16 0x00007fb41c9f3deb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#17 0x00007fb41c9fbdf2 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#18 0x00007fb41e012295 in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#19 0x00007fb41de5cefb in __libc_start_main () at /lib64/libc.so.6
#20 0x000055f167ece09a in _start ()
[Inferior 1 (process 14693) detached]

Possible duplicates by query: bug 416826, bug 416816, bug 416784, bug 416730, bug 416725.

Reported using DrKonqi
Comment 1 Wian Potgieter 2020-01-31 12:56:22 UTC
Created attachment 125569 [details]
New crash information added by DrKonqi

kwin_x11 (5.17.5) using Qt 5.13.2

- What I was doing when the application crashed:

I scrolled my mouse wheel over the task manager

-- Backtrace (Reduced):
#6  0x00007f99d41c63a4 in QScreen::handle() const (this=0x555d98a11960) at kernel/qscreen.cpp:153
#7  0x00007f99bee05b48 in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const (this=<optimized out>, context=0x555d99631770) at qxcbintegration.cpp:279
#8  0x00007f99d41e176f in QOpenGLContext::create() (this=0x555d99631770) at kernel/qopenglcontext.cpp:611
#9  0x00007f99ce7c25ad in QSGRenderThread::sync(bool) (this=this@entry=0x555d99442130, inExpose=<optimized out>) at scenegraph/qsgthreadedrenderloop.cpp:552
#10 0x00007f99ce7c3a24 in QSGRenderThread::syncAndRender() (this=this@entry=0x555d99442130) at scenegraph/qsgthreadedrenderloop.cpp:610
Comment 2 Dann 2020-04-09 18:17:11 UTC
I tried to go through KCrash to add a comment but I got some permission / modify comment error, so here's the report (via web interface)

In summary: using 5.14.1 qt libs and still seeing this issue.

Application: kwin_x11 (5.18.4)
 (Compiled from sources)
Qt Version: 5.14.1
Frameworks Version: 5.68.0
Operating System: Linux 4.14.173 x86_64
Windowing system: X11
Distribution: "Gentoo Base System release 2.6"

-- Information about the crash:
- What I was doing when the application crashed:

Running slack video chat which constantly shuts off my compositor randomly, editing code on two vertically aligned monitors. What set it off, as it has before, was alt-tabbing. Since filing this bug, I've upgraded qt libs to 15.4.1 (with some -rN packages).
This crash occurs whether slack runs or not.

I get black flickering on some windows, but that may be related to mesa/nvidia as I'm stuck on the 390.xxx series and not compiling with libglvnd flag.

- Unusual behavior I noticed:

A short bit of lag before the crash occurs.

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

Thread 6 (Thread 0x7f8d9379a700 (LWP 7589)):
[KCrash Handler]
#6  0x00007f8db52819cd in  () at /usr/lib64/opengl/nvidia/lib/libGL.so.1
#7  0x00007f8da5d7757d in  () at /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#8  0x00007f8da5d751e7 in  () at /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#9  0x00007f8dae45e0ab in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () at /usr/lib64/libQt5XcbQpa.so.5
#10 0x00007f8db779890d in QOpenGLContext::create() () at /usr/lib64/libQt5Gui.so.5
#11 0x00007f8db61b5701 in  () at /usr/lib64/libQt5Quick.so.5
#12 0x00007f8db61b750a in  () at /usr/lib64/libQt5Quick.so.5
#13 0x00007f8db61bb6f7 in  () at /usr/lib64/libQt5Quick.so.5
#14 0x00007f8db71cc34c in  () at /usr/lib64/libQt5Core.so.5
#15 0x00007f8db670f408 in start_thread () at /lib64/libpthread.so.0
#16 0x00007f8db8968caf in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f8da7fff700 (LWP 7377)):
#0  0x00007f8db895d066 in ppoll () at /lib64/libc.so.6
#1  0x00007f8db73bb385 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8db73bc4f8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8db736b4bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8db71cb1ae in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8db71cc34c in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8db670f408 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f8db8968caf in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f8da6588700 (LWP 6244)):
#0  0x00007f8db671613c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8db6c458da in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f8db6c458f9 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f8db670f408 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8db8968caf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f8da77fe700 (LWP 5956)):
#0  0x00007f8db895d066 in ppoll () at /lib64/libc.so.6
#1  0x00007f8db73bb385 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8db73bc4f8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8db736b4bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8db71cb1ae in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8db5e57505 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007f8db71cc34c in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8db670f408 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f8db8968caf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f8dad682700 (LWP 5923)):
#0  0x00007f8db895d066 in ppoll () at /lib64/libc.so.6
#1  0x00007f8db73bb385 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8db73bc4f8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8db736b4bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8db71cb1ae in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8db8390585 in  () at /usr/lib64/libQt5DBus.so.5
#6  0x00007f8db71cc34c in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8db670f408 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f8db8968caf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f8daf206480 (LWP 5865)):
#0  0x00007f8db671613c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8db71d1863 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8db71d18f9 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8db61b992a in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8db61ba7f0 in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007f8db61bb1cb in  () at /usr/lib64/libQt5Quick.so.5
#6  0x00007f8db7766a1d in QWindow::event(QEvent*) () at /usr/lib64/libQt5Gui.so.5
#7  0x00007f8db621f929 in QQuickWindow::event(QEvent*) () at /usr/lib64/libQt5Quick.so.5
#8  0x00007f8da5accadb in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib64/libKF5PlasmaQuick.so.5
#9  0x00007f8db7d41cef in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007f8db7d4ae40 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007f8db736c6d2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#12 0x00007f8db775e09f in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib64/libQt5Gui.so.5
#13 0x00007f8db775e2db in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#14 0x00007f8db77397eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#15 0x00007f8dae4855b3 in  () at /usr/lib64/libQt5XcbQpa.so.5
#16 0x00007f8db736b4bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f8db73734c2 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#18 0x00007f8db8a3ae6b in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#19 0x00007f8db8886efb in __libc_start_main () at /lib64/libc.so.6
#20 0x0000557c24e6909a in _start ()
[Inferior 1 (process 5865) detached]

Possible duplicates by query: bug 417796, bug 416886, bug 415485, bug 414805, bug 414555.

Report to https://bugs.kde.org/
Comment 3 Txutxifel 2020-05-26 06:52:37 UTC
Application: kwin_x11 (5.18.5)

Qt Version: 5.14.1
Frameworks Version: 5.70.0
Operating System: Linux 5.6.12-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I got this bug too. It happen radomly. I  attach a trace with debug symbols.

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 0x7fa2ccaa7800 (LWP 2862))]

Thread 5 (Thread 0x7fa2c8a5f700 (LWP 13911)):
#0  0x00007fa2cfae8795 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa2d04a81db in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x5613d7be4e30) at thread/qwaitcondition_unix.cpp:146
#2  0x00007fa2d04a81db in QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x5613d8088620, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007fa2d04a8299 in QWaitCondition::wait(QMutex*, unsigned long) (this=0x5613d8088628, mutex=0x5613d8088620, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007fa2cf59559f in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fa2cf595819 in  () at /usr/lib64/libQt5Quick.so.5
#6  0x00007fa2d04a2698 in QThreadPrivate::start(void*) (arg=0x5613d8088580) at thread/qthread_unix.cpp:342
#7  0x00007fa2cfae1efa in start_thread () at /lib64/libpthread.so.0
#8  0x00007fa2d1d0d3bf in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fa2babed700 (LWP 3139)):
#0  0x00007fa2cfae8795 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa2cffba1ea in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fa2cffba20b in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fa2cfae1efa in start_thread () at /lib64/libpthread.so.0
#4  0x00007fa2d1d0d3bf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fa2bbe2e700 (LWP 2996)):
#0  0x00007fa2d1d02bc6 in ppoll () at /lib64/libc.so.6
#1  0x00007fa2d06cac59 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:77
#2  0x00007fa2d06cac59 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fa2b4000d38) at kernel/qcore_unix.cpp:132
#3  0x00007fa2d06cac59 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fa2b4000d38) at kernel/qcore_unix.cpp:129
#4  0x00007fa2d06cac59 in qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7fa2b4000d38, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007fa2d06cc263 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007fa2d0676b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa2bbe2dd80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#7  0x00007fa2d04a15ce in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#8  0x00007fa2cf21b6e5 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007fa2d04a2698 in QThreadPrivate::start(void*) (arg=0x5613d7a6dd50) at thread/qthread_unix.cpp:342
#10 0x00007fa2cfae1efa in start_thread () at /lib64/libpthread.so.0
#11 0x00007fa2d1d0d3bf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fa2c9d11700 (LWP 2895)):
#0  0x00007fa2d1d02bc6 in ppoll () at /lib64/libc.so.6
#1  0x00007fa2d06cac59 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:77
#2  0x00007fa2d06cac59 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fa2bc00f358) at kernel/qcore_unix.cpp:132
#3  0x00007fa2d06cac59 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fa2bc00f358) at kernel/qcore_unix.cpp:129
#4  0x00007fa2d06cac59 in qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7fa2bc00f358, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007fa2d06cc263 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007fa2d0676b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa2c9d10d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#7  0x00007fa2d04a15ce in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#8  0x00007fa2d17af507 in  () at /usr/lib64/libQt5DBus.so.5
#9  0x00007fa2d04a2698 in QThreadPrivate::start(void*) (arg=0x7fa2d1831da0) at thread/qthread_unix.cpp:342
#10 0x00007fa2cfae1efa in start_thread () at /lib64/libpthread.so.0
#11 0x00007fa2d1d0d3bf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fa2ccaa7800 (LWP 2862)):
[KCrash Handler]
#4  0x00007fa2d0104d59 in KWin::ContrastEffect::uploadRegion(QVector2D*&, QRegion const&) (this=0x5613d78ec4d0, region=..., map=<synthetic pointer>: <optimized out>) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects/backgroundcontrast/contrast.cpp:342
#5  0x00007fa2d0104d59 in KWin::ContrastEffect::uploadGeometry(KWin::GLVertexBuffer*, QRegion const&) (region=..., vbo=0x5613d7c40470, this=0x5613d78ec4d0) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects/backgroundcontrast/contrast.cpp:342
#6  0x00007fa2d0104d59 in KWin::ContrastEffect::doContrast(KWin::EffectWindow*, QRegion const&, QRect const&, float, QMatrix4x4 const&) (screenProjection=..., opacity=0, screen=..., shape=..., w=0x5613d7b799f0, this=0x5613d78ec4d0) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects/backgroundcontrast/contrast.cpp:485
#7  0x00007fa2d0104d59 in KWin::ContrastEffect::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d78ec4d0, w=<optimized out>, mask=2, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects/backgroundcontrast/contrast.cpp:461
#8  0x00007fa2d1ae1bf0 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d7bf68c0, w=0x5613d7b799f0, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:485
#9  0x00007fa2d0184a72 in KWin::BlurEffect::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects/blur/blur.cpp:615
#10 0x00007fa2d1ae1bf0 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d7bf68c0, w=0x5613d7b799f0, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:485
#11 0x00007fa2d1ae1bf0 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d7bf68c0, w=0x5613d7b799f0, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:485
#12 0x00007fa2d1ae1bf0 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d7bf68c0, w=0x5613d7b799f0, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:485
#13 0x00007fa2d1ae6728 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (data=..., region=..., mask=2, w=0x5613d7b799f0, this=0x5613d7bf68c0) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:451
#14 0x00007fa2d1ae6728 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d7bf68c0, w=0x5613d7b799f0, mask=2, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:445
#15 0x00007fa2d1ae66d3 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d7bf68c0, w=0x5613d7b799f0, mask=2, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:448
#16 0x00007fa2d1ae66d3 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d7bf68c0, w=0x5613d7b799f0, mask=2, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:448
#17 0x00007fa2d1ae66d3 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d7bf68c0, w=0x5613d7b799f0, mask=2, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:448
#18 0x00007fa2cf917c02 in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) (this=this@entry=0x5613d7c376d0, w=w@entry=0x5613d7b799f0, mask=mask@entry=2, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/libkwineffects/kwinanimationeffect.cpp:731
#19 0x00007fa2d1ae66d3 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d7bf68c0, w=0x5613d7b799f0, mask=2, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:448
#20 0x00007fa2cf917c02 in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) (this=this@entry=0x5613d7b90db0, w=w@entry=0x5613d7b799f0, mask=mask@entry=2, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/libkwineffects/kwinanimationeffect.cpp:731
#21 0x00007fa2d1ae66d3 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x5613d7bf68c0, w=0x5613d7b799f0, mask=2, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:448
#22 0x00007fa2d1a8558d in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) (this=this@entry=0x7fa2c4004e00, w=0x5613d7b57ae0, mask=2, region=..., quads=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:2058
#23 0x00007fa2d1a85e12 in KWin::Scene::paintSimpleScreen(int, QRegion) (this=0x7fa2c4004e00, orig_mask=<optimized out>, region=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/libkwineffects/kwineffects.h:2581
#24 0x00007fa2bbe60da3 in KWin::SceneOpenGL2::paintSimpleScreen(int, QRegion) (this=this@entry=0x7fa2c4004e00, mask=mask@entry=0, region=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/plugins/scenes/opengl/scene_opengl.cpp:1008
#25 0x00007fa2d1a84f80 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) (this=0x7fa2c4004e00, mask=0, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/scene.cpp:199
#26 0x00007fa2d1ae67de in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (data=..., region=..., mask=0, this=0x5613d7bf68c0) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:408
#27 0x00007fa2d1ae67de in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x5613d7bf68c0, mask=0, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:402
#28 0x00007fa2d1ae678b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x5613d7bf68c0, mask=0, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:405
#29 0x00007fa2d1ae678b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x5613d7bf68c0, mask=0, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:405
#30 0x00007fa2d1ae678b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x5613d7bf68c0, mask=0, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:405
#31 0x00007fa2d1ae678b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x5613d7bf68c0, mask=0, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:405
#32 0x00007fa2d1ae678b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x5613d7bf68c0, mask=0, region=..., data=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/effects.cpp:405
#33 0x00007fa2d1a86830 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) (this=this@entry=0x7fa2c4004e00, mask=mask@entry=0x7ffebd8a8e08, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffebd8a8df8, validRegion=validRegion@entry=0x7ffebd8a8df0, projection=..., outputGeometry=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/scene.cpp:149
#34 0x00007fa2bbe65a32 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) (this=this@entry=0x7fa2c4004e00, damage=..., toplevels=...) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/plugins/scenes/opengl/scene_opengl.h:122
#35 0x00007fa2d1b1aa65 in KWin::Compositor::performCompositing() (this=0x5613d78e7c70) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/composite.cpp:711
#36 0x00007fa2d06a4915 in QObject::event(QEvent*) (this=0x5613d78e7c70, e=0x7ffebd8a9280) at kernel/qobject.cpp:1361
#37 0x00007fa2d1183caf in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5613d77a7410, receiver=receiver@entry=0x5613d78e7c70, e=e@entry=0x7ffebd8a9280) at kernel/qapplication.cpp:3684
#38 0x00007fa2d118cdf0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffebd8a9500, receiver=0x5613d78e7c70, e=0x7ffebd8a9280) at kernel/qapplication.cpp:3430
#39 0x00007fa2d0677fe2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5613d78e7c70, event=0x7ffebd8a9280) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#40 0x00007fa2d06cdfa0 in QTimerInfoList::activateTimers() (this=this@entry=0x5613d78c08c8) at kernel/qtimerinfo_unix.cpp:643
#41 0x00007fa2d06cb6cc in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x5613d78c0840) at kernel/qeventdispatcher_unix.cpp:249
#42 0x00007fa2d06cc3b7 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#43 0x00007fa2cab8bdee in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5613d7850d90, flags=...) at qxcbeventdispatcher.cpp:60
#44 0x00007fa2d0676b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffebd8a9420, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#45 0x00007fa2d067e952 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#46 0x00007fa2d0a8356c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1866
#47 0x00007fa2d1183c25 in QApplication::exec() () at kernel/qapplication.cpp:2824
#48 0x00007fa2d1ddd479 in kdemain(int, char**) (argc=<optimized out>, argv=0x7ffebd8a96b8) at /usr/src/debug/kwin5-5.18.5-1.1.x86_64/main_x11.cpp:483
#49 0x00007fa2d1c34ceb in __libc_start_main () at /lib64/libc.so.6
#50 0x00005613d772908a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 2862) detached]

Possible duplicates by query: bug 419177, bug 418068, bug 416498, bug 416472, bug 412911.

Informar a https://bugs.kde.org/
Comment 4 Nate Graham 2021-02-08 19:18:24 UTC
[KCrash Handler]
#6  0x00007fb41a8e99cd in  () at /usr/lib64/opengl/nvidia/lib/libGL.so.1

It's crashing somewhere in the Nvidia driver. Please report this issue to the Nvidia folks, either by sending an email to linux-bugs@nvidia.com or making a post at https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/

It would be helpful to the Nvidia developers if you could run nvidia-bug-report.sh and attach the resulting file in your report.