Bug 409102 - Installing theme caused 'System Settings' to crash. Persists after reboot.
Summary: Installing theme caused 'System Settings' to crash. Persists after reboot.
Status: RESOLVED FIXED
Alias: None
Product: plasma-integration
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.6
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-24 03:03 UTC by erick284
Modified: 2019-06-24 04:40 UTC (History)
0 users

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


Attachments
systemsettings5_back_trace (5.62 KB, text/plain)
2019-06-24 03:03 UTC, erick284
Details

Note You need to log in before you can comment on or make changes to this bug.
Description erick284 2019-06-24 03:03:24 UTC
Created attachment 121105 [details]
systemsettings5_back_trace

SUMMARY


STEPS TO REPRODUCE
1. Download 'Qogir SDDM' theme here: https://store.kde.org/p/1311077/
2. Install using "System Settings" -> "Workplace Theme" -> "Desktop Theme" -> "Install from File"

OBSERVED RESULT
"System Settings" will crash immediately after install. Thereafter, unable to click on or open "Desktop Theme" without crash. Issue persists after reboot.

EXPECTED RESULT
No crash when clicking on or open "Desktop Theme"

SOFTWARE/OS VERSIONS
LSB_release: Debian GNU/Linux 9.9 (stretch)
KDE Plasma Version: 5.8.6
KDE Frameworks Version: 5.28.0
Qt Version: 5.7.1

ADDITIONAL INFORMATION
Attached 'systemsettings5' back trace output.
Comment 1 erick284 2019-06-24 03:08:53 UTC
Kernel: 4.9.0.9-amd64
Comment 2 erick284 2019-06-24 03:30:31 UTC
ADDITIONAL INFO:
I tried running `systemsettings5` from the terminal and clicking on `Desktop Theme`. Terminal output:

username@domainname:~$ systemsettings5
Icon theme "gnome" not found.
Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
org.kde.kcoreaddons: Error loading plugin "kcm_lookandfeel" "The shared library was not found." 
Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
org.kde.kcoreaddons: Error loading plugin "kcm_desktoptheme" "The shared library was not found." 
Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
"/home/username/.local/share/plasma/desktoptheme/metadata/metadata.desktop" has no desktop group, cannot construct a KPluginInfo object from it.
"/home/username/.local/share/plasma/desktoptheme/metadata/metadata.desktop" has no desktop group, cannot construct a KPluginInfo object from it.
Accessed invalid KPluginInfo object
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = systemsettings5 path = /usr/bin pid = 3259
KCrash: Arguments: /usr/bin/systemsettings5 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Stopped                 systemsettings5
username@domainname:~$ QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
Comment 3 erick284 2019-06-24 04:02:21 UTC
Attempted to reinstall kde-config-sddm. Behavior persists. Terminal output:

username@domainname:~$ sudo apt-get install --reinstall kde-config-sddm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  icedtea-netx icedtea-netx-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 82.4 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian stretch/main amd64 kde-config-sddm amd64 4:5.8.4-1 [82.4 kB]
Fetched 82.4 kB in 0s (314 kB/s)           
(Reading database ... 241571 files and directories currently installed.)
Preparing to unpack .../kde-config-sddm_4%3a5.8.4-1_amd64.deb ...
Unpacking kde-config-sddm (4:5.8.4-1) over (4:5.8.4-1) ...
Setting up kde-config-sddm (4:5.8.4-1) ...
Processing triggers for dbus (1.10.28-0+deb9u1) ...

username@domainname:~$ systemsettings5
Icon theme "gnome" not found.
Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
"/home/username/.local/share/plasma/desktoptheme/metadata/metadata.desktop" has no desktop group, cannot construct a KPluginInfo object from it.
"/home/username/.local/share/plasma/desktoptheme/metadata/metadata.desktop" has no desktop group, cannot construct a KPluginInfo object from it.
Accessed invalid KPluginInfo object
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = systemsettings5 path = /usr/bin pid = 5353
KCrash: Arguments: /usr/bin/systemsettings5 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Stopped                 systemsettings5

user@debian:~$ QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
^C
[1]+  Exit 253                systemsettings5
Comment 4 erick284 2019-06-24 04:40:48 UTC
Issue was solved by the following:
1. Run: 'mv /home/username/.local/share/plasma/desktoptheme /home/themeowfest/no.desktoptheme'
2. logout -> login

Credit: 
1. user 'seth' on 'bbs.archlinux.org'
2. https://bbs.archlinux.org/viewtopic.php?id=228763
3. https://web.archive.org/web/20190624043814/https://bbs.archlinux.org/viewtopic.php?id=228763