This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Plasma desktop shell closed unexpectedly

Tags: None
(comma "," separated)
slevy
Registered Member
Posts
6
Karma
0
Hello all.
I'm using a 64 bit slackware 14.1 linux with stock kde version (4.10.5) and all of a sudden i cannot get kde working properly anymore. Whenever I try to start X (using kdm or startx) I get a "Plasma desktop shell segmentation fault" an then it gets stuck in a blank screen with no panels or widgets. However, I can start any application using alt+f2 including Firefox, where I'm writing this post right now. As far as i can remember no update on the system was done before that. Using root the problem does NOT happen and graphical environment is just fine.

I've tried many solutions found on the web like:
- removing contents of /var/tmp/kdecache-"user" folder;
- adding "sleep 10 && plasma-desktop" on /usr/share/autostart/plasma-desktop.desktop;
- re-"moving" folders inside ~/.kde/
- updated kde to 4.12.5

But all of them with no success.

Could anyone give me a light on how to fix this or even restore user settings back to original? At this point i just want kde functional to my user again, no customizations made before are important.

Thanks in advance!

Ktrash:
Code: Select all
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f853fThanks in advance!da17c0 (LWP 27913))]

Thread 3 (Thread 0x7f85153e2700 (LWP 27936)):
#0  0x00007f853e3c3c44 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f85311ec31b in ?? () from /usr/lib64/qt/lib/libQtScript.so.4
#2  0x00007f85311ec359 in ?? () from /usr/lib64/qt/lib/libQtScript.so.4
#3  0x00007f853e3bfce2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f853c988abd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f848ba92700 (LWP 27937)):
#0  0x00007f853c97ea9d in poll () from /lib64/libc.so.6
#1  0x00007f85390d4604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f85390d470c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f853e78c7b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#4  0x00007f853e75e8bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#5  0x00007f853e75ebb5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#6  0x00007f853e65dfcf in QThread::exec() () from /usr/lib64/qt/lib/libQtCore.so.4
#7  0x00007f853e740213 in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#8  0x00007f853e66060f in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#9  0x00007f853e3bfce2 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f853c988abd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f853fda17c0 (LWP 27913)):
[KCrash Handler]
#5  0x00007f853eafa430 in QDBusMessage::arguments() const () from /usr/lib64/qt/lib/libQtDBus.so.4
#6  0x00007f853eb28d13 in QDBusPendingReplyData::argumentAt(int) const () from /usr/lib64/qt/lib/libQtDBus.so.4
#7  0x00007f848a04584c in QDBusPendingReply<unsigned int, void, void, void, void, void, void, void>::Select<0>::Type const QDBusPendingReply<unsigned int, void, void, void, void, void, void, void>::argumentAt<0>() const () from /usr/lib64/libNetworkManagerQt.so.0
#8  0x00007f848a03fb75 in NetworkManager::NetworkManagerPrivate::init() () from /usr/lib64/libNetworkManagerQt.so.0
#9  0x00007f848a040e5d in NetworkManager::NetworkManagerPrivate::NetworkManagerPrivate() () from /usr/lib64/libNetworkManagerQt.so.0
#10 0x00007f848a040f1c in ?? () from /usr/lib64/libNetworkManagerQt.so.0
#11 0x00007f848a041279 in NetworkManager::isWimaxEnabled() () from /usr/lib64/libNetworkManagerQt.so.0
#12 0x00007f848a36b75c in ?? () from /usr/lib64/kde4/imports/org/kde/networkmanagement/libplasmanetworkmanagementplugins.so
#13 0x00007f848a36d1f0 in ?? () from /usr/lib64/kde4/imports/org/kde/networkmanagement/libplasmanetworkmanagementplugins.so
#14 0x00007f8530a46d26 in ?? () from /usr/lib64/qt/lib/libQtDeclarative.so.4
#15 0x00007f8530a4a75e in ?? () from /usr/lib64/qt/lib/libQtDeclarative.so.4
#16 0x00007f8530a3de18 in ?? () from /usr/lib64/qt/lib/libQtDeclarative.so.4
#17 0x00007f8530a3e2ef in ?? () from /usr/lib64/qt/lib/libQtDeclarative.so.4
#18 0x00007f8530a3e3cd in QDeclarativeComponent::beginCreate(QDeclarativeContext*) () from /usr/lib64/qt/lib/libQtDeclarative.so.4
#19 0x00007f8530a3bf9b in QDeclarativeComponent::create(QDeclarativeContext*) () from /usr/lib64/qt/lib/libQtDeclarative.so.4
#20 0x00007f85332289bc in ?? () from /usr/lib64/libplasma.so.3
#21 0x00007f853e777b4e in QObject::event(QEvent*) () from /usr/lib64/qt/lib/libQtCore.so.4
#22 0x00007f853dec6adb in QGraphicsWidget::event(QEvent*) () from /usr/lib64/qt/lib/libQtGui.so.4
#23 0x00007f853d8cdc5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt/lib/libQtGui.so.4
#24 0x00007f853d8d4220 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt/lib/libQtGui.so.4
#25 0x00007f853f79cf9a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#26 0x00007f853e75fc5d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt/lib/libQtCore.so.4
#27 0x00007f853e762caf in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt/lib/libQtCore.so.4
#28 0x00007f853e78ced3 in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#29 0x00007f85390d4316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f85390d4668 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f85390d470c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f853e78c795 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#33 0x00007f853d96a786 in ?? () from /usr/lib64/qt/lib/libQtGui.so.4
#34 0x00007f853e75e8bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#35 0x00007f853e75ebb5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#36 0x00007f853e763ccb in QCoreApplication::exec() () from /usr/lib64/qt/lib/libQtCore.so.4
#37 0x00007f852bf28acc in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#38 0x000000000040865a in _start ()
luebking
Karma
0
https://forum.kde.org/viewtopic.php?f=67&t=120104

