Bug 177034 - smb icon crashes plasma
Summary: smb icon crashes plasma
Status: RESOLVED DUPLICATE of bug 171777
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-06 03:17 UTC by Marc Fearby
Modified: 2009-02-21 13:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Fearby 2008-12-06 03:17:28 UTC
Version:           lib64plasma2-4.1.3-1.1mdv2009.0.x86_64 (using KDE 4.1.3)
OS:                Linux
Installed from:    Mandriva RPMs

I added a connection to a Samba share to my Dolphin "places" on the left, then went to the K menu's "Computer" category so that I could right-click and add the icon to my desktop (since you can't do that from Dolphin's places). The icon shows up fine on the desktop, but when double-clicked on, it asks for a program to open it with.

However, when logging out and back in again, Plasma crashes. After a process of elimination, I found that removing the following section from my "/home/marc/.kde4/share/config/plasma-appletsrc" file means that Plasma doesn't crash any more:

[Containments][1][Applets][56]
geometry=7,398,56,77
immutability=1
plugin=icon
zvalue=0

[Containments][1][Applets][56][Configuration]
Url=smb://192.168.1.2/videos
Comment 1 Sebastian Sauer 2008-12-08 19:19:32 UTC
Hi Marc,

seems I can't reproduce this onewith trunk neither does looking at the sources provide any hint why this may happen. Would it be possible, that you can produce and provide a backtrace (you need to have the debug-packages installed for that, so e.g. kdelibs-debug and kdebase-debug). Thanks in advance.
Comment 2 Sebastian Sauer 2008-12-08 19:21:16 UTC
See also http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports for a more detailed description how to create useful backtraces. Thanks in advance and may the source be with us :)
Comment 3 Marc Fearby 2008-12-09 07:49:16 UTC
I can't seem to identify which -debug package to install to get a debug version of plasma (all I can see are extragear-plasma-debug and kdeplasma-addons-debug), but here's the (possibly unhelpful?) .kcrash file I saved when it happened:

Application: Plasma Workspace (plasma), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7fb5a584a700 (LWP 18246)]
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00007fb5a30ee5cf in QGraphicsLinearLayout::insertItem ()
   from /usr/lib64/libQtGui.so.4
#6  0x00007fb5948f54d3 in ?? ()
   from /usr/lib64/kde4/plasma_applet_devicenotifier.so
#7  0x00007fb5948f5646 in ?? ()
   from /usr/lib64/kde4/plasma_applet_devicenotifier.so
#8  0x00007fb5a4dbfee2 in Plasma::Applet::flushPendingConstraintsEvents ()
   from /usr/lib64/libplasma.so.2
#9  0x00007fb5a4057543 in QObject::event () from /usr/lib64/libQtCore.so.4
#10 0x00007fb5a30f122b in QGraphicsWidget::event ()
   from /usr/lib64/libQtGui.so.4
#11 0x00007fb5a2b96a2d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#12 0x00007fb5a2b9e7ba in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#13 0x00007fb5a495e51b in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#14 0x00007fb5a404885f in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#15 0x00007fb5a4074556 in ?? () from /usr/lib64/libQtCore.so.4
#16 0x00007fb5a4070c9d in ?? () from /usr/lib64/libQtCore.so.4
#17 0x00007fb59e4328d2 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#18 0x00007fb59e43605d in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fb59e43621b in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#20 0x00007fb5a4070bff in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#21 0x00007fb5a2c2772f in ?? () from /usr/lib64/libQtGui.so.4
#22 0x00007fb5a4047182 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#23 0x00007fb5a404730d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#24 0x00007fb5a23ad8fc in KIO::NetAccess::enter_loop ()
   from /usr/lib64/libkio.so.5
#25 0x00007fb5a23adae5 in KIO::NetAccess::statInternal ()
   from /usr/lib64/libkio.so.5
#26 0x00007fb5a23ae6be in KIO::NetAccess::stat () from /usr/lib64/libkio.so.5
#27 0x00007fb5a23ae74c in KIO::NetAccess::mostLocalUrl ()
   from /usr/lib64/libkio.so.5
#28 0x00007fb595390468 in ?? () from /usr/lib64/kde4/plasma_applet_icon.so
#29 0x00007fb595390bcd in ?? () from /usr/lib64/kde4/plasma_applet_icon.so
#30 0x00007fb5a4de6689 in Plasma::Corona::loadLayout ()
   from /usr/lib64/libplasma.so.2
#31 0x00007fb5a4de6a02 in Plasma::Corona::initializeLayout ()
   from /usr/lib64/libplasma.so.2
#32 0x00007fb5a5456898 in ?? () from /usr/lib64/libkdeinit4_plasma.so
#33 0x00007fb5a54583b1 in ?? () from /usr/lib64/libkdeinit4_plasma.so
#34 0x00007fb5a545848f in ?? () from /usr/lib64/libkdeinit4_plasma.so
#35 0x00007fb5a544b75c in kdemain () from /usr/lib64/libkdeinit4_plasma.so
#36 0x00007fb5a50ef316 in __libc_start_main () from /lib64/libc.so.6
#37 0x00000000004005c9 in _start ()

I've deleted any repetitions of "(no debugging symbols found)"
Comment 4 Dario Andres 2009-02-21 13:54:12 UTC
Fixed in KDE4.2

*** This bug has been marked as a duplicate of bug 171777 ***