SDDM Crashes at Boot

Fedora 42; just ran an update today and now SDDM crashes instantly. 3 days ago I reinstalled the OS because this was happening before but so badly I couldn’t even drop into a TTY. Before I blamed myself but now I think something’s wrong with whatever Fedora is sending out.

To get into a graphical session again I had to find an ethernet adapter and install LightDM.

Backtrace:

Stack trace of thread 1862:
#0  0x00007f87ace8111c __pthread_kill_implementation (libc.so.6 + 0x7311c)
#1  0x00007f87ace27afe raise (libc.so.6 + 0x19afe)
#2  0x00007f87ace0f6d0 abort (libc.so.6 + 0x16d0)
#3  0x00007f87ab81ad1c _Z6qAbortv (libQt6Core.so.6 + 0x1ad1c)
#4  0x00007f87ab86e3f8 _ZL10qt_message9QtMsgTypeRK18QMessageLogContextPKcP13__va_list_tag (libQt6Core.so.6 + 0x6e3f8)
#5  0x00007f87ab81c42e _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x1c42e)
#6  0x00007f87ac42dd0b _ZL13init_platformRK7QStringS1_S1_RiPPc.cold (libQt6Gui.so.6 + 0x2dd0b)
#7  0x00007f87ac4e628b _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt6Gui.so.6 + 0xe628b)
#8  0x00007f87ac4e6e88 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0xe6e88)
#9  0x00007f87ab9027ad _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x1027ad)
#10 0x00007f87ac4eb48d _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0xeb48d)
#11 0x00007f87ac4ed019 _ZN15QGuiApplicationC1ERiPPci (libQt6Gui.so.6 + 0xed019)
#12 0x000055b017b6d8eb main (/usr/bin/sddm-greeter-qt6 + 0xc8eb)
#13 0x00007f87ace115f5 __libc_start_call_main (libc.so.6 + 0x35f5)
#14 0x00007f87ace116a8 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x36a8)
#15 0x000055b017b70915 _start (/usr/bin/sddm-greeter-qt6 + 0xf915)
ELF object binary architecture: AMD x86-64

Looking at the crash trace, it appears to miss some platform components, in Qt terms that would typically be X11 support or Wayland support.

This can be due to incorrect package configuration, incorrect package compilation, incorrect installation (i.e broken packages) or wrong configuration (trying to run sddm X11 when you have only Wayland support installed or vice-versa).

1 Like

Well, I spun up a VM and updated it to compare if I was somehow missing packages, but everything my VM has installed was also installed on my host… the VM still worked with SDDM. So misconfigured or incorrecly installed…

I found a one-line script to reinstall every DNF package in one go and ran it from the TTY after flusing the DNF cache. SDDM is working now with no other changes.

1 Like