Bug 166666

Summary: Plasma Crashes Every Time I Try To Add "Show Desktop" To the Panel.
Product: [Unmaintained] plasma4 Reporter: Jay LaCroix <jay>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jay LaCroix 2008-07-15 21:32:39 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

I recently updated to KDE 4.1 RC1 today using Kubuntu packages. (RC1 wasn't a selection when I went to file this bug). After I updated, I logged off of KDE and deleted both my .kde and .kde4 folders to start with a fresh configuration.

I like to have "Show Desktop" and "Show Dashboard" on my panel. The first thing I did after setting up my preferred wallpaper and adding the trash icon to the desktop was try to drag the Show Desktop widget to the panel in between the Kickoff icon and the Recent Devices Icon.

Every time I try to drag Show Desktop to my panel, plasma crashes and doesn't add Show Desktop to the panel.

Steps to reproduce:

1.) Start with a fresh configuration of KDE 4.1 RC1. (I deleted all the .kde folders).

2.) Right click the desktop and choose "Add Widgets".

3.) From the add widgets window, locate Show Desktop.

4.) Try to drag Show Desktop to the panel. (I tried to put it in between the kemenu and recent devices).

5.) Plasma should crash. (It does for me, every time).
Comment 1 Anne-Marie Mahfouf 2008-07-15 22:22:28 UTC
Can you install the debug packages from your distribution and attach a useful back trace from the crash to this bug report please.
Thanks in advance!
Comment 2 Jay LaCroix 2008-07-15 23:01:32 UTC
I'm marking this as resolved for now. I thought that all of KDE 4.1 RC1 was installed but more packages are coming, I guess Kubuntu wasn't done compiling everything. I'm going to leave this resolved unless someone else has the problem.
Comment 3 Jay LaCroix 2008-07-16 02:19:15 UTC
Kubuntu has added all the KDE4.1 RC1 packages now. I tried this on a different computer, and I am still having the same problem, so I'm reopening this.

As far as the back trace, I didn't get a back trace window. I reviewed the instructions for how to create back traces and I don't understand them. If there are specific commands you need me to run, please let me know what they are. Thanks.
Comment 4 Aaron J. Seigo 2008-07-16 02:39:54 UTC
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

there's kubuntu instructions there, so, e.g.:

sudo apt-get install kdelibs-dbg kdebase-dbg
Comment 5 Jay LaCroix 2008-07-16 03:16:06 UTC
Thanks Aaron, your directions were more detailed and specific than the ones given in that document.

