kwin_wayland crash today on Trixie after upgrade (kwin package)

Rafał Lichwała <[email protected]>
Newsgroups gmane.linux.debian.user.kde
Message-ID <[email protected]>
On Debian Trixie we have a huge package upgrade today (~325 packages).
I do "apt full-upgrade" every day, so this pack has arrived over last day.

One of them is "kwin" package which migrated to testing today:

https://tracker.debian.org/pkg/kwin

After "apt full-upgrade" and "reboot" system starts properly, everything 
in green and login screen appears as usual.

But then, when I try to login, I'v got the following coredump report in 
journal and login screen is back (instead of desktop session):

+++++++++++++++++++++++++++++++
Mar 14 11:58:54 desktop kwin_wayland_wrapper[2381]: No backend 
specified, automatically choosing drm
Mar 14 11:58:55 desktop kwin_wayland_wrapper[2381]: kwin_core: Applying 
output config failed!
Mar 14 11:58:55 desktop rtkit-daemon[1709]: Supervising 12 threads of 6 
processes of 2 users.
Mar 14 11:58:55 desktop rtkit-daemon[1709]: Supervising 12 threads of 6 
processes of 2 users.
Mar 14 11:58:55 desktop rtkit-daemon[1709]: Supervising 12 threads of 6 
processes of 2 users.
Mar 14 11:58:55 desktop kwin_wayland_wrapper[2381]: kwin_scene_opengl: 
0x502: GL_INVALID_OPERATION error generated. <image> and <target> are 
incompatible
Mar 14 11:58:55 desktop kwin_wayland_wrapper[2381]: kwin_scene_opengl: 
Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Mar 14 11:58:55 desktop kwin_wayland_wrapper[2381]: kwin_scene_opengl: 
0x502: GL_INVALID_OPERATION error generated. <image> and <target> are 
incompatible
Mar 14 11:58:55 desktop kwin_wayland_wrapper[2381]: kwin_scene_opengl: 
Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Mar 14 11:58:55 desktop kwin_wayland_wrapper[2381]: kwin_scene_opengl: 
0x502: GL_INVALID_OPERATION error generated. <image> and <target> are 
incompatible
Mar 14 11:58:55 desktop kwin_wayland_wrapper[2381]: kwin_scene_opengl: 
Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Mar 14 11:58:55 desktop kwin_wayland_wrapper[2381]: kwin_scene_opengl: 
0x502: GL_INVALID_OPERATION error generated. <image> and <target> are 
incompatible
Mar 14 11:58:55 desktop kwin_wayland_wrapper[2381]: kwin_scene_opengl: 
Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Mar 14 11:58:55 desktop kwin_wayland_wrapper[2381]: KCrash: Application 
'kwin_wayland' crashing... crashRecursionCounter = 2
Mar 14 11:58:55 desktop systemd-coredump[2433]: Process 2381 
(kwin_wayland) of user 1000 terminated abnormally with signal 11/SEGV, 
processing...
Mar 14 11:58:55 desktop systemd[1]: Created slice 
system-drkonqi\x2dcoredump\x2dprocessor.slice - Slice 
/system/drkonqi-coredump-processor.
Mar 14 11:58:55 desktop systemd[1]: Created slice 
system-systemd\x2dcoredump.slice - Slice /system/systemd-coredump.
Mar 14 11:58:55 desktop systemd[1]: Started 
[email protected] - Process Core Dump (PID 2433/UID 0).
Mar 14 11:58:55 desktop systemd[1]: Started 
[email protected] - Pass systemd-coredump 
journal entries to relevant user for potential DrKonqi handling.
Mar 14 11:58:55 desktop systemd-coredump[2434]: Process 2381 
(kwin_wayland) of user 1000 dumped core.

                                                Stack trace of thread 2381:
                                                #0  0x00007f84c229e8ac 
n/a (n/a + 0x0)
                                                ELF object binary 
