Description of problem: I updated a Fedora 37 KDE Plasma installation with updates-testing enabled. The update contained the Qt 5.15.6 update at https://bodhi.fedoraproject.org/updates/FEDORA-2022-d8cd3b01b7 I'm using sddm on Wayland with kwin_wayland compositor as configured by sddm-wayland-plasma-5.25.5-1.fc37 xdg-desktop-portal-kde crashed when run by the sddm user 989 during each boot with Qt 5.15.6. plasma-xdg-desktop-portal-kde.service was run with the control group /user.slice/user-989.slice/user/session.slice/plasma-xdg-desktop-portal-kde.service The backtrace was as follows. Program terminated with signal SIGABRT, Aborted. Missing separate debuginfos, use: dnf debuginfo-install xdg-desktop-portal-kde-5.25.5-1.fc37.x86_64 --Type <RET> for more, q to quit, c to continue without paging-- #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7f03425db980 (LWP 1236))] (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007f0341016d33 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007f0340fc6aa6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007f0340fb07fc in __GI_abort () at abort.c:79 #4 0x00007f0340ab14d5 in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914 #5 QMessageLogger::fatal (this=this@entry=0x7ffc01bbb650, msg=msg@entry=0x7f0341d585a7 "%s") at global/qlogging.cpp:893 #6 0x00007f034196341b in init_platform (argv=<optimized out>, argc=<optimized out>, platformThemeName=..., platformPluginPath=..., pluginNamesWithArguments=...) at kernel/qguiapplication.cpp:1254 #7 QGuiApplicationPrivate::createPlatformIntegration (this=0x558a0f831680) at kernel/qguiapplication.cpp:1477 #8 0x00007f03419638c8 in QGuiApplicationPrivate::createEventDispatcher (this=<optimized out>) at kernel/qguiapplication.cpp:1494 #9 0x00007f0340caeab1 in QCoreApplicationPrivate::init (this=this@entry=0x558a0f831680) at kernel/qcoreapplication.cpp:835 #10 0x00007f0341965c83 in QGuiApplicationPrivate::init (this=this@entry=0x558a0f831680) at kernel/qguiapplication.cpp:1523 #11 0x00007f03427b431d in QApplicationPrivate::init (this=0x558a0f831680) at kernel/qapplication.cpp:513 #12 0x0000558a0f661ad3 in main () The journal from the time of the crash included the following errors. Sep 23 18:02:46 systemd[1024]: Starting plasma-xdg-desktop-portal-kde.service - Xdg Desktop Portal For KDE... Sep 23 18:02:46 sddm-greeter[1077]: Failed to find a Kirigami platform plugin Sep 23 18:02:46 audit[1236]: ANOM_ABEND auid=989 uid=989 gid=982 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=1236 comm="xdg-desktop-por" exe="/usr/libexec/xdg-desktop-portal-kde" sig=6 res=1 Sep 23 18:02:46 xdg-desktop-portal-kde[1236]: qt.qpa.xcb: could not connect to display Sep 23 18:02:46 xdg-desktop-portal-kde[1236]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. Sep 23 18:02:46 xdg-desktop-portal-kde[1236]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Version-Release number of selected component (if applicable): xdg-desktop-portal-kde-5.25.5-1.fc37.x86_64 qt5-qtbase-5.15.6-1.fc37.x86_64 sddm-wayland-plasma-5.25.5-1.fc37 How reproducible: xdg-desktop-portal-kde crashed 14/14 boots when run by sddm with Qt 5.15.6 Steps to Reproduce: 1. Boot a Fedora 37 KDE Plasma installation with sddm-wayland-plasma-5.25.5-1.fc37 installed 2. Log in to Plasma on Wayland 3. start konsole 4. sudo dnf offline-upgrade download (with updates-testing enabled) 5. sudo dnf offline-upgrade reboot 6. On the boot after the upgrade, xdg-desktop-portal-kde crashes when run by sddm Actual results: xdg-desktop-portal-kde crashed when run by sddm during boot with Qt 5.15.6 Expected results: xdg-desktop-portal-kde wouldn't crash when run by sddm during boot with Qt 5.15.6 Additional info: xdg-desktop-portal-kde didn't crash during boot with Qt 5.15.5 or earlier. plasma-xdg-desktop-portal-kde.service ran normally when I loggged in to Plasma on Wayland as run with the cgroup /user.slice/user-1000.slice/user/session.slice/plasma-xdg-desktop-portal-kde.service
I'm guessing this and https://bugzilla.redhat.com/show_bug.cgi?id=2133795 are likely the same. Is it OK with you if we close this as a dupe of that? This report is earlier, but that one has a full backtrace. Thanks!
(In reply to Adam Williamson from comment #1) > I'm guessing this and https://bugzilla.redhat.com/show_bug.cgi?id=2133795 > are likely the same. Is it OK with you if we close this as a dupe of that? > This report is earlier, but that one has a full backtrace. Thanks! The trace was a generic Qt abort one so the errors from the journal were likely more informative and specific than the trace. https://bugzilla.redhat.com/show_bug.cgi?id=2133795 didn't explain that the crash started with Qt 5.15.6 and happened only when xdg-desktop-portal-kde was run by sddm. If you think it's better to mark this report as a duplicate of that one, that's fine with me. I don't recall being asked before a report of mine was marked as a duplicate before :) xdg-desktop-portal-kde crashed in the same way with Plasma 5.26.0 in Fedora-KDE-Live-x86_64-Rawhide-20221010.n.0.iso and earlier when I disabled autologin from sddm in System Settings and logged out to sddm.
FEDORA-2022-24b141d508 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-24b141d508
FEDORA-2022-239ba8f359 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-239ba8f359
I updated to sddm-0.19.0^git20221025.fc24321-1.fc37 from koji in Plasma 5.26.1 in a F37 KDE Plasma installation. xdg-desktop-portal-kde crashed when run by sddm during each of three boots with sddm-0.19.0^git20221025.fc24321-1.fc37 with the same trace and errors in the journal as I reported. The commit "disable automatic portal launching" at https://github.com/sddm/sddm/commit/fc24321541f6f65b7d1aac89cd82336ffd53e1a0 looks like it's intended to fix this problem, but it might not be sufficient to do so.
FEDORA-2022-239ba8f359 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-239ba8f359` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-239ba8f359 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-24b141d508 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-24b141d508` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-24b141d508 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-24b141d508 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
Proposed as a Freeze Exception for 37-final by Fedora user ngompa using the blocker tracking app because: Fixes crashes for xdg-desktop-portal-kde with KDE Plasma and should go along with Plasma 5.26.
Fixing component for FE
+3 in https://pagure.io/fedora-qa/blocker-review/issue/995 , marking accepted.
sddm on Wayland (and sddm on X) still crashed with sddm-0.19.0^git20221025.fc24321-1.fc37 each time it started. Nicolas Fella wrote "https://invent.kde.org/qt/qt/qtbase/-/commit/725ab072130ca3ce4104f4351e48fe50f57ae330 is needed for the fix to be effective" at https://bugs.kde.org/show_bug.cgi?id=458865#c60 So that patch might need to be added to qt5-qtbase to fix this crash. Thanks.
FEDORA-2022-239ba8f359 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
xdg-desktop-portal-kde has continued crashing each time sddm on Wayland started since sddm-0.19.0^git20221025.fc24321-1.fc37 was pushed so I'm reopening this report. xdg-desktop-portal-kde crashed twice each time sddm on Wayland started when run by the sddm user 989 with the same errors and traces in my F38 KDE Plasma installation with sddm-0.19.0^git20230306.572b128-1.fc38.x86_64, kwin-5.27.3-1.fc38.x86_64, and qt5-qtbase-5.15.8-6.fc38.x86_64. These crashes were followed by repeated errors like xdg-desktop-portal-gnome[1152]: Failed to initialize display server connection: Unsupported or missing session type '' as I reported at https://bugzilla.redhat.com/show_bug.cgi?id=2176759 As I mentioned in comment 12, Nicolas Fella wrote "https://invent.kde.org/qt/qt/qtbase/-/commit/725ab072130ca3ce4104f4351e48fe50f57ae330 is needed for the fix to be effective" at https://bugs.kde.org/show_bug.cgi?id=458865#c60 That patch might need to be added to qt5-qtbase to fix this crash. Thanks.
Proposed as a Freeze Exception for 38-final by Fedora user mattf using the blocker tracking app because: xdg-desktop-portal-kde crashed twice each time sddm on Wayland started when run by the sddm user 989 with the same errors and traces as I reported for F37 in my F38 KDE Plasma installation with sddm-0.19.0^git20230306.572b128-1.fc38.x86_64, kwin-5.27.3-1.fc38.x86_64, and qt5-qtbase-5.15.8-6.fc38.x86_64. These crashes were followed by repeated errors like xdg-desktop-portal-gnome[1152]: Failed to initialize display server connection: Unsupported or missing session type '' as I reported at https://bugzilla.redhat.com/show_bug.cgi?id=2176759 This problem was accepted as a freeze exception for F37 https://bugzilla.redhat.com/show_bug.cgi?id=2129479#c11 but the update sddm-0.19.0^git20221025.fc24321-1.fc37 wasn't sufficient to fix the problem. As I mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=2129479#c12 Nicolas Fella wrote "https://invent.kde.org/qt/qt/qtbase/-/commit/725ab072130ca3ce4104f4351e48fe50f57ae330 is needed for the fix to be effective" at https://bugs.kde.org/show_bug.cgi?id=458865#c60 That patch might need to be added to qt5-qtbase to fix this crash.
I updated to sddm-0.19.0^git20230312.d00b2ce-0.fc38.1 from Neal's COPR https://bugzilla.redhat.com/show_bug.cgi?id=2178971#c7 with Aleix's patch https://bugzilla.redhat.com/show_bug.cgi?id=2178971#c6 in my F38 KDE Plasma installation. I rebooted and logged in and out a few times. The xdg-desktop-portal-kde crashes didn't happen on boot. One xdg-desktop-portal-kde crash when run by sddm appeared to have happened when logging out along with crashes of plasmashell, org_kde_powerdevil, drkonqi, and xdg-desktop-portal-kde run by my user. I booted Fedora-KDE-Live-x86_64-38-20230317.n.0.iso in a QEMU/KVM VM with GNOME Boxes and logged out and in 2 times, and the xdg-desktop-portal-kde crashes happened 5 times each when sddm started. I updated to sddm-0.19.0^git20230312.d00b2ce-0.fc38.1 from a VT and ran sudo systemctl restart sddm. I logged in and out of Plasma a few times. xdg-desktop-portal-kde crashes didn't happen when run by sddm. Aleix's patch appears to prevent the xdg-desktop-portal-kde crashes when run by sddm most if not all of the time.
FEDORA-2023-dad8b1e03f has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-dad8b1e03f
FEDORA-2023-dad8b1e03f has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.