Created attachment 177513 [details] Full journal logs SUMMARY Using latest kwin_wayland from Arch Linux kde-unstable repositories. When booting and entering SDDM, kwin_wayland crashes without a coredump when started by sddm-helper-start-wayland, logging about an ICC profile. STEPS TO REPRODUCE 1. Install Arch Linux KDE-Unstable repositories 1. Start boot into SDDM OBSERVED RESULT The booting screen transfers into a black screen, because Kwin_wayland crashed, requiring the user to use a tty. Journal shows these logs: Jan 18 12:45:54 archlinux sddm-helper-start-wayland[904]: "terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'\n what(): filesystem error: status: Permission denied [/home/foxe/.local/share/icc/BOE0CB4.icm]\n" Jan 18 12:45:54 archlinux sddm-helper-start-wayland[904]: "KCrash: Application 'kwin_wayland' crashing... crashRecursionCounter = 2\n" Jan 18 12:45:54 archlinux systemd-coredump[957]: Process 907 (kwin_wayland) of user 969 terminated abnormally with signal 6/ABRT, processing... EXPECTED RESULT SDDM and kwin should start normally SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.2.90 KDE Frameworks Version: 6.10.0 Qt Version: 6.9.0 Kernel Version: 6.12.10-2-cachyos (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 7640U w/ Radeon 760M Graphics Memory: 27.2 GiB of RAM Graphics Processor: AMD Radeon 760M
This bug does not happen when using KDE plasma 6.2.5 for me
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7035
I was also been affected by this. From the open MR, look like it's an issue caused by lack of permissions to access an set icc profile. Removing the icc profile from /var/lib/sddm/.config/kwinoutputconfig.json fixed it. However, I guess it makes wonder if either the icc profile should be copied to the sddm folder or if it makes any sense to set the it at all.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7088
Git commit f906c7a4976b86e7e325d86062625ffd8b6ee911 by Xaver Hugl. Committed on 29/01/2025 at 14:58. Pushed by zamundaaa into branch 'master'. core/iccprofile: don't use std::filesystem::exists to check the existance of the file If any "system error" occurs, it throws an exception and crashes KWin. M +2 -2 src/core/iccprofile.cpp https://invent.kde.org/plasma/kwin/-/commit/f906c7a4976b86e7e325d86062625ffd8b6ee911
(In reply to Lucas Lima from comment #3) > I was also been affected by this. From the open MR, look like it's an issue > caused by lack of permissions to access an set icc profile. > > Removing the icc profile from /var/lib/sddm/.config/kwinoutputconfig.json > fixed it. > However, I guess it makes wonder if either the icc profile should be copied > to the sddm folder or if it makes any sense to set the it at all. Yeah, it should ideally be copied over. As a fallback, with the fix, KWin will just not apply it if it's missing though, so it's not a big issue then.
Git commit 33f2a571cd00c4267b35e68fa1d55788a910f342 by Xaver Hugl. Committed on 29/01/2025 at 15:18. Pushed by zamundaaa into branch 'Plasma/6.3'. core/iccprofile: don't use std::filesystem::exists to check the existance of the file If any "system error" occurs, it throws an exception and crashes KWin. (cherry picked from commit f906c7a4976b86e7e325d86062625ffd8b6ee911) Co-authored-by: Xaver Hugl <xaver.hugl@gmail.com> M +2 -2 src/core/iccprofile.cpp https://invent.kde.org/plasma/kwin/-/commit/33f2a571cd00c4267b35e68fa1d55788a910f342