run konsole from krunner (Alt+F2) and there enter
Code: Select all
qdbus --system


If that says sth. like
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes
you've located the issue.
slevy
Registered Member
Posts
6
Karma
0
$qdbus --system
:1.0
org.freedesktop.ConsoleKit
:1.1
:1.15
:1.2
org.bluez
:1.3
org.freedesktop.NetworkManager
:1.4
org.freedesktop.PolicyKit1
:1.5
:1.6
org.freedesktop.ModemManager1
:1.7
fi.epitest.hostap.WPASupplicant
fi.w1.wpa_supplicant1
org.freedesktop.DBus
luebking
Karma
0
Can you run "plasma-desktop" from krunner/konsole at this point?
If not, check whether the networkmanager plasmoid is outdated and in either case whether you can uninstall it (and whether plasma-desktop starts afterwards)
slevy
Registered Member
Posts
6
Karma
0
Sorry luebking!

Actually the output of $qdbus --system is:
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

I had mistakenly ran it as root.
luebking
Karma
0
then you've located the issue - it's a permission problem (obviously, since you can access the system dbus as root) and thus probably known to your distro (should affect all desktop environments) - though the nm plasmoid should rather not crash either.

please check whether your distro provides a solution ("add your users to group foobar" or similar) to this.
i assume slackware moved from consolekit to logind with that update?
slevy
Registered Member
Posts
6
Karma
0
Slackware 14.1 uses Consolekit-0.4.5 framework for defining and tracking users, login sessions, and seats. With all others window managers available (xfce, window maker, fluxbox) I'm experiencing no issues. The user is already included on all available system groups.

I appreciate the help and will keep trying to solve this. Once a solution is found, I'll give feedback.
luebking
Karma
0
Can you access the system bus from eg. xfce then? (ie. does "qdbus --system" work there)
slevy
Registered Member
Posts
6
Karma
0
Got the same while running qdbus in xfce.
It looks like this does not impact the xfce at all.
luebking
Karma
0
as mentioned, the nm applet should rather not crash on this (that's certainly a bug), but no access to the system dbus /is/ a problem of its own, since you'll require it to configure/control networkmanager (at least), receive udisks/upower events and probably to shutdown/suspend to ram etc.
slevy
Registered Member
Posts
6
Karma
0
For testing reasons I had changed read permission of passwd file only to owner and group (640). Changing the permission back to 644 the problem was solved! I figured it out when creating a new user and a "I have no name" appeared instead of username on shell, when I tried to start X at that moment, kde crashed while initializing too.

Thanks for all help provide luebking. Topic can be closed.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This topic has now been marked as solved.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar