Bug 497113 - Kwin wayland crashed randomly while fullscreen video was playing
Summary: Kwin wayland crashed randomly while fullscreen video was playing
Status: RESOLVED DUPLICATE of bug 488713
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 6.1.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-06 02:38 UTC by test user
Modified: 2024-12-06 11:25 UTC (History)
2 users (show)

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


Attachments
backtrace (15.60 KB, text/plain)
2024-12-06 02:38 UTC, test user
Details

Note You need to log in before you can comment on or make changes to this bug.
Description test user 2024-12-06 02:38:42 UTC
Created attachment 176382 [details]
backtrace

SUMMARY

Hi
I was watching a video on full screen and has few other windows like browsers, kate and konsole were open. The screen went black suddenly and came back with firefox crash reporter. The browser crashed because wayland connection was lost. (KDE/QT apps survived because of compositor restarting support). I checked coredumps and indeed kwin crashed but without any relevant logging in journal. KCrash generated emty backtrace so I manually did it and attaching it here. Upon basic debugging I find no apparent reason so far.

STEPS TO REPRODUCE
1. That's the difficult part. It was random and not reproducible afaik. Only hint is the coredump.
I do not recall any previous compositor crash, at least after plasma 6.

OBSERVED RESULT
kwin_wayland crashed

EXPECTED RESULT
It doesn't crash

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.11.3-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION
Backtrace attached. I'll attach coredump later due to size limits.
Comment 1 test user 2024-12-06 02:42:53 UTC
The compressed coredump:

core.kwin_wayland.1000.b41b6fbacaaa4f6aa9531a32dd934035.1773.1733420677000000.zst
https://0x0.st/X7I8.zst
Comment 2 test user 2024-12-06 02:52:56 UTC
Excat package version for debugging if required.

kwin-wayland-6.1.4-1.fc40.x86_64
systemd-libs-255.10-3.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
kf6-ksvg-6.5.0-1.fc40.x86_64
kf6-kconfigwidgets-6.5.0-1.fc40.x86_64
qaccessibilityclient-qt6-0.6.0-1.fc40.x86_64
kwin-libs-6.1.4-1.fc40.x86_64
kf6-kcrash-6.5.0-1.fc40.x86_64
libepoxy-1.5.10-6.fc40.x86_64
kdecoration-6.1.4-1.fc40.x86_64
qt6-qtdeclarative-6.7.2-2.fc40.x86_64
qt6-qtdeclarative-6.7.2-2.fc40.x86_64
kf6-knotifications-6.5.0-1.fc40.x86_64
kf6-kconfig-6.5.0-1.fc40.x86_64
kf6-kidletime-6.5.0-1.fc40.x86_64
kf6-ki18n-6.5.0-1.fc40.x86_64
kglobalacceld-6.1.4-1.fc40.x86_64
kf6-kwindowsystem-6.5.0-1.fc40.x86_64
kf6-kglobalaccel-6.5.0-1.fc40.x86_64
qt6-qtbase-gui-6.7.2-4.fc40.x86_64
kf6-kservice-6.5.0-1.fc40.x86_64
kf6-kconfig-6.5.0-1.fc40.x86_64
kf6-kcoreaddons-6.5.0-1.fc40.x86_64
qt6-qtbase-6.7.2-4.fc40.x86_64
qt6-qtbase-gui-6.7.2-4.fc40.x86_64
qt6-qtbase-6.7.2-4.fc40.x86_64
libstdc++-14.2.1-1.fc40.x86_64
glibc-2.39-22.fc40.x86_64
glibc-2.39-22.fc40.x86_64
libcap-2.69-8.fc40.x86_64
lz4-libs-1.9.4-6.fc40.x86_64
xz-libs-5.4.6-3.fc40.x86_64
libzstd-1.5.6-1.fc40.x86_64
libgcc-14.2.1-1.fc40.x86_64
libXau-1.0.11-6.fc40.x86_64
qt6-qtsvg-6.7.2-1.fc40.x86_64
kf6-karchive-6.5.0-1.fc40.x86_64
kf6-kcolorscheme-6.5.0-1.fc40.x86_64
kf6-kguiaddons-6.5.0-1.fc40.x86_64
kf6-kwidgetsaddons-6.5.0-1.fc40.x86_64
kf6-kcodecs-6.5.0-1.fc40.x86_64
libwayland-server-1.23.0-2.fc40.x86_64
kf6-kconfig-6.5.0-1.fc40.x86_64
kdecoration-6.1.4-1.fc40.x86_64
systemd-libs-255.10-3.fc40.x86_64
libxkbcommon-1.6.0-2.fc40.x86_64
lcms2-2.16-3.fc40.x86_64
xcb-util-cursor-0.1.4-4.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
xcb-util-wm-0.4.2-5.fc40.x86_64
xcb-util-keysyms-0.4.1-5.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libdrm-2.4.122-1.fc40.x86_64
mesa-libgbm-24.1.5-2.fc40.x86_64
libinput-1.26.1-1.fc40.x86_64
kwayland-6.1.4-1.fc40.x86_64
libwayland-client-1.23.0-2.fc40.x86_64
libX11-xcb-1.8.10-1.fc40.x86_64
libX11-1.8.10-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libXi-1.8.1-5.fc40.x86_64
plasma-activities-6.1.4-1.fc40.x86_64
kscreenlocker-6.1.4-1.fc40.x86_64
qt6-qtsensors-6.7.2-1.fc40.x86_64
qt6-qtbase-gui-6.7.2-4.fc40.x86_64
libdisplay-info-0.1.1-4.fc40.x86_64
libxcvt-0.1.2-6.fc40.x86_64
kf6-kpackage-6.5.0-1.fc40.x86_64
qt6-qtdeclarative-6.7.2-2.fc40.x86_64
qt6-qtbase-6.7.2-4.fc40.x86_64
libcanberra-0.30-35.fc40.x86_64
kf6-kio-gui-6.7.0-1.fc40.x86_64
kf6-kjobwidgets-6.7.0-1.fc40.x86_64
kf6-kio-core-libs-6.7.0-1.fc40.x86_64
libxcb-1.17.0-1.fc40.x86_64
libXfixes-6.0.1-3.fc40.x86_64
qt6-qtbase-6.7.2-4.fc40.x86_64
dbus-libs-1.14.10-3.fc40.x86_64
libglvnd-egl-1.7.0-4.fc40.x86_64
fontconfig-2.15.0-6.fc40.x86_64
glib2-2.80.3-1.fc40.x86_64
libglvnd-glx-1.7.0-4.fc40.x86_64
libglvnd-opengl-1.7.0-4.fc40.x86_64
libpng-1.6.40-3.fc40.x86_64
harfbuzz-8.5.0-1.fc40.x86_64
freetype-2.13.2-5.fc40.x86_64
zlib-ng-compat-2.1.7-1.fc40.x86_64
libicu-74.2-1.fc40.x86_64
libicu-74.2-1.fc40.x86_64
double-conversion-3.3.0-3.fc40.x86_64
libb2-0.98.1-11.fc40.x86_64
pcre2-utf16-10.44-1.fc40.x86_64
openssl-libs-3.2.1-2.fc40.x86_64
bzip2-libs-1.0.8-18.fc40.x86_64
qt6-qtwayland-6.7.2-4.fc40.x86_64
libffi-3.4.4-7.fc40.x86_64
xcb-util-renderutil-0.3.10-5.fc40.x86_64
xcb-util-image-0.4.1-5.fc40.x86_64
expat-2.6.2-1.fc40.x86_64
mtdev-1.1.6-8.fc40.x86_64
libevdev-1.13.2-2.fc40.x86_64
libwacom-2.11.0-1.fc40.x86_64
libXext-1.3.6-1.fc40.x86_64
kf6-kxmlgui-6.7.0-1.fc40.x86_64
krb5-libs-1.21.3-1.fc40.x86_64
libbrotli-1.1.0-3.fc40.x86_64
libproxy-0.5.5-1.fc40.x86_64
libvorbis-1.3.7-10.fc40.x86_64
libtdb-1.4.10-1.fc40.x86_64
libtool-ltdl-2.4.7-10.fc40.x86_64
kf6-solid-6.7.0-1.fc40.x86_64
kf6-kauth-6.5.0-1.fc40.x86_64
libacl-2.3.2-1.fc40.x86_64
libmount-2.40.1-1.fc40.x86_64
libglvnd-1.7.0-4.fc40.x86_64
libxml2-2.12.8-1.fc40.x86_64
pcre2-10.44-1.fc40.x86_64
graphite2-1.3.14-15.fc40.x86_64
libicu-74.2-1.fc40.x86_64
libgomp-14.2.1-1.fc40.x86_64
libwayland-cursor-1.23.0-2.fc40.x86_64
xcb-util-0.4.1-5.fc40.x86_64
libgudev-238-5.fc40.x86_64
glib2-2.80.3-1.fc40.x86_64
qt6-qtbase-gui-6.7.2-4.fc40.x86_64
kf6-kitemviews-6.7.0-1.fc40.x86_64
kf6-kiconthemes-6.5.0-1.fc40.x86_64
kf6-kiconthemes-6.5.0-1.fc40.x86_64
krb5-libs-1.21.3-1.fc40.x86_64
krb5-libs-1.21.3-1.fc40.x86_64
libcom_err-1.47.0-5.fc40.x86_64
krb5-libs-1.21.3-1.fc40.x86_64
keyutils-libs-1.6.3-3.fc40.x86_64
glibc-2.39-22.fc40.x86_64
libbrotli-1.1.0-3.fc40.x86_64
libproxy-0.5.5-1.fc40.x86_64
libvorbis-1.3.7-10.fc40.x86_64
libogg-1.3.5-8.fc40.x86_64
libimobiledevice-1.3.0^20230705git6fc41f5-4.fc40.x86_64
libplist-2.3.0-4.fc40.x86_64
libattr-2.5.2-3.fc40.x86_64
libblkid-2.40.1-1.fc40.x86_64
libselinux-3.6-4.fc40.x86_64
kf6-breeze-icons-6.5.0-1.fc40.x86_64
libcurl-8.6.0-10.fc40.x86_64
glib2-2.80.3-1.fc40.x86_64
duktape-2.7.0-7.fc40.x86_64
libimobiledevice-glue-1.0.0-3.fc40.x86_64
libusbmuxd-2.0.2^20230620git8d30a55-5.fc40.x86_64
openssl-libs-3.2.1-2.fc40.x86_64
libnghttp2-1.59.0-3.fc40.x86_64
libidn2-2.3.7-1.fc40.x86_64
libssh-0.10.6-5.fc40.x86_64
libpsl-0.21.5-3.fc40.x86_64
openldap-2.6.7-1.fc40.x86_64
openldap-2.6.7-1.fc40.x86_64
glib2-2.80.3-1.fc40.x86_64
libunistring-1.1-7.fc40.x86_64
libevent-2.1.12-12.fc40.x86_64
cyrus-sasl-lib-2.1.28-19.fc40.x86_64
libxcrypt-4.4.36-5.fc40.x86_64
Comment 3 Zamundaaa 2024-12-06 09:59:26 UTC
*** This bug has been marked as a duplicate of bug 488713 ***
Comment 4 test user 2024-12-06 11:11:18 UTC
I do not thing this is really a duplicate, and even if it were the "fix", IMHO is not a fix.

I didn't update kwin (or any qt package) in recent days and I've 5 days uptime. The 24h repeated crash doesn't apply. It never happened before either (with much longer uptime). Also I didn't have the said crash again till now.

The issue in the possible duplicate was tracked down to krunner unit converter runner. But it is unclear how something running in krunner process (and cgroup) can trigger a crash for kwin.

I'll try to dig the coredumps next week and if required I'll reopen this or the possible duplicate one for your comments on findings (if any).
Comment 5 Zamundaaa 2024-12-06 11:14:36 UTC
Milou runs in KWin, in the overview effect, and thus it can crash KWin.
If you can still reproduce the crash in an up to date Plasma version, feel free to reopen this though.
Comment 6 test user 2024-12-06 11:25:06 UTC
I just realized. Thanks!

I searched specifically currency conversions in overview right now to start the timer anyway. I am not updating. If it crashes before this time tomorrow it'll give peace of mind that the issue is fixed. Thankfully kate, konsole and browsers (with session restore) survives so I'll not loose work.