Unable to get into GTK settings in KDE Plasma settings, segmentation fault

Hey people, I have an issue now with KDE Plasma settings. Whenever I try to get into the GTK settings I get a segmentation fault. I do not know if this is because of the last updates since it has been a couple of weeks since I last got into the GTK settings. When executing in konsole systemsettings5 I get the following error when the app crashes

couldn't include  "common-dark-eta.rc"
couldn't include  "3rd-party-dark-eta.rc"

repeated tons of times. I have set as GTK theme in both 2.0 and 3.0 Adapta-Nokto-Eta-Maia and I have checked that these two files exist. In fact, they exist for all the Nokto-Eta versions of Adapta

-rw-r--r-- 1 root root 15915 sep  3 19:38 Adapta-Black-Nokto-Eta-Breath/gtk-2.0/3rd-party-dark-eta.rc
-rw-r--r-- 1 root root 71673 sep  3 19:38 Adapta-Black-Nokto-Eta-Breath/gtk-2.0/common-dark-eta.rc
-rw-r--r-- 1 root root 15915 sep  3 19:38 Adapta-Black-Nokto-Eta-Maia/gtk-2.0/3rd-party-dark-eta.rc
-rw-r--r-- 1 root root 71673 sep  3 19:38 Adapta-Black-Nokto-Eta-Maia/gtk-2.0/common-dark-eta.rc
-rw-r--r-- 1 root root 15915 sep  3 19:38 Adapta-Nokto-Eta-Breath/gtk-2.0/3rd-party-dark-eta.rc
-rw-r--r-- 1 root root 71673 sep  3 19:38 Adapta-Nokto-Eta-Breath/gtk-2.0/common-dark-eta.rc
-rw-r--r-- 1 root root 15915 nov 14 15:19 Adapta-Nokto-Eta/gtk-2.0/3rd-party-dark-eta.rc
-rw-r--r-- 1 root root 71673 nov 14 15:19 Adapta-Nokto-Eta/gtk-2.0/common-dark-eta.rc
-rw-r--r-- 1 root root 15915 sep  3 19:38 Adapta-Nokto-Eta-Maia/gtk-2.0/3rd-party-dark-eta.rc
-rw-r--r-- 1 root root 71673 sep  3 19:38 Adapta-Nokto-Eta-Maia/gtk-2.0/common-dark-eta.rc

From KSystemLog I get the following errors:
From systemsettings5

Process 22384 (systemsettings5) of user 1000 dumped core.

Stack trace of thread 22384:
#0  0x00007f363262c790 __read (libc.so.6)
#1  0x00007f3632a81557 n/a (libQt5Core.so.5)
#2  0x00007f3632ab1af0 n/a (libQt5Core.so.5)
#3  0x00007f3632a4f1ac _ZN11QFileDevice8readDataEPcx (libQt5Core.so.5)
#4  0x00007f3632a56e7b _ZN16QIODevicePrivate4readEPcxb (libQt5Core.so.5)
#5  0x00007f3632b9457b n/a (libQt5Core.so.5)
#6  0x00007f3632b9504b n/a (libQt5Core.so.5)
#7  0x00007f3632b966c5 _ZN11QTextStream12readLineIntoEP7QStringx (libQt5Core.so.5)
#8  0x00007f3632b968ef _ZN11QTextStream8readLineEx (libQt5Core.so.5)
#9  0x00007f3616c14383 n/a (kcm_kdegtkconfig.so)
#10 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#11 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#12 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#13 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#14 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#15 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#16 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#17 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#18 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#19 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#20 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#21 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#22 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#23 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#24 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#25 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#26 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#27 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#28 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#29 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#30 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#31 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#32 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#33 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#34 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#35 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#36 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#37 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#38 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#39 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#40 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#41 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#42 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#43 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#44 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#45 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#46 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#47 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#48 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#49 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#50 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#51 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#52 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#53 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#54 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#55 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#56 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#57 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#58 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#59 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#60 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#61 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#62 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)
#63 0x00007f3616c145b7 n/a (kcm_kdegtkconfig.so)

Stack trace of thread 22386:
#0  0x00007f3632630c21 __poll (libc.so.6)
#1  0x00007f3630fbf630 n/a (libxcb.so.1)
#2  0x00007f3630fc12db xcb_wait_for_event (libxcb.so.1)
#3  0x00007f362cbe3949 n/a (libQt5XcbQpa.so.5)
#4  0x00007f363295196c n/a (libQt5Core.so.5)
#5  0x00007f3630ffea9d start_thread (libpthread.so.0)
#6  0x00007f363263bb23 __clone (libc.so.6)

Stack trace of thread 22388:
#0  0x00007f3631004afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1  0x00007f36233f6c84 n/a (i965_dri.so)
#2  0x00007f36233f69a8 n/a (i965_dri.so)
#3  0x00007f3630ffea9d start_thread (libpthread.so.0)
#4  0x00007f363263bb23 __clone (libc.so.6)