architecture: AMD x86-64
Mar 14 11:58:56 desktop systemd[1]: [email protected]: 
Deactivated successfully.
Mar 14 11:58:56 desktop systemd[1]: [email protected]: 
Consumed 270ms CPU time, 151M memory peak.
Mar 14 11:58:56 desktop kcminit_startup[2385]: qt.qpa.wayland: 
"wl-shell" is a deprecated shell extension, prefer using "xdg-shell" if 
supported by the compositor by setting the environment
variable QT_WAYLAND_SHELL_INTEGRATION
Mar 14 11:58:56 desktop kcminit_startup[2385]: qt.qpa.wayland: Loading 
shell integration failed.
Mar 14 11:58:56 desktop kcminit_startup[2385]: qt.qpa.wayland: Attempted 
to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell", 
"qt-shell")
Mar 14 11:58:56 desktop kcminit_startup[2385]: qt.qpa.plugin: Could not 
load the Qt platform plugin "wayland" in "" even though it was found.
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: No backend 
specified, automatically choosing drm
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: kwin_core: Applying 
output config failed!
Mar 14 11:58:56 desktop drkonqi-coredump-processor[2435]: 
"/usr/bin/kwin_wayland" 2381 
"/var/lib/systemd/coredump/core.kwin_wayland.1000.586376cbe46b4adebe7e9a8451cb7d11.2381.17419499350000
00.zst"
Mar 14 11:58:56 desktop systemd[1805]: Started 
[email protected] - Launch DrKonqi for a 
systemd-coredump crash (PID 2435/UID 0).
Mar 14 11:58:56 desktop systemd[1]: 
[email protected]: Deactivated successfully.
Mar 14 11:58:56 desktop rtkit-daemon[1709]: Supervising 12 threads of 6 
processes of 2 users.
Mar 14 11:58:56 desktop rtkit-daemon[1709]: Supervising 12 threads of 6 
processes of 2 users.
Mar 14 11:58:56 desktop rtkit-daemon[1709]: Supervising 12 threads of 6 
processes of 2 users.
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: kwin_scene_opengl: 
0x502: GL_INVALID_OPERATION error generated. <image> and <target> are 
incompatible
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: kwin_scene_opengl: 
Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: kwin_scene_opengl: 
0x502: GL_INVALID_OPERATION error generated. <image> and <target> are 
incompatible
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: kwin_scene_opengl: 
Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: kwin_scene_opengl: 
0x502: GL_INVALID_OPERATION error generated. <image> and <target> are 
incompatible
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: kwin_scene_opengl: 
Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: kwin_scene_opengl: 
0x502: GL_INVALID_OPERATION error generated. <image> and <target> are 
incompatible
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: kwin_scene_opengl: 
Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Mar 14 11:58:56 desktop kwin_wayland_wrapper[2449]: KCrash: Application 
'kwin_wayland' crashing... crashRecursionCounter = 2
Mar 14 11:58:56 desktop systemd-coredump[2480]: Process 2449 
(kwin_wayland) of user 1000 terminated abnormally with signal 11/SEGV, 
processing...
Mar 14 11:58:56 desktop systemd[1]: Started 
[email protected] - Process Core Dump (PID 2480/UID 0).
Mar 14 11:58:56 desktop systemd[1]: Started 
[email protected] - Pass systemd-coredump 
journal entries to relevant user for potential DrKonqi handling.
Mar 14 11:58:56 desktop systemd-coredump[2481]: Process 2449 
(kwin_wayland) of user 1000 dumped core.

                                                Module libblkid.so.1 
from deb util-linux-2.40.4-5.amd64
                                                Module libgomp.so.1 from 
deb gcc-14-14.2.0-17.amd64
                                                Module libatomic.so.1 
from deb gcc-14-14.2.0-17.amd64
                                                Module libmount.so.1 
from deb util-linux-2.40.4-5.amd64
                                                Module libzstd.so.1 from 
deb libzstd-1.5.6+dfsg-2.amd64
                                                Module libgcc_s.so.1 
from deb gcc-14-14.2.0-17.amd64
                                                Module libudev.so.1 from 
deb systemd-257.4-1.amd64
                                                Module libstdc++.so.6 
from deb gcc-14-14.2.0-17.amd64
                                                Module libsystemd.so.0 
from deb systemd-257.4-1.amd64
                                                Stack trace of thread 2449:
                                                #0  0x00007f22d7a9e8ac 
__pthread_kill_implementation (libc.so.6 + 0x948ac)
                                                #1  0x00007f22d7a49c82 
__GI_raise (libc.so.6 + 0x3fc82)
                                                #2  0x00007f22db39d6d2 
_ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x56d2)
                                                #3  0x00007f22d7a49db0 
__restore_rt (libc.so.6 + 0x3fdb0)
                                                #4  0x00007f22daf340f4 
n/a (libkwin.so.6 + 0x5340f4)
                                                #5  0x00007f22daf2b332 
