Bug 2129479
Summary: | xdg-desktop-portal-kde crashed when run by sddm during boot with Qt 5.15.6 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matt Fagnani <matt.fagnani> |
Component: | sddm | Assignee: | Martin Bříza <m> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 38 | CC: | agurenko, awilliam, eekopp, jgrulich, kde-sig, me, mkyral, m, ngompa13, pierluigi.fiorini, postix, rdieter, travier, zawertun |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | AcceptedFreezeException | ||
Fixed In Version: | sddm-0.19.0^git20221025.fc24321-1.fc37 sddm-0.19.0^git20230320.e07e805-2.fc38 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-03-21 01:54:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2009540, 2083913 |
Description
Matt Fagnani
2022-09-23 23:15:59 UTC
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. |