Bug 479623 - KWin segfault on login with KDE Framework 5.248
Summary: KWin segfault on login with KDE Framework 5.248
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-10 21:06 UTC by Mihail Angelov
Modified: 2024-01-10 22:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihail Angelov 2024-01-10 21:06:30 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Update Arch (pull KDE Frameworks Version 5.248)
2. Reboot
3. Try to login through SDDM

OBSERVED RESULT
Black screen, then get dumped back to SDDM. Login is impossible.

When checking the journal it can be seen that kwin_wayland segfaults in libKF6ConfigCore.so.5.248.0

EXPECTED RESULT
Be able to login.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.0 Beta 2
KDE Frameworks Version: 5.248
Qt Version: 6.7.0

ADDITIONAL INFORMATION
I was able to login after reverting kconfig to 5.247. Still some applications (Dolphin, Konsole) can't be opened.

When I chose an X11 session through SDDM I was able to get to the desktop, but a lot of things weren't operational, kwin was crashing, etc.

Creating a new user didn't help for both Wayland and X11.

RELEVANT PART OF JOURNAL
Jan 10 21:31:12 jupiter kernel: kwin_wayland[1310]: segfault at d1 ip 00007fcc513de1a6 sp 00007ffc585e2ce0 error 6 in libKF6ConfigCore.so.5.248.0[7fcc513a4000+45000] likely on CPU 6 (core 10, socket 0)
Jan 10 21:31:12 jupiter kernel: Code: 89 7a 28 0f 11 52 18 48 85 c0 74 04 f0 83 00 01 f3 0f 6f 5b 30 48 8b 7b 40 48 8b 43 30 48 89 7a 40 0f 11 5a 30 48 85 c0 74 04 <f0> 83 00 01 f3 0f 6f 63 48 48 8b 7b 58 48 8b 43 48 48 89 7a 58 0f
Jan 10 21:31:12 jupiter systemd[1]: Created slice Slice /system/drkonqi-coredump-processor.
Jan 10 21:31:12 jupiter systemd[1]: Created slice Slice /system/systemd-coredump.
Jan 10 21:31:12 jupiter systemd[1]: Started Process Core Dump (PID 1341/UID 0).
Jan 10 21:31:12 jupiter systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Jan 10 21:31:12 jupiter systemd-coredump[1342]: Process 1310 (kwin_wayland) of user 1000 dumped core.
                                                
                                                Stack trace of thread 1310:
                                                #0  0x00007fcc513de1a6 n/a (libKF6ConfigCore.so.6 + 0x581a6)
                                                #1  0x00007fcc513c9a87 _ZN19KCoreConfigSkeleton8ItemEnum17setValueForChoiceERK7QStringS3_ (libKF6ConfigCore.so.6 + 0x43a87)
                                                #2  0x00007fcc53006c52 n/a (libkwin.so.6 + 0x406c52)
                                                #3  0x00007fcc52eca101 _ZN4KWin7OptionsC1EP7QObject (libkwin.so.6 + 0x2ca101)
                                                #4  0x00007fcc52eafa3e _ZN4KWin11Application13createOptionsEv (libkwin.so.6 + 0x2afa3e)
                                                #5  0x000056066874b321 n/a (kwin_wayland + 0x5b321)
                                                #6  0x000056066873ce78 n/a (kwin_wayland + 0x4ce78)
                                                #7  0x00007fcc50645cd0 n/a (libc.so.6 + 0x27cd0)
                                                #8  0x00007fcc50645d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                                #9  0x0000560668742e85 n/a (kwin_wayland + 0x52e85)
                                                
                                                Stack trace of thread 1339:
                                                #0  0x00007fcc50720f6f __poll (libc.so.6 + 0x102f6f)
                                                #1  0x00007fcc4ee612b6 n/a (libglib-2.0.so.0 + 0xb82b6)
                                                #2  0x00007fcc4ee01162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                                                #3  0x00007fcc503ab164 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3ab164)
                                                #4  0x00007fcc5016d67e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16d67e)
                                                #5  0x00007fcc50253a3f _ZN7QThread4execEv (libQt6Core.so.6 + 0x253a3f)
                                                #6  0x00007fcc5123513f n/a (libQt6DBus.so.6 + 0x3113f)
                                                #7  0x00007fcc502d4ae3 n/a (libQt6Core.so.6 + 0x2d4ae3)
                                                #8  0x00007fcc506aa9eb n/a (libc.so.6 + 0x8c9eb)
                                                #9  0x00007fcc5072e7cc n/a (libc.so.6 + 0x1107cc)
                                                ELF object binary architecture: AMD x86-64
Comment 1 Mihail Angelov 2024-01-10 21:20:53 UTC
I reverted the last update and things are back to normal.

