Desktop KDE crashes

Hi all!

I have a crash on KDE 4.35 (opensuse 11.2) when I right click on an icon on the Desktop Folder widget. It says

Executable: plasma-desktop PID: 7172 Signal: 11 (Segmentation fault)

Here’s the backtrace:


Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc3fd990750 (LWP 7172))]

Thread 2 (Thread 0x7fc3d7fff910 (LWP 7177)):
#0  0x00007fc3fd164049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc3fd3d453b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fc3f98a59ec in ?? () from /usr/lib64/libQtNetwork.so.4
#3  0x00007fc3fd3d3485 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fc3fd15f65d in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc3fab6b14d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc3fd990750 (LWP 7172)):
[KCrash Handler]
#5  0x00007fc3fce14720 in KServiceType::serviceOffersOffset() const () from /usr/lib64/libkdecore.so.5
#6  0x00007fc3fcdfaf12 in KMimeTypeTrader::query(QString const&, QString const&, QString const&) const () from /usr/lib64/libkdecore.so.5
#7  0x00007fc3e14cc568 in KonqPopupMenuPrivate::addPlugins (this=0xff88d0) at /usr/src/debug/kdebase-4.3.5/apps/lib/konq/konq_popupmenu.cpp:538
#8  0x00007fc3e14cdb8e in KonqPopupMenuPrivate::init (this=0xff88d0, kpf=<value optimized out>, flags=<value optimized out>) at /usr/src/debug/kdebase-4.3.5/apps/lib/konq/konq_popupmenu.cpp:427
#9  0x00007fc3e14cf6bc in KonqPopupMenu::KonqPopupMenu (this=0x16d5070, items=<value optimized out>, viewURL=<value optimized out>, actions=<value optimized out>, newMenu=<value optimized out>, 
    kpf=<value optimized out>, flags=..., parentWidget=0xccb760, mgr=0xffdad0, actionGroups=...) at /usr/src/debug/kdebase-4.3.5/apps/lib/konq/konq_popupmenu.cpp:144
#10 0x00007fc3e171ed6d in ?? () from /usr/lib64/kde4/plasma_applet_folderview.so
#11 0x00007fc3e171f32e in ?? () from /usr/lib64/kde4/plasma_applet_folderview.so
#12 0x00007fc3e1721cea in ?? () from /usr/lib64/kde4/plasma_applet_folderview.so
#13 0x00007fc3fd4cdfbc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#14 0x00007fc3e1728817 in ?? () from /usr/lib64/kde4/plasma_applet_folderview.so
#15 0x00007fc3e1731a91 in ?? () from /usr/lib64/kde4/plasma_applet_folderview.so
#16 0x00007fc3fb80a92e in QGraphicsItem::sceneEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007fc3fb839333 in QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007fc3fb83a224 in QGraphicsScene::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007fc3fb2a12ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007fc3fb2a857e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007fc3fbe9c016 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#22 0x00007fc3fd4b8ddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#23 0x00007fc3fb847aac in QGraphicsView::contextMenuEvent(QContextMenuEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007fc3fb2f0185 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007fc3fb62eab6 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007fc3fb84bf3b in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007fc3fd4b8127 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#28 0x00007fc3fb2a127c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00007fc3fb2a88d7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007fc3fbe9c016 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#31 0x00007fc3fd4b8ddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#32 0x00007fc3fb30e29e in ?? () from /usr/lib64/libQtGui.so.4
#33 0x00007fc3fb30cd9a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#34 0x00007fc3fb334b6c in ?? () from /usr/lib64/libQtGui.so.4
#35 0x00007fc3fa1eadde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fc3fa1ee7a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fc3fa1ee8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fc3fd4e13a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#39 0x00007fc3fb33431e in ?? () from /usr/lib64/libQtGui.so.4
#40 0x00007fc3fd4b7712 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#41 0x00007fc3fd4b7ae4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#42 0x00007fc3fd4b9c99 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#43 0x00007fc3f1215e3f in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#44 0x0000000000406f88 in _start ()

I have not sended it because it says is not good, but I have not been able to find the debug libraries for the ??'s.

Thank you for any help.

At first glance it looks like a Qt-conflict. Which repositories do you use?

zypper lr -uP

Hi. This is the reppository list:

| Alias | Name | Enabled | Refresh | Priority | URI

