Bug 479432

Summary: kwin crashes when app loses focus with dialog open
Product: [Plasma] kwin Reporter: kde
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde.org, nate
Priority: NOR Keywords: drkonqi
Version: 5.27.5   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kde 2024-01-05 12:22:41 UTC
Application: kwin_x11 (5.27.5)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-17-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [CoredumpBackend]

-- Information about the crash:
Whenever I open certain dialogs and switch to another window, I get recurring crashes (every two seconds or so) until I manage to return to the original window and close the dialog.

The behavior is 100% reproducible in Thunderbird (login dialog) or Krusader (F6 - move file dialog for example).

I am unsure whether it started happening after I installed nvidia drivers (run file) or after I upgraded the distro (from debian 11 to 12)
I used NVIDIA 535.129.03 and tried the latest 535.146.02, but I am not even sure if it's related.

Since I can easily reproduce it, I can provide more information if needed, though I would appreciate a little bit detailed guide on what/how to provide said information, I am not very proficient with linux debugging, but I managed to follow the KDE debugging guide to get this bug report at least.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault

           PID: 38686 (kwin_x11)
           UID: 1000 (becky)
           GID: 1000 (becky)
        Signal: 11 (SEGV)
     Timestamp: Fri 2024-01-05 13:14:45 CET (5min ago)
  Command Line: /usr/bin/kwin_x11 --replace
    Executable: /usr/bin/kwin_x11
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_x11.service
          Unit: user@1000.service
     User Unit: plasma-kwin_x11.service
         Slice: user-1000.slice
     Owner UID: 1000 (becky)
       Boot ID: 315bc77d07f94a6c9374e69352e7d933
    Machine ID: 41f7899ac834407eb422cdebc8583eec
      Hostname: dingleberry
       Storage: /var/lib/systemd/coredump/core.kwin_x11.1000.315bc77d07f94a6c9374e69352e7d933.38686.1704456885000000.zst (present)
  Size on Disk: 6.0M
       Message: Process 38686 (kwin_x11) of user 1000 dumped core.
                
                Module libsystemd.so.0 from deb systemd-252.19-1~deb12u1.amd64
                Module libudev.so.1 from deb systemd-252.19-1~deb12u1.amd64
                Stack trace of thread 38686:
                #0  0x00007f8cd1eaec24 __GI___pthread_sigmask (libc.so.6 + 0x8fc24)
                #1  0x00007f8cd1e5b1b9 __GI___sigprocmask (libc.so.6 + 0x3c1b9)
                #2  0x00007f8cd50eae9b _ZN6KCrash15setCrashHandlerEPFviE (libKF5Crash.so.5 + 0x4e9b)
                #3  0x00007f8cd50ebb3e _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x5b3e)
                #4  0x00007f8cd1e5afd0 __restore_rt (libc.so.6 + 0x3bfd0)
                #5  0x00007f8cd4d32370 _ZN4KWin6Window17finishCompositingENS_13ReleaseReasonE (libkwin.so.5 + 0x332370)
                #6  0x00007f8cd4d7db49 _ZN4KWin9X11Window17finishCompositingENS_13ReleaseReasonE (libkwin.so.5 + 0x37db49)
                #7  0x00007f8cd4bda762 _ZN4KWin10Compositor4stopEv (libkwin.so.5 + 0x1da762)
                #8  0x00007f8cd4bd815f _ZN4KWin10Compositor12reinitializeEv (libkwin.so.5 + 0x1d815f)
                #9  0x00007f8cd2ee8f4f _ZN9QtPrivate15QSlotObjectBase4callEP7QObjectPPv (libQt5Core.so.5 + 0x2e8f4f)
                #10 0x00007f8cd4d53b4e _ZN4KWin9Workspace15slotReconfigureEv (libkwin.so.5 + 0x353b4e)
                #11 0x00007f8cd2ee8f4f _ZN9QtPrivate15QSlotObjectBase4callEP7QObjectPPv (libQt5Core.so.5 + 0x2e8f4f)
                #12 0x00007f8cd2eecd6a _ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2ecd6a)
                #13 0x00007f8cd2edd50d _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd50d)
                #14 0x00007f8cd2562fae _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x162fae)
                #15 0x00007f8cd2eb16f8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b16f8)
                #16 0x00007f8cd2f08c31 _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5 + 0x308c31)
                #17 0x00007f8cd2f094fc timerSourceDispatch (libQt5Core.so.5 + 0x3094fc)
                #18 0x00007f8cd0b1e7a9 g_main_dispatch (libglib-2.0.so.0 + 0x547a9)
                #19 0x00007f8cd0b1ea38 g_main_context_iterate (libglib-2.0.so.0 + 0x54a38)
                #20 0x00007f8cd0b1eacc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #21 0x00007f8cd2f09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836)
                #22 0x00007f8cd2eb017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #23 0x00007f8cd2eb82d6 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2b82d6)
                #24 0x000055b9397172d1 main (kwin_x11 + 0x432d1)
                #25 0x00007f8cd1e461ca __libc_start_call_main (libc.so.6 + 0x271ca)
                #26 0x00007f8cd1e46285 __libc_start_main_impl (libc.so.6 + 0x27285)
                #27 0x000055b9397187b1 _start (kwin_x11 + 0x447b1)
                
                Stack trace of thread 38736:
                #0  0x00007f8cd1f1b05f __GI___poll (libc.so.6 + 0xfc05f)
                #1  0x00007f8cd0b1e9ae g_main_context_poll (libglib-2.0.so.0 + 0x549ae)
                #2  0x00007f8cd0b1eacc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #3  0x00007f8cd2f0984e _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30984e)
                #4  0x00007f8cd2eb017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #5  0x00007f8cd2ccab87 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcab87)
                #6  0x00007f8cd231a487 _ZN22QDBusConnectionManager3runEv (libQt5DBus.so.5 + 0x17487)
                #7  0x00007f8cd2ccbd43 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbd43)
                #8  0x00007f8cd1ea8044 start_thread (libc.so.6 + 0x89044)
                #9  0x00007f8cd1f2861c __clone3 (libc.so.6 + 0x10961c)
                
                Stack trace of thread 38805:
                #0  0x00007f8cd1f1b05f __GI___poll (libc.so.6 + 0xfc05f)
                #1  0x00007f8cc5d2b7c7 n/a (libnvidia-glcore.so.535.146.02 + 0x152b7c7)
                #2  0x00007f8cc5d139b4 n/a (libnvidia-glcore.so.535.146.02 + 0x15139b4)
                #3  0x00007f8cd1ea8044 start_thread (libc.so.6 + 0x89044)
                #4  0x00007f8cd1f2861c __clone3 (libc.so.6 + 0x10961c)
                
                Stack trace of thread 38738:
                #0  0x00007f8cd1ea4da6 __futex_abstimed_wait_common64 (libc.so.6 + 0x85da6)
                #1  0x00007f8cd1ea774c __pthread_cond_wait_common (libc.so.6 + 0x8874c)
                #2  0x00007f8cd2cd19bc _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd19bc)
                #3  0x00007f8cd2ccf0a5 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcf0a5)
                #4  0x00007f8cd2ccbd43 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbd43)
                #5  0x00007f8cd1ea8044 start_thread (libc.so.6 + 0x89044)
                #6  0x00007f8cd1f2861c __clone3 (libc.so.6 + 0x10961c)
                
                Stack trace of thread 38750:
                #0  0x00007f8cd1f1b05f __GI___poll (libc.so.6 + 0xfc05f)
                #1  0x00007f8cd0b1e9ae g_main_context_poll (libglib-2.0.so.0 + 0x549ae)
                #2  0x00007f8cd0b1eacc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #3  0x00007f8cd2f09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836)
                #4  0x00007f8cd2eb017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #5  0x00007f8cd2ccab87 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcab87)
                #6  0x00007f8cd4128555 _ZN17QQmlThreadPrivate3runEv (libQt5Qml.so.5 + 0x328555)
                #7  0x00007f8cd2ccbd43 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbd43)
                #8  0x00007f8cd1ea8044 start_thread (libc.so.6 + 0x89044)
                #9  0x00007f8cd1f2861c __clone3 (libc.so.6 + 0x10961c)
                
                Stack trace of thread 39621:
                #0  0x00007f8cd1ea4da6 __futex_abstimed_wait_common64 (libc.so.6 + 0x85da6)
                #1  0x00007f8cd1ea7468 __pthread_cond_wait_common (libc.so.6 + 0x88468)
                #2  0x00007f8cd2cd1a2b _ZN21QWaitConditionPrivate4waitE14QDeadlineTimer (libQt5Core.so.5 + 0xd1a2b)
                #3  0x00007f8cd4608085 n/a (libQt5Quick.so.5 + 0x208085)
                #4  0x00007f8cd460a4b1 n/a (libQt5Quick.so.5 + 0x20a4b1)
                #5  0x00007f8cd2ccbd43 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbd43)
                #6  0x00007f8cd1ea8044 start_thread (libc.so.6 + 0x89044)
                #7  0x00007f8cd1f2861c __clone3 (libc.so.6 + 0x10961c)
                
                Stack trace of thread 40238:
                #0  0x00007f8cd1f1b05f __GI___poll (libc.so.6 + 0xfc05f)
                #1  0x00007f8cd0b1e9ae g_main_context_poll (libglib-2.0.so.0 + 0x549ae)
                #2  0x00007f8cd0b1eacc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #3  0x00007f8cd2f09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836)
                #4  0x00007f8cd2eb017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #5  0x00007f8cd2ccab87 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcab87)
                #6  0x00007f8cd2ccbd43 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbd43)
                #7  0x00007f8cd1ea8044 start_thread (libc.so.6 + 0x89044)
                #8  0x00007f8cd1f2861c __clone3 (libc.so.6 + 0x10961c)
                
                Stack trace of thread 39549:
                #0  0x00007f8cd1ea4da6 __futex_abstimed_wait_common64 (libc.so.6 + 0x85da6)
                #1  0x00007f8cd1ea774c __pthread_cond_wait_common (libc.so.6 + 0x8874c)
                #2  0x00007f8cd2cd19bc _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd19bc)
                #3  0x00007f8cd2ccf0a5 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcf0a5)
                #4  0x00007f8cd2ccbd43 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbd43)
                #5  0x00007f8cd1ea8044 start_thread (libc.so.6 + 0x89044)
                #6  0x00007f8cd1f2861c __clone3 (libc.so.6 + 0x10961c)
                
                Stack trace of thread 39551:
                #0  0x00007f8cd1ea4da6 __futex_abstimed_wait_common64 (libc.so.6 + 0x85da6)
                #1  0x00007f8cd1ea774c __pthread_cond_wait_common (libc.so.6 + 0x8874c)
                #2  0x00007f8cd2cd19bc _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd19bc)
                #3  0x00007f8cd2ccf0a5 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcf0a5)
                #4  0x00007f8cd2ccbd43 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbd43)
                #5  0x00007f8cd1ea8044 start_thread (libc.so.6 + 0x89044)
                #6  0x00007f8cd1f2861c __clone3 (libc.so.6 + 0x10961c)
                
                Stack trace of thread 39550:
                #0  0x00007f8cd1ea4da6 __futex_abstimed_wait_common64 (libc.so.6 + 0x85da6)
                #1  0x00007f8cd1ea774c __pthread_cond_wait_common (libc.so.6 + 0x8874c)
                #2  0x00007f8cd2cd19bc _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd19bc)
                #3  0x00007f8cd2ccf0a5 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcf0a5)
                #4  0x00007f8cd2ccbd43 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbd43)
                #5  0x00007f8cd1ea8044 start_thread (libc.so.6 + 0x89044)
                #6  0x00007f8cd1f2861c __clone3 (libc.so.6 + 0x10961c)
                
                Stack trace of thread 39425:
                #0  0x00007f8cd1f1b05f __GI___poll (libc.so.6 + 0xfc05f)
                #1  0x00007f8cd0b1e9ae g_main_context_poll (libglib-2.0.so.0 + 0x549ae)
                #2  0x00007f8cd0b1eacc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #3  0x00007f8cd2f09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836)
                #4  0x00007f8cd2eb017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #5  0x00007f8cd2ccab87 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcab87)
                #6  0x00007f8cd2ccbd43 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbd43)
                #7  0x00007f8cd1ea8044 start_thread (libc.so.6 + 0x89044)
                #8  0x00007f8cd1f2861c __clone3 (libc.so.6 + 0x10961c)
                ELF object binary architecture: AMD x86-64

