Bug 461551

Summary: System Settings does not open and crashes
Product: [Applications] systemsettings Reporter: mohaz <mojangles32>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: krutalevex, laura.stern, nicolas.fella, nkayeto768, piotr.mierzwinski, scott.beamer
Priority: NOR    
Version: 5.26.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Contains the crash information from the KDE Crash Handler

Description mohaz 2022-11-07 15:38:51 UTC
Created attachment 153556 [details]
Contains the crash information from the KDE Crash Handler

SUMMARY
System Settings does not open and crashes. It was working before, then I updated the system and this specific problem began. So I assume the problem stems from the update.

STEPS TO REPRODUCE
1. Click on the System Settings Icon
2. Crash

OBSERVED RESULT
Crashes and does not open

EXPECTED RESULT
Opens the system setting

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kde Neon Testing 
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
I have attached a back-trace of the crash, I am not sure if the debug symbols are included because the debug symbol also crashes during the install. I hope that it is still useful.
Comment 1 Nicolas Fella 2022-11-07 16:10:58 UTC
                #0  0x00007f17bf962a7c __pthread_kill_implementation (libc.so.6 + 0x96a7c)
                #1  0x00007f17bf90e476 __GI_raise (libc.so.6 + 0x42476)
                #2  0x00007f17c14610a5 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x80a5)
                #3  0x00007f17bf90e520 __restore_rt (libc.so.6 + 0x42520)
                #4  0x00007f17bf962a7c __pthread_kill_implementation (libc.so.6 + 0x96a7c)
                #5  0x00007f17bf90e476 __GI_raise (libc.so.6 + 0x42476)
                #6  0x00007f17bf8f47f3 __GI_abort (libc.so.6 + 0x287f3)
                #7  0x00007f17bfdb1ba3 qt_message_fatal (libQt5Core.so.5 + 0x91ba3)
                #8  0x00007f17b05e3de9 n/a (systemsettings_sidebar_mode.so + 0x16de9)
                #9  0x00007f17b05e3e11 n/a (systemsettings_sidebar_mode.so + 0x16e11)
                #10 0x00005628383f93d8 n/a (systemsettings + 0x153d8)
                #11 0x00005628383fd293 n/a (systemsettings + 0x19293)
                #12 0x00007f17c0009afe _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2e9afe)
                #13 0x00007f17c15874ed _ZN13KXmlGuiWindow5eventEP6QEvent (libKF5XmlGui.so.5 + 0x944ed)
                #14 0x00007f17c0bf6763 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x16c763)
                #15 0x00007f17bffdc09a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2bc09a)
                #16 0x00007f17bffdf187 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2bf187)
                #17 0x00007f17c00364a7 postEventSourceDispatch (libQt5Core.so.5 + 0x3164a7)
                #18 0x00007f17be528d1b g_main_context_dispatch (libglib-2.0.so.0 + 0x55d1b)
                #19 0x00007f17be57d6f8 n/a (libglib-2.0.so.0 + 0xaa6f8)
                #20 0x00007f17be5263c3 g_main_context_iteration (libglib-2.0.so.0 + 0x533c3)
                #21 0x00007f17c0035af8 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x315af8)
                #22 0x00007f17bffda9bb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ba9bb)
                #23 0x00007f17bffe2f54 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2c2f54)
                #24 0x00005628383f33f6 n/a (systemsettings + 0xf3f6)
                #25 0x00007f17bf8f5d90 __libc_start_call_main (libc.so.6 + 0x29d90)
                #26 0x00007f17bf8f5e40 __libc_start_main_impl (libc.so.6 + 0x29e40)
                #27 0x00005628383f3d65 n/a (systemsettings + 0xfd65)
Comment 2 Nicolas Fella 2022-11-07 16:11:44 UTC
Please run systemsettings in a terminal and comment the output here
Comment 3 mohaz 2022-11-07 16:13:42 UTC
(In reply to Nicolas Fella from comment #2)
> Please run systemsettings in a terminal and comment the output here

[~]$ systemsettings
Using fontconfig file: "/home/azad/.config/fontconfig/fonts.conf"
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
kf.coreaddons: "Could not load plugin from kcm_kaccounts: The shared library was not found."
file:///usr/share/kpackage/genericqml/org.kde.systemsettings.sidebar/contents/ui/main.qml:11:1: Type Kirigami.ApplicationItem unavailable 
     Kirigami.ApplicationItem { 
     ^
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:75:1: Type Kirigami.AbstractApplicationItem unavailable 
     Kirigami.AbstractApplicationItem { 
     ^
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationItem.qml:436:13: Icon is not a type 
                 Icon { 
                 ^
"file:///usr/share/kpackage/genericqml/org.kde.systemsettings.sidebar/contents/ui/main.qml:11:1: Type Kirigami.ApplicationItem unavailable"
"file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:75:1: Type Kirigami.AbstractApplicationItem unavailable"
"file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationItem.qml:436:13: Icon is not a type"
Fatal error while loading the sidebar view qml component
28 -- exe=/usr/bin/systemsettings
13 -- platform=xcb
11 -- display=:0
23 -- appname=systemsettings
17 -- apppath=/usr/bin
9 -- signal=6
10 -- pid=15993
18 -- appversion=5.26.2
28 -- programname=System Settings
31 -- bugaddress=submit@bugs.kde.org
12 -- startupid=0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = systemsettings path = /usr/bin pid = 15993
KCrash: Arguments: /usr/bin/systemsettings 
[1]    15993 IOT instruction (core dumped)  systemsettings
[~]$
Comment 5 mohaz 2022-11-07 16:19:52 UTC
(In reply to Nicolas Fella from comment #4)
> That should be fixed with
> https://invent.kde.org/frameworks/kirigami/-/commit/
> a010aa53c10ef80b839f68bbc3ca8b26f47ad272

Cool, thanks! I'll just wait for the update then.
Comment 6 Nicolas Fella 2022-11-08 10:43:56 UTC
*** Bug 461566 has been marked as a duplicate of this bug. ***
Comment 7 Nicolas Fella 2022-11-08 14:11:43 UTC
*** Bug 461592 has been marked as a duplicate of this bug. ***
Comment 8 Nicolas Fella 2022-11-10 12:45:27 UTC
*** Bug 461662 has been marked as a duplicate of this bug. ***
Comment 9 Nicolas Fella 2022-11-13 16:03:46 UTC
*** Bug 461759 has been marked as a duplicate of this bug. ***