Bug 462694 - kwin_x11 freeze forever after alt+tab
Summary: kwin_x11 freeze forever after alt+tab
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.26.4
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-06 09:37 UTC by Maksim Melnikau
Modified: 2023-02-21 13:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kwin_x11 thread apply all bt with symbols (49.31 KB, text/x-log)
2022-12-06 10:46 UTC, Maksim Melnikau
Details
thread apply all bt full on frozen kwin_x11 (64.71 KB, text/x-log)
2022-12-08 11:59 UTC, Maksim Melnikau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Melnikau 2022-12-06 09:37:57 UTC
STEPS TO REPRODUCE
1. usual system usage
2. multiple regular alt-tab
3. 99.99% everything works correctly but sometimes ...

OBSERVED RESULT

everything frozen forever, music plays, but interface completely frozen 
kill -s KILL (SIGQUIT) <kwin_x11 pid> from terminal helps, after this everything woks fine for some time 

EXPECTED RESULT

normal work

Operating System: Gentoo Linux 2.9
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.5
Kernel Version: 6.0.10-gentoo-dist (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-10610U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION
coredumpctl info 36778

           PID: 36778 (kwin_x11)
           UID: 1001 (max_posedon)
           GID: 1001 (max_posedon)
        Signal: 3 (QUIT)
     Timestamp: Tue 2022-12-06 11:27:26 EET (9min ago)
  Command Line: /usr/bin/kwin_x11 --replace
    Executable: /usr/bin/kwin_x11
 Control Group: /user.slice/user-1001.slice/user@1001.service/session.slice/plasma-kwin_x11.service
          Unit: user@1001.service
     User Unit: plasma-kwin_x11.service
         Slice: user-1001.slice
     Owner UID: 1001 (max_posedon)
       Boot ID: 543bfd3665884ef9a659e8c1328f8176
    Machine ID: be1598bd68baa268cb48e33d0000000f
      Hostname: LT1-LL-008
       Storage: /var/lib/systemd/coredump/core.kwin_x11.1001.543bfd3665884ef9a659e8c1328f8176.36778.1670318846000000.zst (present)
  Size on Disk: 5.3M
       Message: Process 36778 (kwin_x11) of user 1001 dumped core.
                
                Module libplasmacomponentsplugin.so without build-id.
                Module libqtquickcontrolsplugin.so without build-id.
                Module libqtquicktemplates2plugin.so without build-id.
                Module libwindowplugin.so without build-id.
                Module libqmlplugin.so without build-id.
                Module libplasmaextracomponentsplugin.so without build-id.
                Module libOpenGL.so.0 without build-id.
                Module libKF5QuickAddons.so.5 without build-id.
                Module libKF5PlasmaQuick.so.5 without build-id.
                Module libcorebindingsplugin.so without build-id.
                Module libqquicklayoutsplugin.so without build-id.
                Module libQt5QmlWorkerScript.so.5 without build-id.
                Module libqtquick2plugin.so without build-id.
                Module libqsvg.so without build-id.
                Module libjpeg.so.62 without build-id.
                Module libqjpeg.so without build-id.
                Module libqico.so without build-id.
                Module libqgif.so without build-id.
                Module kimg_xcf.so without build-id.
                Module kimg_tga.so without build-id.
                Module kimg_rgb.so without build-id.
                Module kimg_ras.so without build-id.
                Module kimg_psd.so without build-id.
                Module kimg_pic.so without build-id.
                Module kimg_pcx.so without build-id.
                Module kimg_ora.so without build-id.
                Module kimg_kra.so without build-id.
                Module kimg_hdr.so without build-id.
                Module kimg_ani.so without build-id.
                Module libKF5ThreadWeaver.so.5 without build-id.
                Module libKF5Runner.so.5 without build-id.
                Module krunnerintegration.so without build-id.
                Module MouseButtonToKeyPlugin.so without build-id.
                Module colordintegration.so without build-id.
                Module libKWinNightColorPlugin.so without build-id.
                Module libxcb-res.so.0 without build-id.
                Module KF5WindowSystemX11Plugin.so without build-id.
                Module breezedecoration.so without build-id.
                Module libKF5Style.so.5 without build-id.
                Module libbreezecommon5.so.5 without build-id.
                Module libKF5Kirigami2.so.5 without build-id.
                Module breeze.so without build-id.
                Module libpciaccess.so.0 without build-id.
                Module libxml2.so.2 without build-id.
                Module libtinfo.so.6 without build-id.
                Module libdrm_intel.so.1 without build-id.
                Module libdrm_nouveau.so.2 without build-id.
                Module libLLVM-15.so without build-id.
                Module libxcb-present.so.0 without build-id.
                Module libxcb-dri3.so.0 without build-id.
                Module libxshmfence.so.1 without build-id.
                Module libXxf86vm.so.1 without build-id.
                Module libxcb-dri2.so.0 without build-id.
                Module libglapi.so.0 without build-id.
                Module libGLX_mesa.so.0 without build-id.
                Module libqxcb-glx-integration.so without build-id.
                Module libcomposeplatforminputcontextplugin.so without build-id.
                Module libQt5QuickTemplates2.so.5 without build-id.
                Module libKF5Bookmarks.so.5 without build-id.
                Module libQt5QuickControls2.so.5 without build-id.
                Module libKF5KIOFileWidgets.so.5 without build-id.
                Module KDEPlasmaPlatformTheme.so without build-id.
                Module libXrender.so.1 without build-id.
                Module libXcursor.so.1 without build-id.
                Module libmd.so.0 without build-id.
                Module libbsd.so.0 without build-id.
                Module libuuid.so.1 without build-id.
                Module libxkbcommon-x11.so.0 without build-id.
                Module libICE.so.6 without build-id.
                Module libSM.so.6 without build-id.
                Module libxcb-xinput.so.0 without build-id.
                Module libxcb-xkb.so.1 without build-id.
                Module libQt5XcbQpa.so.5 without build-id.
                Module libqxcb.so without build-id.
                Module libpthread.so.0 without build-id.
                Module libogg.so.0 without build-id.
                Module libvorbis.so.0 without build-id.
                Module libgpg-error.so.0 without build-id.
                Module libusbmuxd-2.0.so.6 without build-id.
                Module libblkid.so.1 without build-id.
                Module libltdl.so.7 without build-id.
                Module libvorbisfile.so.3 without build-id.
                Module libfontconfig.so.1 without build-id.
                Module libwayland-cursor.so.0 without build-id.
                Module libgobject-2.0.so.0 without build-id.
                Module libgudev-1.0.so.0 without build-id.
                Module libpcre2-8.so.0 without build-id.
                Module liblz4.so.1 without build-id.
                Module libgcrypt.so.20 without build-id.
                Module libcap.so.2 without build-id.
                Module libgraphite2.so.3 without build-id.
                Module libfreetype.so.6 without build-id.
                Module libxcb-util.so.1 without build-id.
                Module libzstd.so.1 without build-id.
                Module liblzma.so.5 without build-id.
                Module libbz2.so.1 without build-id.
                Module libplist-2.0.so.3 without build-id.
                Module libimobiledevice-1.0.so.6 without build-id.
                Module libmount.so.1 without build-id.
                Module libattr.so.1 without build-id.
                Module libacl.so.1 without build-id.
                Module libKF5ItemViews.so.5 without build-id.
                Module libQt5PrintSupport.so.5 without build-id.
                Module libdbus-1.so.3 without build-id.
                Module libXdmcp.so.6 without build-id.
                Module libXau.so.6 without build-id.
                Module libXfixes.so.3 without build-id.
                Module libdbusmenu-qt5.so.2 without build-id.
                Module libXtst.so.6 without build-id.
                Module libcanberra.so.0 without build-id.
                Module libKF5DBusAddons.so.5 without build-id.
                Module libcrypto.so.1.1 without build-id.
                Module libssl.so.1.1 without build-id.
                Module libKF5ConfigQml.so.5 without build-id.
                Module libKF5IdleTime.so.5 without build-id.
                Module libffi.so.8 without build-id.
                Module libQt5WaylandClient.so.5 without build-id.
                Module libwacom.so.9 without build-id.
                Module libevdev.so.2 without build-id.
                Module libmtdev.so.1 without build-id.
                Module libexpat.so.1 without build-id.
                Module libGLX.so.0 without build-id.
                Module libglib-2.0.so.0 without build-id.
                Module libgthread-2.0.so.0 without build-id.
                Module libpcre2-16.so.0 without build-id.
                Module libicudata.so.72 without build-id.
                Module libicuuc.so.72 without build-id.
                Module libicui18n.so.72 without build-id.
                Module libdouble-conversion.so.3 without build-id.
                Module libsystemd.so.0 without build-id.
                Module libharfbuzz.so.0 without build-id.
                Module libz.so.1 without build-id.
                Module libpng16.so.16 without build-id.
                Module libGLdispatch.so.0 without build-id.
                Module ld-linux-x86-64.so.2 without build-id.
                Module libxcb-image.so.0 without build-id.
                Module libxcb-render-util.so.0 without build-id.
                Module libKF5GuiAddons.so.5 without build-id.
                Module libKF5Archive.so.5 without build-id.
                Module libQt5Svg.so.5 without build-id.
                Module libKF5IconThemes.so.5 without build-id.
                Module libKF5Completion.so.5 without build-id.
                Module libKF5Solid.so.5 without build-id.
                Module libKF5JobWidgets.so.5 without build-id.
                Module libKF5KIOCore.so.5 without build-id.
                Module libKF5KIOGui.so.5 without build-id.
                Module libKF5KIOWidgets.so.5 without build-id.
                Module libKF5XmlGui.so.5 without build-id.
                Module libKF5Declarative.so.5 without build-id.
                Module libQt5Sql.so.5 without build-id.
                Module libc.so.6 without build-id.
                Module libgcc_s.so.1 without build-id.
                Module libm.so.6 without build-id.
                Module libstdc++.so.6 without build-id.
                Module libQt5Xml.so.5 without build-id.
                Module libQt5DBus.so.5 without build-id.
                Module libKF5ConfigCore.so.5 without build-id.
                Module libKF5ConfigGui.so.5 without build-id.
                Module libxcb.so.1 without build-id.
                Module libQt5X11Extras.so.5 without build-id.
                Module libX11.so.6 without build-id.
                Module libKF5WindowSystem.so.5 without build-id.
                Module libKF5I18n.so.5 without build-id.
                Module libKF5CoreAddons.so.5 without build-id.
                Module libepoxy.so.0 without build-id.
                Module libkwinglutils.so.14 without build-id.
                Module libkwineffects.so.14 without build-id.
                Module libQt5Widgets.so.5 without build-id.
                Module libKF5GlobalAccel.so.5 without build-id.
                Module libKF5Notifications.so.5 without build-id.
                Module libKF5Service.so.5 without build-id.
                Module libQt5Concurrent.so.5 without build-id.
                Module libKF5AuthCore.so.5 without build-id.
                Module libKF5Auth.so.5 without build-id.
                Module libKF5WidgetsAddons.so.5 without build-id.
                Module libKF5Codecs.so.5 without build-id.
                Module libKF5ConfigWidgets.so.5 without build-id.
                Module libQt5Network.so.5 without build-id.
                Module libKF5Package.so.5 without build-id.
                Module libKScreenLocker.so.5 without build-id.
                Module libKF5Activities.so.5 without build-id.
                Module libwayland-server.so.0 without build-id.
                Module libX11-xcb.so.1 without build-id.
                Module libwayland-client.so.0 without build-id.
                Module libwayland-egl.so.1 without build-id.
                Module libKF5WaylandClient.so.5 without build-id.
                Module libinput.so.10 without build-id.
                Module libxcvt.so.0 without build-id.
                Module libgbm.so.1 without build-id.
                Module libdrm.so.2 without build-id.
                Module libGL.so.1 without build-id.
                Module libQt5Core.so.5 without build-id.
                Module libQt5Gui.so.5 without build-id.
                Module liblcms2.so.2 without build-id.
                Module libEGL.so.1 without build-id.
                Module libxkbcommon.so.0 without build-id.
                Module libudev.so.1 without build-id.
                Module libxcb-xinerama.so.0 without build-id.
                Module libxcb-shape.so.0 without build-id.
                Module libxcb-render.so.0 without build-id.
                Module libxcb-xfixes.so.0 without build-id.
                Module libxcb-sync.so.1 without build-id.
                Module libxcb-shm.so.0 without build-id.
                Module libxcb-randr.so.0 without build-id.
                Module libxcb-keysyms.so.1 without build-id.
                Module libxcb-icccm.so.4 without build-id.
                Module libxcb-glx.so.0 without build-id.
                Module libxcb-damage.so.0 without build-id.
                Module libxcb-cursor.so.0 without build-id.
                Module libxcb-composite.so.0 without build-id.
                Module libkdecorations2private.so.9 without build-id.
                Module libkdecorations2.so.5 without build-id.
                Module libKF5GlobalAccelPrivate.so.5 without build-id.
                Module libQt5Qml.so.5 without build-id.
                Module libQt5QmlModels.so.5 without build-id.
                Module libQt5Quick.so.5 without build-id.
                Module libXext.so.6 without build-id.
                Module libXi.so.6 without build-id.
                Module libkwin.so.5 without build-id.
                Module libKF5Plasma.so.5 without build-id.
                Module libKF5Crash.so.5 without build-id.
                Module kwin_x11 without build-id.
                Stack trace of thread 36778:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f751b2d16cb _ZN21QWaitConditionPrivate4waitE14QDeadlineTimer (libQt5Core.so.5 + 0xd16cb)
                #3  0x00007f751c60adb3 _ZN21QSGThreadedRenderLoop16releaseResourcesEPNS_6WindowEb (libQt5Quick.so.5 + 0x20adb3)
                #4  0x00007f751c677243 _ZN12QQuickWindow5eventEP6QEvent (libQt5Quick.so.5 + 0x277243)
                #5  0x00007f751a56370f _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x16370f)
                #6  0x00007f751b477458 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x277458)
                #7  0x00007f751b922929 _ZN14QWindowPrivate7destroyEv (libQt5Gui.so.5 + 0x122929)
                #8  0x00007f751cec75ff _ZN4KWin6TabBox13TabBoxHandler4hideEb (libkwin.so.5 + 0x4c75ff)
                #9  0x00007f751cec091d _ZN4KWin6TabBox6TabBox4hideEb (libkwin.so.5 + 0x4c091d)
                #10 0x00007f751cec1201 _ZN4KWin6TabBox6TabBox5closeEb (libkwin.so.5 + 0x4c1201)
                #11 0x00007f751cec14da _ZN4KWin6TabBox6TabBox6acceptEb (libkwin.so.5 + 0x4c14da)
                #12 0x00007f751cec174a _ZN4KWin6TabBox6TabBox17modifiersReleasedEv (libkwin.so.5 + 0x4c174a)
                #13 0x00007f751ceca3d8 _ZN4KWin6TabBox9X11Filter5eventEP19xcb_generic_event_t (libkwin.so.5 + 0x4ca3d8)
                #14 0x00007f751ccccd08 _ZN4KWin11Application13dispatchEventEP19xcb_generic_event_t (libkwin.so.5 + 0x2ccd08)
                #15 0x00007f751b474a4c _ZN24QAbstractEventDispatcher17filterNativeEventERK10QByteArrayPvPl (libQt5Core.so.5 + 0x274a4c)
                #16 0x00007f75158fe1c1 _ZN14QXcbConnection14handleXcbEventEP19xcb_generic_event_t (libQt5XcbQpa.so.5 + 0x3d1c1)
                #17 0x00007f75158ff8e6 _ZN14QXcbConnection16processXcbEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5XcbQpa.so.5 + 0x3e8e6)
                #18 0x00007f7515925aa3 xcbSourceDispatch (libQt5XcbQpa.so.5 + 0x64aa3)
                #19 0x00007f7516b1b93b g_main_dispatch (libglib-2.0.so.0 + 0x5493b)
                #20 0x00007f7516b1bbe8 g_main_context_iterate (libglib-2.0.so.0 + 0x54be8)
                #21 0x00007f7516b1bc9f g_main_context_iteration (libglib-2.0.so.0 + 0x54c9f)
                #22 0x00007f751b4c75c6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2c75c6)
                #23 0x00007f751b475ee3 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x275ee3)
                #24 0x00007f751b47e1d0 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x27e1d0)
                #25 0x000055b7d1eb50e3 main (kwin_x11 + 0x420e3)
                #26 0x00007f751996f34a __libc_start_call_main (libc.so.6 + 0x2334a)
                #27 0x00007f751996f3fc __libc_start_main_impl (libc.so.6 + 0x233fc)
                #28 0x000055b7d1eb6501 _start (kwin_x11 + 0x43501)
                
                Stack trace of thread 36822:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f750ecd34f9 cnd_wait (iris_dri.so + 0xd34f9)
                #3  0x00007f750ec8a5db util_queue_thread_func (iris_dri.so + 0x8a5db)
                #4  0x00007f750ecd3437 impl_thrd_routine (iris_dri.so + 0xd3437)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36779:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f751aabdee1 _xcb_conn_wait (libxcb.so.1 + 0xcee1)
                #3  0x00007f751aac012a xcb_wait_for_event (libxcb.so.1 + 0xf12a)
                #4  0x00007f7515924a80 _ZN14QXcbEventQueue3runEv (libQt5XcbQpa.so.5 + 0x63a80)
                #5  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #6  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #7  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36824:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f750ecd34f9 cnd_wait (iris_dri.so + 0xd34f9)
                #3  0x00007f750ec8a5db util_queue_thread_func (iris_dri.so + 0x8a5db)
                #4  0x00007f750ecd3437 impl_thrd_routine (iris_dri.so + 0xd3437)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36826:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f750ecd34f9 cnd_wait (iris_dri.so + 0xd34f9)
                #3  0x00007f750ec8a5db util_queue_thread_func (iris_dri.so + 0x8a5db)
                #4  0x00007f750ecd3437 impl_thrd_routine (iris_dri.so + 0xd3437)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36823:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f750ecd34f9 cnd_wait (iris_dri.so + 0xd34f9)
                #3  0x00007f750ec8a5db util_queue_thread_func (iris_dri.so + 0x8a5db)
                #4  0x00007f750ecd3437 impl_thrd_routine (iris_dri.so + 0xd3437)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36825:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f750ecd34f9 cnd_wait (iris_dri.so + 0xd34f9)
                #3  0x00007f750ec8a5db util_queue_thread_func (iris_dri.so + 0x8a5db)
                #4  0x00007f750ecd3437 impl_thrd_routine (iris_dri.so + 0xd3437)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36827:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f750ecd34f9 cnd_wait (iris_dri.so + 0xd34f9)
                #3  0x00007f750ec8a5db util_queue_thread_func (iris_dri.so + 0x8a5db)
                #4  0x00007f750ecd3437 impl_thrd_routine (iris_dri.so + 0xd3437)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36830:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f750ecd34f9 cnd_wait (iris_dri.so + 0xd34f9)
                #3  0x00007f750ec8a5db util_queue_thread_func (iris_dri.so + 0x8a5db)
                #4  0x00007f750ecd3437 impl_thrd_routine (iris_dri.so + 0xd3437)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36857:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f750ecd34f9 cnd_wait (iris_dri.so + 0xd34f9)
                #3  0x00007f750ec8a5db util_queue_thread_func (iris_dri.so + 0x8a5db)
                #4  0x00007f750ecd3437 impl_thrd_routine (iris_dri.so + 0xd3437)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36828:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccbf0 __pthread_cond_wait_common (libc.so.6 + 0x80bf0)
                #2  0x00007f750ecd34f9 cnd_wait (iris_dri.so + 0xd34f9)
                #3  0x00007f750ec8a5db util_queue_thread_func (iris_dri.so + 0x8a5db)
                #4  0x00007f750ecd3437 impl_thrd_routine (iris_dri.so + 0xd3437)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36833:
                #0  0x00007f7519a3f35f __GI___poll (libc.so.6 + 0xf335f)
                #1  0x00007f7516b1bb86 g_main_context_poll (libglib-2.0.so.0 + 0x54b86)
                #2  0x00007f7516b1bc9f g_main_context_iteration (libglib-2.0.so.0 + 0x54c9f)
                #3  0x00007f751b4c75c6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2c75c6)
                #4  0x00007f751b475ee3 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x275ee3)
                #5  0x00007f751b2cad7a _ZN7QThread4execEv (libQt5Core.so.5 + 0xcad7a)
                #6  0x00007f751c11e805 _ZN17QQmlThreadPrivate3runEv (libQt5Qml.so.5 + 0x31e805)
                #7  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #8  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #9  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36831:
                #0  0x00007f7519a3f35f __GI___poll (libc.so.6 + 0xf335f)
                #1  0x00007f7516b1bb86 g_main_context_poll (libglib-2.0.so.0 + 0x54b86)
                #2  0x00007f7516b1bc9f g_main_context_iteration (libglib-2.0.so.0 + 0x54c9f)
                #3  0x00007f751b4c75c6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2c75c6)
                #4  0x00007f751b475ee3 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x275ee3)
                #5  0x00007f751b2cad7a _ZN7QThread4execEv (libQt5Core.so.5 + 0xcad7a)
                #6  0x00007f7519f184e7 _ZN22QDBusConnectionManager3runEv (libQt5DBus.so.5 + 0x174e7)
                #7  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #8  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #9  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 54770:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccef4 __pthread_cond_wait_common (libc.so.6 + 0x80ef4)
                #2  0x00007f751b2d1635 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd1635)
                #3  0x00007f751b2cef53 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcef53)
                #4  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 54768:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccef4 __pthread_cond_wait_common (libc.so.6 + 0x80ef4)
                #2  0x00007f751b2d1635 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd1635)
                #3  0x00007f751b2cef53 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcef53)
                #4  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 54769:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccef4 __pthread_cond_wait_common (libc.so.6 + 0x80ef4)
                #2  0x00007f751b2d1635 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd1635)
                #3  0x00007f751b2cef53 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcef53)
                #4  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 54772:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccef4 __pthread_cond_wait_common (libc.so.6 + 0x80ef4)
                #2  0x00007f751b2d1635 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd1635)
                #3  0x00007f751b2cef53 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcef53)
                #4  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 54771:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccef4 __pthread_cond_wait_common (libc.so.6 + 0x80ef4)
                #2  0x00007f751b2d1635 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd1635)
                #3  0x00007f751b2cef53 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcef53)
                #4  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 54773:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccef4 __pthread_cond_wait_common (libc.so.6 + 0x80ef4)
                #2  0x00007f751b2d1635 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd1635)
                #3  0x00007f751b2cef53 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcef53)
                #4  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 54774:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccef4 __pthread_cond_wait_common (libc.so.6 + 0x80ef4)
                #2  0x00007f751b2d1635 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd1635)
                #3  0x00007f751b2cef53 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcef53)
                #4  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 36858:
                #0  0x00007f7519a3f35f __GI___poll (libc.so.6 + 0xf335f)
                #1  0x00007f751aabdd12 poll (libxcb.so.1 + 0xcd12)
                #2  0x00007f751aac021a xcb_wait_for_special_event (libxcb.so.1 + 0xf21a)
                #3  0x00007f7514ced646 dri3_wait_for_event_locked (libGLX_mesa.so.0 + 0x4e646)
                #4  0x00007f7514cee183 dri3_find_back (libGLX_mesa.so.0 + 0x4f183)
                #5  0x00007f7514cefac1 dri3_get_buffer (libGLX_mesa.so.0 + 0x50ac1)
                #6  0x00007f7514ceff6a loader_dri3_get_buffers (libGLX_mesa.so.0 + 0x50f6a)
                #7  0x00007f750ec7d758 dri_image_drawable_get_buffers (iris_dri.so + 0x7d758)
                #8  0x00007f750ec7d899 dri2_allocate_textures (iris_dri.so + 0x7d899)
                #9  0x00007f750ec7f085 dri_st_framebuffer_validate (iris_dri.so + 0x7f085)
                #10 0x00007f750ed4fcc2 st_framebuffer_validate (iris_dri.so + 0x14fcc2)
                #11 0x00007f750ed4ff96 st_api_make_current (iris_dri.so + 0x14ff96)
                #12 0x00007f750ec7ec57 dri_make_current (iris_dri.so + 0x7ec57)
                #13 0x00007f750ec81b5f driBindContext (iris_dri.so + 0x81b5f)
                #14 0x00007f7514ce1e5c dri3_bind_context (libGLX_mesa.so.0 + 0x42e5c)
                #15 0x00007f7514cd284e MakeContextCurrent (libGLX_mesa.so.0 + 0x3384e)
                #16 0x00007f7516a967e3 InternalMakeCurrentVendor (libGLX.so.0 + 0x37e3)
                #17 0x00007f7516a97123 InternalMakeCurrentDispatch (libGLX.so.0 + 0x4123)
                #18 0x00007f7516a9838b CommonMakeCurrent (libGLX.so.0 + 0x538b)
                #19 0x00007f7515da6f8d _ZN11QGLXContext11makeCurrentEP16QPlatformSurface (libqxcb-glx-integration.so + 0xaf8d)
                #20 0x00007f751b953a6e _ZN14QOpenGLContext11makeCurrentEP8QSurface (libQt5Gui.so.5 + 0x153a6e)
                #21 0x00007f751c6086bd _ZN15QSGRenderThread18invalidateGraphicsEP12QQuickWindowbP17QOffscreenSurface (libQt5Quick.so.5 + 0x2086bd)
                #22 0x00007f751c60d6ba _ZN15QSGRenderThread5eventEP6QEvent (libQt5Quick.so.5 + 0x20d6ba)
                #23 0x00007f751c607927 _ZN15QSGRenderThread27processEventsAndWaitForMoreEv (libQt5Quick.so.5 + 0x207927)
                #24 0x00007f751c609d89 _ZN15QSGRenderThread3runEv (libQt5Quick.so.5 + 0x209d89)
                #25 0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #26 0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #27 0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                
                Stack trace of thread 54775:
                #0  0x00007f75199ca447 __futex_abstimed_wait_common64 (libc.so.6 + 0x7e447)
                #1  0x00007f75199ccef4 __pthread_cond_wait_common (libc.so.6 + 0x80ef4)
                #2  0x00007f751b2d1635 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt5Core.so.5 + 0xd1635)
                #3  0x00007f751b2cef53 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0xcef53)
                #4  0x00007f751b2cbed9 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbed9)
                #5  0x00007f75199cd84a start_thread (libc.so.6 + 0x8184a)
                #6  0x00007f7519a4cb7c __clone3 (libc.so.6 + 0x100b7c)
                ELF object binary architecture: AMD x86-6
Comment 1 Maksim Melnikau 2022-12-06 10:46:28 UTC
Created attachment 154353 [details]
kwin_x11 thread apply all bt with symbols

core is too big (compressed 6Mb) may be at least backtrace with symbols will be useful
it is generated after SIGQUIT on frozen process
Comment 2 Vlad Zahorodnii 2022-12-08 08:35:45 UTC
What version of Mesa do you have on your computer?
Comment 3 Maksim Melnikau 2022-12-08 09:05:52 UTC
(In reply to Vlad Zahorodnii from comment #2)
> What version of Mesa do you have on your computer?
=media-libs/mesa-22.2.3
Comment 4 Vlad Zahorodnii 2022-12-08 09:26:09 UTC
_Might_ be related to bug 461316. I saw weird freezing when it occurred.
Comment 5 Maksim Melnikau 2022-12-08 09:37:46 UTC
(In reply to Vlad Zahorodnii from comment #4)
> _Might_ be related to bug 461316. I saw weird freezing when it occurred.
FYI, I took test from attachment (compile, run) --- not reproduced.
Comment 6 Maksim Melnikau 2022-12-08 11:59:03 UTC
Created attachment 154424 [details]
thread apply all bt full on frozen kwin_x11

very verbose backtrace on frozen kwin_x11
(it happens once per ~3-4 hours)
Comment 7 John Fox Woland 2022-12-12 14:15:48 UTC
The same trouble on debian testing for last half of a year.
Currently: 6.0.0 kernel, kwin_x11 package 4:5.26.4-1, i915 GPU (and nvidia as secondary).
Comment 8 John Fox Woland 2022-12-12 14:17:06 UTC
Moreover, sometimes killing kwin_x11 doesn't help. New instanse of kwin_x11 may be frozen right after start.
Comment 9 John Fox Woland 2022-12-15 07:05:01 UTC
Kwin errors before freeze:

kwin_core: Failed to focus 0x6401c63 (error 3)
kwin_core: Failed to focus 0x6401c63 (error 3)
…
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 74, resource id: 167774559, major code: 149 (Unknown), minor code 4
qt.qpa.xcb: QXcbConnection: XCB error: 136 (Unknown), sequence: 77, resource id: 167774560, major code: 148 (Unknown), minor code 1
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 79, resource id: 167774562, major code: 149 (Unknown), minor code 4
qt.qpa.xcb: QXcbConnection: XCB error: 136 (Unknown), sequence: 80, resource id: 167774563, major code: 148 (Unknown), minor code 1

Last four — everty time kwin freezes.
Comment 10 Maksim Melnikau 2022-12-20 09:17:23 UTC
(In reply to Maksim Melnikau from comment #3)
> (In reply to Vlad Zahorodnii from comment #2)
> > What version of Mesa do you have on your computer?
> =media-libs/mesa-22.2.3
After updating to mesa-22.3.0 system become more stable --- I don't have such issues few days already (previously few timers per day).
Comment 11 Maksim Melnikau 2023-02-21 13:24:35 UTC
I don't have issues anymore (mesa update probably helped)