Here are the packages that were installed:
attica (5.247.0-1 -> 5.248.0-1)
kconfig (5.247.0-1 -> 5.248.0-1)
kcoreaddons (5.247.0-1 -> 5.248.0-1)
kcrash (5.247.0-1 -> 5.248.0-1)
kdbusaddons (5.247.0-1 -> 5.248.0-1)
karchive (5.247.0-1 -> 5.248.0-1)
ki18n (5.247.0-1 -> 5.248.0-1)
kfilemetadata (5.247.0-1 -> 5.248.0-1)
kidletime (5.247.0-1 -> 5.248.0-1)
kwindowsystem (5.247.0-1 -> 5.248.0-1)
kauth (5.247.0-1 -> 5.248.0-1)
kcodecs (5.247.0-1 -> 5.248.0-1)
kguiaddons (5.247.0-1 -> 5.248.0-1)
kcolorscheme (5.247.0-1 -> 5.248.0-1)
kwidgetsaddons (5.247.0-1 -> 5.248.0-1)
kconfigwidgets (5.247.0-1 -> 5.248.0-1)
kbookmarks (5.247.0-1 -> 5.248.0-1)
kcompletion (5.247.0-1 -> 5.248.0-1)
kiconthemes (5.247.0-1 -> 5.248.0-1)
kitemviews (5.247.0-1 -> 5.248.0-1)
knotifications (5.247.0-1 -> 5.248.0-1)
kjobwidgets (5.247.0-1 -> 5.248.0-1)
kservice (5.247.0-1 -> 5.248.0-1)
kwallet (5.247.0-1 -> 5.248.0-1)
solid (5.247.0-1 -> 5.248.0-1)
kio (5.247.0-1 -> 5.248.0-1)
baloo (5.247.0-1 -> 5.248.0-1)
bluez-qt (5.247.0-1 -> 5.248.0-1)
breeze-icons (5.247.0-1 -> 5.248.0-1)
kpackage (5.247.0-1 -> 5.248.0-1)
syndication (5.247.0-1 -> 5.248.0-1)
knewstuff (5.247.0-1 -> 5.248.0-1)
frameworkintegration (5.247.0-1 -> 5.248.0-1)
kcalendarcore (5.247.0-1 -> 5.248.0-1)
kglobalaccel (5.247.0-1 -> 5.248.0-1)
kxmlgui (5.247.0-1 -> 5.248.0-1)
kcmutils (5.247.0-1 -> 5.248.0-1)
kcontacts (1:5.247.0-1 -> 1:5.248.0-1)
kdav (1:5.247.0-1 -> 1:5.248.0-1)
kdeclarative (5.247.0-1 -> 5.248.0-1)
kded (5.247.0-1 -> 5.248.0-1)
kpty (5.247.0-1 -> 5.248.0-1)
kdesu (5.247.0-1 -> 5.248.0-1)
kdnssd (5.247.0-1 -> 5.248.0-1)
kdoctools (5.247.0-1 -> 5.248.0-1)
kholidays (1:5.247.0-1 -> 1:5.248.0-1)
kirigami (5.247.0-2 -> 5.248.0-1)
kitemmodels (5.247.0-1 -> 5.248.0-1)
knotifyconfig (5.247.0-1 -> 5.248.0-1)
kparts (5.247.0-1 -> 5.248.0-1)
kplotting (5.247.0-1 -> 5.248.0-1)
kquickcharts (5.247.0-1 -> 5.248.0-1)
krunner (5.247.0-1 -> 5.248.0-1)
kstatusnotifieritem (5.247.0-1 -> 5.248.0-1)
ksvg (5.247.0-1 -> 5.248.0-1)
sonnet (5.247.0-1 -> 5.248.0-1)
ktextwidgets (5.247.0-1 -> 5.248.0-1)
syntax-highlighting (5.247.0-1 -> 5.248.0-1)
ktexteditor (5.247.0-1 -> 5.248.0-1)
ktexttemplate (5.247.0-1 -> 5.248.0-1)
kunitconversion (5.247.0-1 -> 5.248.0-1)
kuserfeedback (5.247.0-1 -> 5.248.0-1)
modemmanager-qt (5.247.0-1 -> 5.248.0-1)
networkmanager-qt (5.247.0-1 -> 5.248.0-1)
prison (5.247.0-1 -> 5.248.0-1)
purpose (5.247.0-2 -> 5.248.0-1)
qqc2-desktop-style (5.247.0-1 -> 5.248.0-1)
threadweaver (5.247.0-1 -> 5.248.0-1)
Comment 2 Pawel 2024-01-10 22:37:58 UTC
RC1 has not been pushed to Arch repos yet. wait until all packages have been updated.