You are not logged in.

#1 2017-08-03 14:24:07

ShinyShinx
Member
Registered: 2017-08-03
Posts: 13

[SOLVED] KDE System Settings crashes when opening Desktop Theme

Hello smile

I've been having a real problem with KDE. Every single time I open the system settings application and try to change my theme, it instantly crashes. I already brought up the issue at https://bugs.kde.org/show_bug.cgi?id=383026 , but they said it was an issue with the shared libraries for the package and NOT the actual package itself.

I would really appreciate it if anybody could help me. This is keeping me from theme-ing my DE, and I am very picky about how things look tongue

Last edited by ShinyShinx (2017-08-03 18:44:42)


Meow :3

Offline

#2 2017-08-03 14:30:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,289

Re: [SOLVED] KDE System Settings crashes when opening Desktop Theme

That backtrace looks like a crash that might be associated with a microcode issue. If you have an intel cpu, make sure you properly install and apply them.

https://wiki.archlinux.org/index.php/Microcode

Online

#3 2017-08-03 15:02:39

seth
Member
Registered: 2012-09-03
Posts: 62,880

Re: [SOLVED] KDE System Settings crashes when opening Desktop Theme

These three kcms are in a different path than the others:

usr/lib/qt/plugins/kcms/kcm_desktoptheme.so
usr/lib/qt/plugins/kcms/kcm_lookandfeel.so
usr/lib/qt/plugins/kcms/kcm_splashscreen.so

And

the assert  wrote:

Plugin search paths are ("/usr/lib/qt/plugins", "/usr/bin")
The environment variable QT_PLUGIN_PATH might be not correctly set

Interestingly enough, the code is invoked from /usr/lib/qt/plugins/kcms/kcm_desktoptheme.so

Try

QT_PLUGIN_PATH=/usr/lib/qt/plugins/kcms:/usr/lib/qt/plugins:/usr/bin systemsettings

Offline

#4 2017-08-03 16:28:02

ShinyShinx
Member
Registered: 2017-08-03
Posts: 13

Re: [SOLVED] KDE System Settings crashes when opening Desktop Theme

Okay, so I ran the command that seth mentioned, reinstalled the intel-ucode package, updated the grub.cfg, rebooted, and then tried the command again. I also tried it normally, but none of it is working. Anything else I can try? Im at a loss here.


Meow :3

Offline

#5 2017-08-03 18:03:44

seth
Member
Registered: 2012-09-03
Posts: 62,880

Re: [SOLVED] KDE System Settings crashes when opening Desktop Theme

The error message under the altered QT_PLUGIN_PATH environment should have changed (as well as the backtrace) - please provide the updated output.

Offline

#6 2017-08-03 18:16:39

ShinyShinx
Member
Registered: 2017-08-03
Posts: 13

Re: [SOLVED] KDE System Settings crashes when opening Desktop Theme

Note: I had to add the "5" to the end of the system settings to launch System Settings. I hope thats what this was supposed to do ;-;

4.4 > themeowfest {~} $ >QT_PLUGIN_PATH=/usr/lib/qt/plugins/kcms:/usr/lib/qt/plugins:/usr/bin systemsettings5
WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib/qt/qml/QtQuick/Controls/Styles/Desktop"
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib/qt/qml/QtQuick/Controls/Styles/Desktop"
"/home/themeowfest/.local/share/plasma/desktoptheme/metadata/metadata.desktop" has no desktop group, cannot construct a KPluginInfo object from it.
"/home/themeowfest/.local/share/plasma/desktoptheme/metadata/metadata.desktop" has no desktop group, cannot construct a KPluginInfo object from it.
Accessed invalid KPluginInfo object
KCrash: Application 'systemsettings5' crashing...
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Stopped                 QT_PLUGIN_PATH=/usr/lib/qt/plugins/kcms:/usr/lib/qt/plugins:/usr/bin systemsettings5
4.4 > themeowfest {~} $ >

And then the backtrace

 Application: System Settings (systemsettings5), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0c74ae56c0 (LWP 5262))]

