Bug 2178971 - xdg-desktop-portal-kde is launching and crashing when SDDM launches the Wayland greeter
Summary: xdg-desktop-portal-kde is launching and crashing when SDDM launches the Wayla...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xdg-desktop-portal-kde
Version: 38
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Kyral
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker AcceptedFreezeException
Depends On:
Blocks: F38FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2023-03-16 10:15 UTC by Lukas Ruzicka
Modified: 2023-03-21 01:55 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-21 01:55:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Journalctl from the affected machine. (349.23 KB, text/plain)
2023-03-16 10:15 UTC, Lukas Ruzicka
no flags Details

Description Lukas Ruzicka 2023-03-16 10:15:20 UTC
Created attachment 1951217 [details]
Journalctl from the affected machine.

Description of problem:

I have freshly installed and updated the Fedora 38 Beta KDE and realized that there are numerous errors from sddm, especially from the sddm-greeter. 
These are followed by a systemd-coredump messages and somehow this feels suspicious to me. I think that such coredumps should not be part of fresh installation.

I am not sure how severe this is (if at all), so I am reporting this for you to judge and act if necessary.

Version-Release number of selected component (if applicable):
* Latest version of Fedora 38.
* sddm-0.19.0^git20230306.572b128

How reproducible:
Always

Steps to Reproduce:
1. Boot the system and explore the journalctl.

Actual results:
Lots of sddm errors in journalctl, some with coredumps.

Expected results:
Preferably less errors

Additional info:
See attached journactl.

Comment 1 Fedora Blocker Bugs Application 2023-03-16 10:51:01 UTC
Proposed as a Blocker for 38-final by Fedora user lruzicka using the blocker tracking app because:

 I am proposing this for a blocker bug discussion based on 

https://fedoraproject.org/wiki/Fedora_38_Final_Release_Criteria#System_services

Comment 2 Neal Gompa 2023-03-16 18:20:41 UTC
This actually looks like sddm-greeter is fine? There are some warnings, but nothing to worrying.

However, xdg-desktop-portal-kde is launching and crashing, which is not good.

Comment 3 Geraldo Simião 2023-03-17 07:02:22 UTC
Similar bug, if not the same one https://bugzilla.redhat.com/show_bug.cgi?id=2133795

Comment 4 Geraldo Simião 2023-03-17 07:07:24 UTC
Another one https://bugzilla.redhat.com/show_bug.cgi?id=2172601

I do observe that on f38 sddm greeter starts freezed (one cannot input the password right away, must wait for some 30 seconds) that didn't occurred using sddm-x11

Comment 5 Matt Fagnani 2023-03-17 20:18:09 UTC
I reported that xdg-desktop-portal-kde crashed when run by sddm on Wayland in F37 at https://bugzilla.redhat.com/show_bug.cgi?id=2129479 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. This problem was accepted as a freeze exception for F37 Final 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.

Comment 6 Aleix Pol 2023-03-18 00:47:21 UTC
Can somebody see if this helps? https://github.com/sddm/sddm/pull/1687

Comment 7 Neal Gompa 2023-03-18 01:59:56 UTC
I've prepared a COPR build with Aleix's patch for folks to test: https://copr.fedorainfracloud.org/coprs/ngompa/sddm-pr1687-dev/build/5665835/

Comment 8 Matt Fagnani 2023-03-18 16:36:27 UTC
I updated to sddm-0.19.0^git20230312.d00b2ce-0.fc38.1 from Neal's COPR 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.

Comment 9 Geraldo Simião 2023-03-20 14:06:11 UTC
(In reply to Neal Gompa from comment #7)
> I've prepared a COPR build with Aleix's patch for folks to test:
> https://copr.fedorainfracloud.org/coprs/ngompa/sddm-pr1687-dev/build/5665835/

I tested at my VM here with your copr build and the xdg-desktop-portal-kde crashes stop. Great!

But, alas, the other problem I'm having don't stoped (the sddm freeze one, I was expecting it was related to this crash but it seems not the case, maybe related to the maliit keyboard instead).

Comment 10 Fedora Update System 2023-03-20 15:01:13 UTC
FEDORA-2023-dad8b1e03f has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-dad8b1e03f

Comment 11 Adam Williamson 2023-03-21 00:00:52 UTC
Discussed at 2023-03-20 blocker review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2023-03-20/f38-blocker-review.2023-03-20-16.00.html . This was rejected as a blocker as it does not really violate any criteria (this does not constitute a "system service" failing within the meaning of the criterion). However, it was accepted as an FE as we would like to avoid these crashes happening, and any consequences of them, on F38 KDE live images and first boots.

Comment 12 Fedora Update System 2023-03-21 01:55:03 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.