Stack trace of thread 22387:
#0  0x00007f3632630c21 __poll (libc.so.6)
#1  0x00007f36302e0540 n/a (libglib-2.0.so.0)
#2  0x00007f36302e062e g_main_context_iteration (libglib-2.0.so.0)
#3  0x00007f3632b63ce9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#4  0x00007f3632b0cb2c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#5  0x00007f3632950569 _ZN7QThread4execEv (libQt5Core.so.5)
#6  0x00007f3632dd7ba6 n/a (libQt5DBus.so.5)
#7  0x00007f363295196c n/a (libQt5Core.so.5)
#8  0x00007f3630ffea9d start_thread (libpthread.so.0)
#9  0x00007f363263bb23 __clone (libc.so.6)

From audit

SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@5-23797-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

From the kernel

audit: type=1131 audit(1551043905.711:216): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@5-23797-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

From systemd

Started Process Core Dump (PID 23797/UID 0).

From audit

SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@5-23797-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

From kernel

audit: type=1701 audit(1551043903.241:214): auid=1000 uid=1000 gid=1000 ses=2 pid=22384 comm="systemsettings5" exe="/usr/bin/systemsettings5" sig=11 res=1
Code: 05 c5 6d 0d 00 8b 00 85 c0 75 0f 31 c0 0f 05 48 3d 00 f0 ff ff 77 53 c3 66 90 41 54 49 89 d4 55 48 89 f5 53 89 fb 48 83 ec 10 <e8> cb c9 01 00 4c 89 e2 48 89 ee 89 df 41 89 c0 31 c0 0f 05 48 3d
systemsettings5[22384]: segfault at 7ffc73511fe8 ip 00007f363262c790 sp 00007ffc73511ff0 error 6 in libc-2.28.so[7f3632562000+14b000]

From audit

ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 pid=22384 comm="systemsettings5" exe="/usr/bin/systemsettings5" sig=11 res=1

From systemsettings5

couldn't include  "colors-dark.rc"
couldn't include  "3rd-party-dark-eta.rc"

This message is repeated at least 100 times. These are my system specs

System:    Host: atlantis Kernel: 4.19.24-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: KDE Plasma 5.15.1 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 80TL v: Lenovo V110-15ISK serial: <filter> 
           Mobo: LENOVO model: Lenovo V110-15ISK v: SDK0J40700 WIN serial: <filter> UEFI: LENOVO v: 1KCN33WW date: 04/07/2017 
Battery:   ID-1: BAT0 charge: 28.9 Wh condition: 29.6/32.0 Wh (93%) model: LGC L15L4A02 status: Unknown 
CPU:       Topology: Dual Core model: Intel Core i3-6006U bits: 64 type: MT MCP arch: Skylake rev: 3 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 15940 
           Speed: 2000 MHz min/max: 400/2000 MHz Core speeds (MHz): 1: 2000 2: 2000 3: 2000 4: 2000 
Graphics:  Device-1: Intel HD Graphics 520 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.3 driver: intel unloaded: modesetting resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) v: 4.5 Mesa 18.3.3 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.19.24-1-MANJARO 
Network:   Device-1: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi v: kernel port: efa0 bus ID: 02:00.0 
           IF: wlp2s0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.045.08-NAPI 
           port: d000 bus ID: 03:00.0 
           IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 530.67 GiB (57.0%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10JPCX-24UE4T0 size: 931.51 GiB 
Partition: ID-1: / size: 65.21 GiB used: 27.84 GiB (42.7%) fs: ext4 dev: /dev/sda3 
           ID-2: /home size: 805.02 GiB used: 502.79 GiB (62.5%) fs: ext4 dev: /dev/sda9 
           ID-3: swap-1 size: 7.63 GiB used: 2.0 MiB (0.0%) fs: swap dev: /dev/sda8 
Sensors:   System Temperatures: cpu: 52.0 C mobo: 43.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 235 Uptime: 13h 40m Memory: 7.59 GiB used: 2.82 GiB (37.1%) Init: systemd Compilers: gcc: 8.2.1 
           Shell: zsh v: 5.7.1 inxi: 3.0.30

Thank you very much in advance

1 Like

Have you done these? (I would suggest in this order, with re-login after each)

  • Check with another theme.
  • Check if you have local overrides on themes at ~/.local/share/
  • Clear Plasma cache
  • Remove (with backup) Plasma config files (as Archwiki instructs) in ~/.config/

I think I found the error. Last week I followed the instructions in the Arch Wiki to make root applications use my gtk theme by creating a symbolic link. The thing is that the original file has a include statement to the target file and therefore the target file includes itself (?). I just undid the symbolic link a copied directly the content of my .gtkrc-2.0 into /etc/gtk-2.0/gtkrc excluding the include statement. Now I can access again the kde plasma gtk settings

That’s not there by default AFAIK and also is the reason for this not being a proper/safe way of solving this.
Of course, the main thing is that you shouldn’t run GUI apps as root.
But if you want to take the risk, I suggest you copy (not symlink) those files to /root/ relevant paths, as this is the native home folder for root. This way

  • You are safe from a package update that might break something and
  • You have the option to alter those settings (other existing theme, or colors) for GTK theming when used by root, so the windows are distinct and “reminding” that you should be carefull.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by Bytemark