Thread 5 (Thread 0x7f0c442eb700 (LWP 5267)):
#0  0x00007f0c70707e9d in poll () from /usr/lib/libc.so.6
#1  0x00007f0c6a558c09 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f0c6a558d1c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0c7103c084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f0c70fdfffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f0c70df940e in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f0c6f0ea1d5 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007f0c70dfe15b in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f0c6c738049 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f0c70711f0f in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f0c4d162700 (LWP 5266)):
#0  0x00007f0c6a59da84 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f0c6a5580e2 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f0c6a558b3b in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0c6a558d1c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f0c7103c084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f0c70fdfffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f0c70df940e in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007f0c6f0ea1d5 in ?? () from /usr/lib/libQt5Qml.so.5
#8  0x00007f0c70dfe15b in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007f0c6c738049 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f0c70711f0f in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f0c59028700 (LWP 5264)):
#0  0x00007f0c6a55815a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0x00007f0c6a558b3b in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f0c6a558d1c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0c7103c084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f0c70fdfffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f0c70df940e in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f0c7195b396 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007f0c70dfe15b in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f0c6c738049 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f0c70711f0f in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f0c61e3a700 (LWP 5263)):
#0  0x00007f0c70707e9d in poll () from /usr/lib/libc.so.6
#1  0x00007f0c6cfbc8e0 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f0c6cfbe679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f0c649d572a in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f0c70dfe15b in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f0c6c738049 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f0c70711f0f in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f0c74ae56c0 (LWP 5262)):
[KCrash Handler]
#5  0x00007f0c706578c0 in raise () from /usr/lib/libc.so.6
#6  0x00007f0c70658f72 in abort () from /usr/lib/libc.so.6
#7  0x00007f0c70de89a8 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#8  0x00007f0c7205308b in ?? () from /usr/lib/libKF5Service.so.5
#9  0x00007f0c72086007 in KPluginInfo::version() const () from /usr/lib/libKF5Service.so.5
#10 0x00007f0c4dfc30b1 in ?? () from /usr/lib/libKF5Plasma.so.5
#11 0x00007f0c4dfb855b in Plasma::Theme::findInRectsCache(QString const&, QString const&, QRectF&) const () from /usr/lib/libKF5Plasma.so.5
#12 0x00007f0c4dfaf7ae in ?? () from /usr/lib/libKF5Plasma.so.5
#13 0x00007f0c4dfb0a68 in ?? () from /usr/lib/libKF5Plasma.so.5
#14 0x00007f0c4dfb0b8b in Plasma::Svg::setTheme(Plasma::Theme*) () from /usr/lib/libKF5Plasma.so.5
#15 0x00007f0c442f134b in ?? () from /usr/lib/qt/plugins/kcms/kcm_desktoptheme.so
#16 0x00007f0c442f5d66 in ?? () from /usr/lib/qt/plugins/kcms/kcm_desktoptheme.so
#17 0x00007f0c6f09e2c9 in ?? () from /usr/lib/libQt5Qml.so.5
#18 0x00007f0c6f01b839 in ?? () from /usr/lib/libQt5Qml.so.5
#19 0x00007f0c6f01d57e in ?? () from /usr/lib/libQt5Qml.so.5
#20 0x00007f0c6f01e269 in QV4::QObjectMethod::callInternal(QV4::CallData*, QV4::Scope&) const () from /usr/lib/libQt5Qml.so.5
#21 0x00007f0c6f03726a in QV4::Runtime::method_callProperty(QV4::ExecutionEngine*, int, QV4::CallData*) () from /usr/lib/libQt5Qml.so.5
#22 0x00007f0c425a0c09 in ?? ()
#23 0x000000a14ecf4810 in ?? ()
#24 0x0d978b35cb2fee00 in ?? ()
#25 0x00007ffee345be10 in ?? ()
#26 0x0000000000000000 in ?? ()

I hope it helps smile


Meow :3

Offline

#7 2017-08-03 18:33:48

seth
Member
Registered: 2012-09-03
Posts: 62,880

Re: [SOLVED] KDE System Settings crashes when opening Desktop Theme

Yes, the warning about the missing lib is (probably) a red herring - and gone.

This looks fishy:

"/home/themeowfest/.local/share/plasma/desktoptheme/metadata/metadata.desktop" has no desktop group, cannot construct a KPluginInfo object from it.
"/home/themeowfest/.local/share/plasma/desktoptheme/metadata/metadata.desktop" has no desktop group, cannot construct a KPluginInfo object from it.
Accessed invalid KPluginInfo object

What is this file and what happens if you

mv /home/themeowfest/.local/share/plasma/desktoptheme /home/themeowfest/no.desktoptheme

and try again. (First w/ the export, then w/o in case)

Sorry about the systemsettings vs. systemsettings5 thing, I lost track on plasma's counting mechanism ;-)

Offline

#8 2017-08-03 18:43:08

ShinyShinx
Member
Registered: 2017-08-03
Posts: 13

Re: [SOLVED] KDE System Settings crashes when opening Desktop Theme

yikes
I dunno what that did, but it worked.
So thank you!

I also just want to point out that this was working in the beginning when I first themed my Arch, but then mysteriously stopped. I must have done something to accidentally move it?


Meow :3

Offline

#9 2017-08-03 18:48:20

seth
Member
Registered: 2012-09-03
Posts: 62,880

Re: [SOLVED] KDE System Settings crashes when opening Desktop Theme

I'd say the configured theme is kinda bonkers, but am not sure whether the handling by the kcm can be described as "graceful" - if you didn't delete it, you may want to update the bug report and upload the directory you moved away.

---
rooOOOAARRrrr ;-)

Offline

Board footer

Powered by FluxBB