—±------------------------------------±----------------------------±--------±--------±---------±-----------------------------------------------------------------------------------
1 | Banshee | Banshee | Yes | Yes | 99 | Index of /repositories/Banshee/openSUSE_11.2
2 | KDE:KDE4:STABLE:Desktop | KDE:KDE4:STABLE:Desktop | Yes | Yes | 99 | Index of /repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_11.2
3 | NVIDIA Repository | NVIDIA Repository | Yes | Yes | 99 | ftp://download.nvidia.com/opensuse/11.2/
4 | OpenOffice | OpenOffice | Yes | Yes | 99 | Index of /repositories/OpenOffice.org:/STABLE/openSUSE_11.2
5 | Wine | Wine | Yes | Yes | 99 | Index of /repositories/Emulators:/Wine/openSUSE_11.2
6 | http-download.opensuse.org-46f7a0d8 | Updates for openSUSE 11.2-0 | Yes | Yes | 99 | Index of /update/11.2
7 | multimedia | multimedia | Yes | Yes | 99 | Index of /repositories/multimedia:/audio:/KMP/openSUSE_11.2
8 | openSUSE 11.2-0 | openSUSE 11.2-0 | Yes | No | 99 | cd:///
9 | openSUSE-11.2-Standard | openSUSE-11.2-Standard | Yes | Yes | 99 | Index of /distribution/11.2/repo/oss/suse
10 | packman | packman | Yes | Yes | 99 | Index of /suse/11.2
11 | repo-debug | openSUSE-11.2-Debug | Yes | Yes | 99 | Index of /debug/distribution/11.2/repo/oss
12 | repo-non-oss | openSUSE-11.2-Non-Oss | Yes | Yes | 99 | Index of /distribution/11.2/repo/non-oss
13 | repo-oss | openSUSE-11.2-Oss | Yes | Yes | 99 | Index of /distribution/11.2/repo/oss
14 | repo-source | openSUSE-11.2-Source | No | Yes | 99 | Index of /source/distribution/11.2/repo/oss

Do you have any packages installed from the debug-source? You should deactivate it and switch the packages to ‘update’. The KDE4:Stable-repo is not needed at all, since the packages from there can be found in ‘update’ as well.

After that you should do a systemwide update - I’m not sure whether this will solve this, but it’s worth trying.

I disabled the debug and KDE repos and performed the update, but the problem continues. Any idea where to find the Qt(Network and Core) debug packages as well as the plasma-applet-folderview debug packages?

Not really and honestly, right now I am a bit too lazy to look that up (I doubt there’s a specific Plasma-folder-debug), but what would you need these packages for anyway? They aim to increase the debug-level of an application, meaning those are specifically packaged for bughunting; to do so, you must be able to read the output of a process run by that debug-package, plus the apps will run much slower.

My idea: let zypper verify your installed packages and follow the suggestions:

zypper ve

In case zypper does not report any dependency conflicts or the like, try forcing a reinstall the packages mentioned in your error messages:

zypper in -f libqt4-x11 kdebase4-workspace kdebase4 libqt4

…then restart your desktop.

Do you have any debug packages installed?

rpm -qa | grep debug

If so, switch them to “regular” packages.

Maybe the output of

kde4-config --version

…will give us some hints about your problem.

It worked! thanx, the output of kde4-config --version is


Qt: 4.5.3
KDE: 4.3.5 (KDE 4.3.5) "release 0"
kde4-config: 1.0

But i meesed up somewhere, I uninstaled the debuginfo packages (didn’t took note before rebooting) and now I have lost the shut down icon on my menu, so that I have to log out always, and then shut down.

Remember I told you to switch them to their regular versions, not plain uninstall them - it’s possible the respective package is missing now. Look into /var/log/zypp/history and browse this list for the debug-packages you deinstalled and check whether their regular pendants are installed.

The packages i removed were

|remove |NetworkManager-kde4-debuginfo|0.9.svn1043876-4.12|x86_64|
|remove |NetworkManager-kde4-libs-debuginfo|0.9.svn1043876-4.12|x86_64|
|remove |glib-debuginfo|1.2.10-740.2|x86_64|
|remove |konqueror-debuginfo|4.3.5-3.4|x86_64|
|remove |libkonq5-debuginfo|4.3.5-3.4|x86_64|
|remove |plasma-addons-debuginfo|4.3.5-3.4|x86_64|
|remove |plasmoid-quickaccess-debuginfo|0.8.1-3.11|x86_64|

but their regular versions appear installed.

The shutdown problem is solved too
No shut down in KDE 4 - openSUSE Forums
Thank you! :slight_smile: