Cannot open kde system settings, segmentation fault

After a recent topgrade, KDE's system settings fails to open at all. I change my wallpaper by right clicking on the desktop, but it's just a paired down system settings instance that only lets me change my wallpaper. Can also open a few other standalone settings like kcm_touchpad with commands like kcmshell6 kcm_touchpad, but again, those are limited to only those specific setting pages.
No description
No description
25 Replies
LZ
LZ2mo ago
I remember I faced issues with apps like this because of some customization I did, global themes and GDDM and such, it showed me something like "could not find X installed" It's bazzite tho so you shouldn't worry i think, there are ways to go back before the upgrade In grub you have the os.tree 1 entry which is the previous one Also I think you can manually take a previous commit (I'm a noobie at rpm-ostree but I do know git)
Ashlynn
AshlynnOP2mo ago
This is still happening to me. According to journald, I get a big stacktrace, and the following two messages about the crash:
Sep 24 18:54:13 bazzite systemd[5489]: [email protected]: Main process exited, code=dumped, status=11/SEGV
Sep 24 18:54:13 bazzite systemd[5489]: [email protected]: Failed with result 'core-dump'.
Sep 24 18:54:13 bazzite systemd[5489]: [email protected]: Main process exited, code=dumped, status=11/SEGV
Sep 24 18:54:13 bazzite systemd[5489]: [email protected]: Failed with result 'core-dump'.
Sep 24 18:53:36 bazzite systemd[5489]: Started [email protected] - System Settings - System Settings.
Sep 24 18:53:37 bazzite systemsettings[7802]: KCrash: Application 'systemsettings' crashing... crashRecursionCounter = 2
Sep 24 18:53:37 bazzite audit[7802]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=7802 comm="QQmlThread" exe="/usr/bin/systemsettings" sig=11 res=1
Sep 24 18:53:37 bazzite systemd[1]: systemd-timedated.service: Deactivated successfully.
Sep 24 18:53:37 bazzite audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 24 18:53:37 bazzite systemd[1]: Created slice system-drkonqi\x2dcoredump\x2dprocessor.slice - Slice /system/drkonqi-coredump-processor.
Sep 24 18:53:37 bazzite systemd[1]: Created slice system-systemd\x2dcoredump.slice - Slice /system/systemd-coredump.
Sep 24 18:53:37 bazzite audit: BPF prog-id=89 op=LOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=90 op=LOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=91 op=LOAD
Sep 24 18:53:37 bazzite systemd[1]: Started [email protected] - Process Core Dump (PID 7825/UID 0).
Sep 24 18:53:37 bazzite audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-7825-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 24 18:53:37 bazzite audit: BPF prog-id=85 op=UNLOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=84 op=UNLOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=83 op=UNLOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=92 op=LOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=93 op=LOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=94 op=LOAD
Sep 24 18:53:36 bazzite systemd[5489]: Started [email protected] - System Settings - System Settings.
Sep 24 18:53:37 bazzite systemsettings[7802]: KCrash: Application 'systemsettings' crashing... crashRecursionCounter = 2
Sep 24 18:53:37 bazzite audit[7802]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=7802 comm="QQmlThread" exe="/usr/bin/systemsettings" sig=11 res=1
Sep 24 18:53:37 bazzite systemd[1]: systemd-timedated.service: Deactivated successfully.
Sep 24 18:53:37 bazzite audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 24 18:53:37 bazzite systemd[1]: Created slice system-drkonqi\x2dcoredump\x2dprocessor.slice - Slice /system/drkonqi-coredump-processor.
Sep 24 18:53:37 bazzite systemd[1]: Created slice system-systemd\x2dcoredump.slice - Slice /system/systemd-coredump.
Sep 24 18:53:37 bazzite audit: BPF prog-id=89 op=LOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=90 op=LOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=91 op=LOAD
Sep 24 18:53:37 bazzite systemd[1]: Started [email protected] - Process Core Dump (PID 7825/UID 0).
Sep 24 18:53:37 bazzite audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-7825-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 24 18:53:37 bazzite audit: BPF prog-id=85 op=UNLOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=84 op=UNLOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=83 op=UNLOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=92 op=LOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=93 op=LOAD
Sep 24 18:53:37 bazzite audit: BPF prog-id=94 op=LOAD
if i launch it through console, this is all I get:
ashlynn@bazzite:~$ systemsettings
KCrash: Application 'systemsettings' crashing... crashRecursionCounter = 2
Segmentation fault (core dumped)
ashlynn@bazzite:~$ systemsettings
KCrash: Application 'systemsettings' crashing... crashRecursionCounter = 2
Segmentation fault (core dumped)
Ashlynn
AshlynnOP2mo ago
and this is the kcrash.. took a long time to load and gdb used like 8gb of memory lol
Ashlynn
AshlynnOP2mo ago
So, I can open it with sudo systemsettings just fine:
ashlynn@bazzite:~$ sudo systemsettings
[sudo] password for ashlynn:
kf.kirigami.platform: Failed to find a Kirigami platform plugin for style "Fusion"
kde.plasma.activitiesstats: PlasmaActivities: Database is not open: "kactivities_db_resources_140289434364672_readonly" "/root/.local/share/kactivitymanagerd/resources/database" QSqlError("14", "Error opening database", "unable to open database file")
QSqlDatabasePrivate::database: unable to open database: "unable to open database file Error opening database"
kde.plasma.activitiesstats: PlasmaActivities: Database is not open: "kactivities_db_resources_140289434364672_readonly" "/root/.local/share/kactivitymanagerd/resources/database" QSqlError("14", "Error opening database", "unable to open database file")
kde.plasma.activitiesstats: Plasma Activities ERROR: There is no database. This probably means that you do not have the Activity Manager running, or that something else is broken on your system. Recent documents and alike will not work!
qt.accessibility.atspi: Error in contacting registry: "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not activate remote peer 'org.a11y.atspi.Registry': unit failed"
ashlynn@bazzite:~$ sudo systemsettings
[sudo] password for ashlynn:
kf.kirigami.platform: Failed to find a Kirigami platform plugin for style "Fusion"
kde.plasma.activitiesstats: PlasmaActivities: Database is not open: "kactivities_db_resources_140289434364672_readonly" "/root/.local/share/kactivitymanagerd/resources/database" QSqlError("14", "Error opening database", "unable to open database file")
QSqlDatabasePrivate::database: unable to open database: "unable to open database file Error opening database"
kde.plasma.activitiesstats: PlasmaActivities: Database is not open: "kactivities_db_resources_140289434364672_readonly" "/root/.local/share/kactivitymanagerd/resources/database" QSqlError("14", "Error opening database", "unable to open database file")
kde.plasma.activitiesstats: Plasma Activities ERROR: There is no database. This probably means that you do not have the Activity Manager running, or that something else is broken on your system. Recent documents and alike will not work!
qt.accessibility.atspi: Error in contacting registry: "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not activate remote peer 'org.a11y.atspi.Registry': unit failed"
that is, it opens just fine. Not sure what those errors are about i can also open it in a container just fine (tried bazzite-arch, worked fine) https://paste.centos.org/view/fcacf899 here's a ujust device-info
LZ
LZ2mo ago
It looks like upgrade has gone wrong and somehow just either missed files or just broke something What about doing this? https://bbs.archlinux.org/viewtopic.php?id=293984 Just looked online and this seems similar to your issue
Ashlynn
AshlynnOP2mo ago
ill try purging some files there later and see what happens I tried selectively deleting all kinds of folders and files in ~/.config and it's still not opening. Gonna try completely emptying .config next and see what happens I did make a backup, so I can easily restore it if need be Nope, still won't open
asen23
asen232mo ago
try .local/share too some kde setting are in there
Ashlynn
AshlynnOP2mo ago
alright
Emperor Lelouch Vi Brittania
Try a new profile if it still doesn't open then something went really wrong with the update otherwise it should be something in your home directory related to plasma config stuff you could reset that
LZ
LZ2mo ago
Maybe try upgrading kde on a virtual machine, same exact upgrade with the same settings/theming as you had before and see if that fails Ive had worse issues than yours on nvidia with kde and I switched to gnome, wouldn't say it was flawless but significantly less issues, so you can try gnome perhaps to see how it is on a virtual machine And if you install kde for a second time I would suggest, if you theme it, to use themes that are relaltively popular with a high downloads I know that themes can run system wide scripts on your machine so it might change other things (SDDM theming broke the login screen on my machine for example)
Ashlynn
AshlynnOP2mo ago
I only use breeze lol I have no custom themes or anything Just.. stock kde any suggestions of what I should try deleting?
asen23
asen232mo ago
probably start with systemsettingsrc file renaming it should work append .bak or something
Ashlynn
AshlynnOP2mo ago
there isnt one
asen23
asen232mo ago
in folder systemsettings
Ashlynn
AshlynnOP2mo ago
yeah, that folder is empty
Ashlynn
AshlynnOP2mo ago
lol
No description
asen23
asen232mo ago
not sure then try something with plasma or kde in it
Ashlynn
AshlynnOP2mo ago
thats the backup i made before i started deleting stuff.. I tried deleting everything kde and plasma related and systemsettings still won't open
asen23
asen232mo ago
hmm, no idea then
Ashlynn
AshlynnOP2mo ago
well, i didn't delete keyrings, because i think i probably need that, and it's pretty unlikely that's the cause lmao There.. nuked all kinds of things in .local/share, nuked the entire .config folder.. let's see Oh and I did that in TTY that I opened before even logging into the user, so maybe that'll do something Lol nope, system settings still won't open I'm so confused Umm.. is there a way I can try to reinstall kde plasma or something?
wolfyreload
wolfyreload2mo ago
Have you tried clearing your .cache folder? I've found that can solve all sorts of weird errors
Ashlynn
AshlynnOP2mo ago
Maybe ststemsettings got broken? Though idk why I'd still be able to open it with sudo but not as a user Hmm.. I'll give that a try LMAO sure enough, just renaming .cache to .cache.bak (and the same with the Cache folder) and now it works like nothing ever happened
asen23
asen232mo ago
cache is the first place to clear lmao
Ashlynn
AshlynnOP2mo ago
thank you so much @wolfyreload ❤️ i will keep that in mind..
wolfyreload
wolfyreload2mo ago
Good news. That that helped 😊
Want results from more Discord servers?
Add your server