Here is the backtrace:
Application: Plasma Workspace (plasma), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f9c2c26a7e0 (LWP 8185)]
[New Thread 0x4100b950 (LWP 8187)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x0000000000000001 in ?? ()
#6  0x00007f9c24845732 in ?? ()
   from /usr/lib/kde4/lib/kde4/plasma_engine_soliddevice.so
#7  0x00007f9c24843ba5 in ?? ()
   from /usr/lib/kde4/lib/kde4/plasma_engine_soliddevice.so
#8  0x00007f9c3650a458 in ?? () from /usr/lib/kde4/lib/libplasma.so.2
#9  0x00007f9c36509a20 in Plasma::DataEngineManager::~DataEngineManager ()
   from /usr/lib/kde4/lib/libplasma.so.2
#10 0x00007f9c36509a72 in ?? () from /usr/lib/kde4/lib/libplasma.so.2
#11 0x00007f9c36834110 in exit () from /lib/libc.so.6
#12 0x00007f9c3565fd6a in qt_message_output () from /usr/lib/libQtCore.so.4
#13 0x00007f9c3565febd in qFatal () from /usr/lib/libQtCore.so.4
#14 0x00007f9c35ad7aac in KConfigGroup::config ()
   from /usr/lib/kde4/lib/libkdecore.so.5
#15 0x00007f9c364da8e0 in Plasma::Applet::saveState ()
   from /usr/lib/kde4/lib/libplasma.so.2
#16 0x00007f9c364fac6e in Plasma::Containment::addApplet ()
   from /usr/lib/kde4/lib/libplasma.so.2
#17 0x00007f9c364faed0 in ?? () from /usr/lib/kde4/lib/libplasma.so.2
#18 0x00007f9c364fb2db in Plasma::Containment::dropEvent ()
   from /usr/lib/kde4/lib/libplasma.so.2
#19 0x00007f9c349f797b in QGraphicsItem::sceneEvent ()
   from /usr/lib/libQtGui.so.4
#20 0x00007f9c34a36654 in QGraphicsWidget::sceneEvent ()
   from /usr/lib/libQtGui.so.4
#21 0x00007f9c34a103d1 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007f9c34a106cc in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007f9c34a1070f in QGraphicsScene::dropEvent ()
   from /usr/lib/libQtGui.so.4
#24 0x00007f9c34a1caef in QGraphicsScene::event () from /usr/lib/libQtGui.so.4
#25 0x00007f9c344ec54f in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#26 0x00007f9c344f1125 in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0x00007f9c36064091 in KApplication::notify ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#28 0x00007f9c35749109 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#29 0x00007f9c34a2a2af in QGraphicsView::dropEvent ()
   from /usr/lib/libQtGui.so.4
#30 0x00007f9c3453a0c5 in QWidget::event () from /usr/lib/libQtGui.so.4
#31 0x00007f9c34839a76 in QFrame::event () from /usr/lib/libQtGui.so.4
#32 0x00007f9c348be169 in QAbstractScrollArea::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#33 0x00007f9c34a2a6f1 in QGraphicsView::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#34 0x00007f9c348bf308 in ?? () from /usr/lib/libQtGui.so.4
#35 0x00007f9c3574940e in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#36 0x00007f9c344ec520 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#37 0x00007f9c344f17d2 in QApplication::notify () from /usr/lib/libQtGui.so.4
#38 0x00007f9c36064091 in KApplication::notify ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#39 0x00007f9c35749109 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#40 0x00007f9c3455c0e5 in ?? () from /usr/lib/libQtGui.so.4
#41 0x00007f9c3455c431 in QDragManager::drop () from /usr/lib/libQtGui.so.4
#42 0x00007f9c3455f74f in QDragManager::eventFilter ()
   from /usr/lib/libQtGui.so.4
#43 0x00007f9c357494b6 in QCoreApplicationPrivate::sendThroughApplicationEventFilters () from /usr/lib/libQtCore.so.4
#44 0x00007f9c344ec4c6 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#45 0x00007f9c344f1329 in QApplication::notify () from /usr/lib/libQtGui.so.4
#46 0x00007f9c36064091 in KApplication::notify ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#47 0x00007f9c35749109 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#48 0x00007f9c344ee455 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#49 0x00007f9c34550756 in ?? () from /usr/lib/libQtGui.so.4
#50 0x00007f9c3454f66b in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#51 0x00007f9c345758f3 in ?? () from /usr/lib/libQtGui.so.4
#52 0x00007f9c301ed262 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#53 0x00007f9c301f0516 in ?? () from /usr/lib/libglib-2.0.so.0
#54 0x00007f9c301f09af in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#55 0x00007f9c357723af in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#56 0x00007f9c3457572f in ?? () from /usr/lib/libQtGui.so.4
#57 0x00007f9c35748585 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#58 0x00007f9c357486db in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#59 0x00007f9c3455f458 in QDragManager::drag () from /usr/lib/libQtGui.so.4
#60 0x00007f9c344fdff5 in QDrag::start () from /usr/lib/libQtGui.so.4
#61 0x00007f9c364e39b6 in ?? () from /usr/lib/kde4/lib/libplasma.so.2
#62 0x00007f9c349544d8 in QAbstractItemView::mouseMoveEvent ()
   from /usr/lib/libQtGui.so.4
#63 0x00007f9c3453a512 in QWidget::event () from /usr/lib/libQtGui.so.4
#64 0x00007f9c34839a76 in QFrame::event () from /usr/lib/libQtGui.so.4
#65 0x00007f9c348be169 in QAbstractScrollArea::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#66 0x00007f9c34959bb5 in QAbstractItemView::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#67 0x00007f9c3498d0db in QTreeView::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#68 0x00007f9c348bf308 in ?? () from /usr/lib/libQtGui.so.4
#69 0x00007f9c3574940e in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#70 0x00007f9c344ec520 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#71 0x00007f9c344f1329 in QApplication::notify () from /usr/lib/libQtGui.so.4
#72 0x00007f9c36064091 in KApplication::notify ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#73 0x00007f9c35749109 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#74 0x00007f9c344ee455 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#75 0x00007f9c34550756 in ?? () from /usr/lib/libQtGui.so.4
#76 0x00007f9c3454f66b in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#77 0x00007f9c345758f3 in ?? () from /usr/lib/libQtGui.so.4
#78 0x00007f9c301ed262 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#79 0x00007f9c301f0516 in ?? () from /usr/lib/libglib-2.0.so.0
#80 0x00007f9c301f09af in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#81 0x00007f9c357723af in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#82 0x00007f9c3457572f in ?? () from /usr/lib/libQtGui.so.4
#83 0x00007f9c35748585 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#84 0x00007f9c357486db in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#85 0x00007f9c3574a729 in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#86 0x00007f9c36b7d17b in kdemain ()
   from /usr/lib/kde4/lib/libkdeinit4_plasma.so
#87 0x00007f9c3681d1c4 in __libc_start_main () from /lib/libc.so.6
#88 0x0000000000400649 in _start ()
#0  0x00007f9c3689cb81 in nanosleep () from /lib/libc.so.6
Comment 6 Jay LaCroix 2008-07-16 03:16:56 UTC
Here is some additional terminal output:

---
(gdb) QObject: Do not delete object, 'unnamed', during its event handler!
ASSERT failure in KConfigGroup::config: "accessing an invalid group", file /build/buildd/kde4libs-4.0.98a/kdecore/config/kconfiggroup.cpp, line 691
Plasma crashed, attempting to automatically recover
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma path = <unknown> pid = 8185
sock_file=/home/jeremy/.kde4/socket-jeremy-desktop/kdeinit4__0
<unknown program name>(8189)/ checkComposite: Plasma has an argb visual 0x625e90 33554433
<unknown program name>(8189)/ checkComposite: Plasma is COMPOSITE-less on 0x61d620
QLayout: Attempting to add QLayout "" to Plasma::Dialog "", which already has alayout
Unrecognized character: /
Unrecognized character: /
ERROR: syntax error
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 18 (X_ChangeProperty)
  Resource id:  0x20000c3
QPainter::begin: Cannot paint on a null pixmap
QObject: Do not delete object, 'unnamed', during its event handler!
Comment 7 Aaron J. Seigo 2008-07-16 04:15:50 UTC
thanks for following up =)