[New LWP 38686]
[New LWP 38736]
[New LWP 38805]
[New LWP 38738]
[New LWP 38750]
[New LWP 39621]
[New LWP 40238]
[New LWP 39549]
[New LWP 39551]
[New LWP 39550]
[New LWP 39425]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/kwin_x11 --replace'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at ./nptl/pthread_sigmask.c:43
[Current thread is 1 (Thread 0x7f8ccda3c9c0 (LWP 38686))]
[Current thread is 1 (Thread 0x7f8ccda3c9c0 (LWP 38686))]

Thread 11 (Thread 0x7f8cba1e96c0 (LWP 39425)):
#0  0x00007f8cd1f1b05f in __GI___poll (fds=0x7f8ca403c9b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8cd0b1e9ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f8ca403c9b0, timeout=<optimized out>, context=0x7f8ca4053930) at ../../../glib/gmain.c:4553
#2  g_main_context_iterate (context=context@entry=0x7f8ca4053930, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4243
#3  0x00007f8cd0b1eacc in g_main_context_iteration (context=0x7f8ca4053930, may_block=1) at ../../../glib/gmain.c:4313
#4  0x00007f8cd2f09836 in QEventDispatcherGlib::processEvents (this=0x7f8ca40539f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f8cd2eb017b in QEventLoop::exec (this=this@entry=0x7f8cba1e8bc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f8cd2ccab87 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f8cd2ccbd43 in QThreadPrivate::start (arg=0x55b939c6aec0) at thread/qthread_unix.cpp:331
#8  0x00007f8cd1ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f8cd1f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7f8c939fe6c0 (LWP 39550)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7f8c939fdb30, op=137, expected=0, futex_word=0x55b93a21e6f4) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55b93a21e6f4, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f8c939fdb30, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f8cd1ea4e0b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b93a21e6f4, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f8c939fdb30, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f8cd1ea774c in __pthread_cond_wait_common (abstime=0x7f8c939fdb30, clockid=1, mutex=0x55b93a21e6a0, cond=0x55b93a21e6c8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55b93a21e6c8, mutex=0x55b93a21e6a0, abstime=0x7f8c939fdb30) at ./nptl/pthread_cond_wait.c:643
#5  0x00007f8cd2cd19bc in QWaitConditionPrivate::wait_relative (deadline=..., this=0x55b93a21e6a0) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait (deadline=..., this=0x55b93a21e6a0) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait (this=this@entry=0x55b939ebe880, mutex=mutex@entry=0x55b939d2c5b8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x00007f8cd2ccf0a5 in QThreadPoolThread::run (this=0x55b939ebe870) at thread/qthreadpool.cpp:140
#9  0x00007f8cd2ccbd43 in QThreadPrivate::start (arg=0x55b939ebe870) at thread/qthread_unix.cpp:331
#10 0x00007f8cd1ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007f8cd1f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7f8c8bfff6c0 (LWP 39551)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7f8c8bffeb30, op=137, expected=0, futex_word=0x55b93a21b4f0) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55b93a21b4f0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f8c8bffeb30, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f8cd1ea4e0b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b93a21b4f0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f8c8bffeb30, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f8cd1ea774c in __pthread_cond_wait_common (abstime=0x7f8c8bffeb30, clockid=1, mutex=0x55b93a21b4a0, cond=0x55b93a21b4c8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55b93a21b4c8, mutex=0x55b93a21b4a0, abstime=0x7f8c8bffeb30) at ./nptl/pthread_cond_wait.c:643
#5  0x00007f8cd2cd19bc in QWaitConditionPrivate::wait_relative (deadline=..., this=0x55b93a21b4a0) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait (deadline=..., this=0x55b93a21b4a0) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait (this=this@entry=0x55b939eb5710, mutex=mutex@entry=0x55b939d2c5b8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x00007f8cd2ccf0a5 in QThreadPoolThread::run (this=0x55b939eb5700) at thread/qthreadpool.cpp:140
#9  0x00007f8cd2ccbd43 in QThreadPrivate::start (arg=0x55b939eb5700) at thread/qthread_unix.cpp:331
#10 0x00007f8cd1ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007f8cd1f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7f8c941ff6c0 (LWP 39549)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7f8c941feb30, op=137, expected=0, futex_word=0x55b93a21f2a4) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55b93a21f2a4, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f8c941feb30, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f8cd1ea4e0b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b93a21f2a4, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f8c941feb30, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f8cd1ea774c in __pthread_cond_wait_common (abstime=0x7f8c941feb30, clockid=1, mutex=0x55b93a21f250, cond=0x55b93a21f278) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55b93a21f278, mutex=0x55b93a21f250, abstime=0x7f8c941feb30) at ./nptl/pthread_cond_wait.c:643
#5  0x00007f8cd2cd19bc in QWaitConditionPrivate::wait_relative (deadline=..., this=0x55b93a21f250) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait (deadline=..., this=0x55b93a21f250) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait (this=this@entry=0x55b93a115b00, mutex=mutex@entry=0x55b939d2c5b8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x00007f8cd2ccf0a5 in QThreadPoolThread::run (this=0x55b93a115af0) at thread/qthreadpool.cpp:140
#9  0x00007f8cd2ccbd43 in QThreadPrivate::start (arg=0x55b93a115af0) at thread/qthread_unix.cpp:331
#10 0x00007f8cd1ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007f8cd1f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7f8c91efb6c0 (LWP 40238)):
#0  0x00007f8cd1f1b05f in __GI___poll (fds=0x7f8c7809d6e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8cd0b1e9ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f8c7809d6e0, timeout=<optimized out>, context=0x7f8c780967a0) at ../../../glib/gmain.c:4553
#2  g_main_context_iterate (context=context@entry=0x7f8c780967a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4243
#3  0x00007f8cd0b1eacc in g_main_context_iteration (context=0x7f8c780967a0, may_block=1) at ../../../glib/gmain.c:4313
#4  0x00007f8cd2f09836 in QEventDispatcherGlib::processEvents (this=0x7f8c780034a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f8cd2eb017b in QEventLoop::exec (this=this@entry=0x7f8c91efabc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f8cd2ccab87 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f8cd2ccbd43 in QThreadPrivate::start (arg=0x55b939c51a70) at thread/qthread_unix.cpp:331
#8  0x00007f8cd1ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f8cd1f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f8c92ffd6c0 (LWP 39621)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7f8cc8016140) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f8cc8016140, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f8cd1ea4e0b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f8cc8016140, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f8cd1ea7468 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f8cc80160f0, cond=0x7f8cc8016118) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x7f8cc8016118, mutex=0x7f8cc80160f0) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f8cd2cd1a2b in QWaitConditionPrivate::wait (deadline=..., this=0x7f8cc80160f0) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait (this=<optimized out>, mutex=0x55b93a289ad0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007f8cd4608085 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f8cd460a4b1 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f8cd2ccbd43 in QThreadPrivate::start (arg=0x55b93a289a30) at thread/qthread_unix.cpp:331
#10 0x00007f8cd1ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007f8cd1f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f8cbb7fe6c0 (LWP 38750)):
#0  0x00007f8cd1f1b05f in __GI___poll (fds=0x7f8cac0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8cd0b1e9ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f8cac0029e0, timeout=<optimized out>, context=0x7f8cac000c30) at ../../../glib/gmain.c:4553
#2  g_main_context_iterate (context=context@entry=0x7f8cac000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4243
#3  0x00007f8cd0b1eacc in g_main_context_iteration (context=0x7f8cac000c30, may_block=1) at ../../../glib/gmain.c:4313
#4  0x00007f8cd2f09836 in QEventDispatcherGlib::processEvents (this=0x7f8cac000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f8cd2eb017b in QEventLoop::exec (this=this@entry=0x7f8cbb7fdba0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f8cd2ccab87 in QThread::exec (this=this@entry=0x55b939e07fe0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f8cd4128555 in QQmlThreadPrivate::run (this=0x55b939e07fe0) at qml/ftw/qqmlthread.cpp:155
#8  0x00007f8cd2ccbd43 in QThreadPrivate::start (arg=0x55b939e07fe0) at thread/qthread_unix.cpp:331
#9  0x00007f8cd1ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007f8cd1f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f8cbbfff6c0 (LWP 38738)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7f8cbbffeb30, op=137, expected=0, futex_word=0x55b939d27ee0) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55b939d27ee0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f8cbbffeb30, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f8cd1ea4e0b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b939d27ee0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f8cbbffeb30, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f8cd1ea774c in __pthread_cond_wait_common (abstime=0x7f8cbbffeb30, clockid=1, mutex=0x55b939d27e90, cond=0x55b939d27eb8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55b939d27eb8, mutex=0x55b939d27e90, abstime=0x7f8cbbffeb30) at ./nptl/pthread_cond_wait.c:643
#5  0x00007f8cd2cd19bc in QWaitConditionPrivate::wait_relative (deadline=..., this=0x55b939d27e90) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait (deadline=..., this=0x55b939d27e90) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait (this=this@entry=0x7f8cbc00ccb0, mutex=mutex@entry=0x55b939d2c5b8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x00007f8cd2ccf0a5 in QThreadPoolThread::run (this=0x7f8cbc00cca0) at thread/qthreadpool.cpp:140
#9  0x00007f8cd2ccbd43 in QThreadPrivate::start (arg=0x7f8cbc00cca0) at thread/qthread_unix.cpp:331
#10 0x00007f8cd1ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007f8cd1f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f8c9f9ac6c0 (LWP 38805)):
#0  0x00007f8cd1f1b05f in __GI___poll (fds=0x7f8c9f9abbf8, nfds=1, timeout=300000) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8cc5d2b7c7 in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.535.146.02
#2  0x00007f8cc5d139b4 in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.535.146.02
#3  0x00007f8cd1ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#4  0x00007f8cd1f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f8cc1aba6c0 (LWP 38736)):
#0  0x00007f8cd1f1b05f in __GI___poll (fds=0x7f8cbc0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8cd0b1e9ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f8cbc0029e0, timeout=<optimized out>, context=0x7f8cbc000c30) at ../../../glib/gmain.c:4553
#2  g_main_context_iterate (context=context@entry=0x7f8cbc000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4243
#3  0x00007f8cd0b1eacc in g_main_context_iteration (context=0x7f8cbc000c30, may_block=1) at ../../../glib/gmain.c:4313
#4  0x00007f8cd2f0984e in QEventDispatcherGlib::processEvents (this=0x7f8cbc000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f8cd2eb017b in QEventLoop::exec (this=this@entry=0x7f8cc1ab9b90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f8cd2ccab87 in QThread::exec (this=this@entry=0x7f8cd2392d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f8cd231a487 in QDBusConnectionManager::run (this=0x7f8cd2392d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ./src/dbus/qdbusconnection.cpp:179
#8  0x00007f8cd2ccbd43 in QThreadPrivate::start (arg=0x7f8cd2392d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:331
#9  0x00007f8cd1ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007f8cd1f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f8ccda3c9c0 (LWP 38686)):
[KCrash Handler]
#5  0x00007f8cd4d32370 in KWin::Window::finishCompositing(KWin::ReleaseReason) () from /lib/x86_64-linux-gnu/libkwin.so.5
#6  0x00007f8cd4d7db49 in KWin::X11Window::finishCompositing(KWin::ReleaseReason) () from /lib/x86_64-linux-gnu/libkwin.so.5
#7  0x00007f8cd4bda762 in KWin::Compositor::stop() () from /lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007f8cd4bd815f in KWin::Compositor::reinitialize() () from /lib/x86_64-linux-gnu/libkwin.so.5
#9  0x00007f8cd2ee8f4f in QtPrivate::QSlotObjectBase::call (a=0x7ffc34be9e90, r=0x55b939df6a40, this=0x55b939dfe0f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x55b939cb6da0, signal_index=61, argv=0x7ffc34be9e90) at kernel/qobject.cpp:3923
#11 0x00007f8cd4d53b4e in KWin::Workspace::slotReconfigure() () from /lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007f8cd2ee8f4f in QtPrivate::QSlotObjectBase::call (a=0x7ffc34bea030, r=0x55b939cf5090, this=0x7f8cc8009780) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false> (sender=0x55b939cf51d0, signal_index=3, argv=0x7ffc34bea030) at kernel/qobject.cpp:3923
#14 0x00007f8cd2ee21ef in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f8cd314c2e0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc34bea030) at kernel/qobject.cpp:3983
#15 0x00007f8cd2eecd6a in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#16 0x00007f8cd2edd50d in QObject::event (this=0x55b939cf51d0, e=0x7ffc34bea180) at kernel/qobject.cpp:1369
#17 0x00007f8cd2562fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f8cd2eb16f8 in QCoreApplication::notifyInternal2 (receiver=0x55b939cf51d0, event=0x7ffc34bea180) at kernel/qcoreapplication.cpp:1064
#19 0x00007f8cd2eb18be in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#20 0x00007f8cd2f08c31 in QTimerInfoList::activateTimers (this=0x55b939ae0b40) at kernel/qtimerinfo_unix.cpp:643
#21 0x00007f8cd2f094fc in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#23 0x00007f8cd0b1e7a9 in g_main_dispatch (context=0x7f8cc8005010) at ../../../glib/gmain.c:3454
#24 g_main_context_dispatch (context=context@entry=0x7f8cc8005010) at ../../../glib/gmain.c:4172
#25 0x00007f8cd0b1ea38 in g_main_context_iterate (context=context@entry=0x7f8cc8005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4248
#26 0x00007f8cd0b1eacc in g_main_context_iteration (context=0x7f8cc8005010, may_block=1) at ../../../glib/gmain.c:4313
#27 0x00007f8cd2f09836 in QEventDispatcherGlib::processEvents (this=0x55b939ae14a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007f8cd2eb017b in QEventLoop::exec (this=this@entry=0x7ffc34bea3c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#29 0x00007f8cd2eb82d6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#30 0x000055b9397172d1 in main (argc=<optimized out>, argv=0x7ffc34bea6b8) at ./src/main_x11.cpp:447

Reported using DrKonqi
Comment 1 kde.org 2024-01-05 12:34:26 UTC
Additionally, here is the kwin support information along with xwininfo from each of my screens.

https://gist.github.com/Sharsie/4d26815e80a6d7c997506bb99caddb08
Comment 2 Nate Graham 2024-02-15 23:11:10 UTC

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