n/a (libkwin.so.6 + 0x52b332)
                                                #6  0x00007f22daf2c825 
n/a (libkwin.so.6 + 0x52c825)
                                                #7  0x00007f22daf22cb1 
_ZN4KWin9DrmOutput7presentERKSt10shared_ptrINS_11OutputFrameEE 
(libkwin.so.6 + 0x522cb1)
                                                #8  0x00007f22dac08886 
_ZN4KWin17WaylandCompositor9compositeEPNS_10RenderLoopE (libkwin.so.6 + 
0x208886)
                                                #9  0x00007f22d81e4483 
n/a (libQt6Core.so.6 + 0x1e4483)
                                                #10 0x00007f22dac2cff6 
_ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.6 + 0x22cff6)
                                                #11 0x00007f22dac2e15a 
_ZN4KWin17RenderLoopPrivate8dispatchEv (libkwin.so.6 + 0x22e15a)
                                                #12 0x00007f22d81e4483 
n/a (libQt6Core.so.6 + 0x1e4483)
                                                #13 0x00007f22d81e6ece 
_ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt6Core.so.6 + 0x1e6ece)
                                                #14 0x00007f22d81d5e49 
_ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1d5e49)
                                                #15 0x00007f22d91b49b5 
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent 
(libQt6Widgets.so.6 + 0x1b49b5)
                                                #16 0x00007f22d8196530 
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent 
(libQt6Core.so.6 + 0x196530)
                                                #17 0x00007f22d82da8fd 
_ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 + 0x2da8fd)
                                                #18 0x00007f22d82e4483 
_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE 
(libQt6Core.so.6 + 0x2e4483)
                                                #19 0x00007f22d8bba0d1 
_ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE 
(libQt6Gui.so.6 + 0x5ba0d1)
                                                #20 0x00007f22d8198813 
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 
0x198813)
                                                #21 0x00007f22d819a10a 
_ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x19a10a)
                                                #22 0x0000559b9bbed498 
n/a (n/a + 0x0)
                                                #23 0x0000000000000000 
n/a (n/a + 0x0)
                                                ELF object binary 
architecture: AMD x86-64
++++++++++++++++++++++++++++++++++++++++++++

And indeed this package has been upgraded today:

++++++++++++++++++++++++++++++++++++++++++++

# cat /var/log/dpkg.log | grep kwin-wayland
2025-03-14 11:45:21 upgrade kwin-wayland:amd64 4:6.3.0-2 4:6.3.2.1-1+b1
2025-03-14 11:45:21 status half-configured kwin-wayland:amd64 4:6.3.0-2
2025-03-14 11:45:21 status unpacked kwin-wayland:amd64 4:6.3.0-2
2025-03-14 11:45:21 status half-installed kwin-wayland:amd64 4:6.3.0-2
2025-03-14 11:45:21 status unpacked kwin-wayland:amd64 4:6.3.2.1-1+b1
2025-03-14 11:46:16 configure kwin-wayland:amd64 4:6.3.2.1-1+b1 <none>
2025-03-14 11:46:16 status unpacked kwin-wayland:amd64 4:6.3.2.1-1+b1
2025-03-14 11:46:16 status half-configured kwin-wayland:amd64 4:6.3.2.1-1+b1
2025-03-14 11:46:16 status installed kwin-wayland:amd64 4:6.3.2.1-1+b1
++++++++++++++++++++++++++++++++++++++++++++++

and there are the following changes:

++++++++++++++++++++++++++++++++++++++++++++++++

# apt-get changelog kwin-wayland | head -17
Get:1 https://metadata.ftp-master.debian.org kwin 4:6.3.2.1-1 Changelog 
[49.0 kB]
kwin (4:6.3.2.1-1) unstable; urgency=medium

  [ Aurélien COUDERC ]
  * New upstream release (6.3.1).
  * Update build-deps and deps with the info from cmake.
  * Drop upstream patch now part of the release.
  * New upstream release (6.3.2.1).
  * Update build-deps and deps with the info from cmake.
  * Drop reverted commits, latest release includes the fix for building with
    Qt 6.7.
  * Refresh copyright information.

-- Aurélien COUDERC <[email protected]>  Fri, 28 Feb 2025 01:01:30 +0100

kwin (4:6.3.0-2) unstable; urgency=medium

+++++++++++++++++++++++++++++++++++++++++++++++

Does anyone experience a similar problem?

Or maybe someone knows how to deal with this?

Best regards,
Rafal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.