so:

#15 0x00007f9c364da8e0 in Plasma::Applet::saveState ()
   from /usr/lib/kde4/lib/libplasma.so.2
#16 0x00007f9c364fac6e in Plasma::Containment::addApplet () 

you have an applet installed from one of the previous betas, rc's or perhaps even a stray 4.0 installation that is not binary compatible with the libplasma you have installed.

=/
Comment 8 Jay LaCroix 2008-07-16 04:28:45 UTC
Is there an easy way to determine which one in particular? I have a 
bunch of KDE apps installed...

Aaron J.Seigo wrote:
[bugs.kde.org quoted mail]
Comment 9 Aaron J. Seigo 2008-07-16 04:34:31 UTC
well, Show Desktop.

it was in playground, then moved to extragear-plasma, which was renamed after 4.0 to kdeplasmoids at one of the 4.1 betas and renamed again in rc1 to kdeplasma-addons (which is the final resting place, thankfully).

so .. one of those.
Comment 10 Jay LaCroix 2008-07-16 04:36:04 UTC
Thanks, I'll check that. Also, the "Show Dashboard" does it too, but 
it's probably related.

Aaron J.Seigo wrote:
[bugs.kde.org quoted mail]
Comment 11 Jay LaCroix 2008-07-16 04:43:53 UTC
You were exactly right, so if anyone else has this problem try removing 
kdeplasmoids and all depends, and install kdeplasma-addons. 
Unfortunately, kdeplasma-addons isn't in the repositories yet, but once 
its uploaded, this problem will be solved.

You guys rock!

Aaron J.Seigo wrote:
[bugs.kde.org quoted mail]