Bug 220479

Summary: [steps] Dragging two extenders several times inside the same container and removing it crashes Plasma Desktop
Product: [Unmaintained] plasma4 Reporter: Dario Andres <andresbajotierra>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: asraniel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dario Andres 2009-12-29 00:33:00 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.31-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Here using:
---

Qt: 4.6.0 (kde-qt master commit 747ff8e6ef6f5a1163dfa75bc9ac4755ce7083d1
        Date:   Tue Dec 15 11:58:13 2009 +0100)
KDE Development Platform: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
kdelibs svn rev. 1066769 / kdebase svn rev. 1066769
on ArchLinux i686 - Kernel 2.6.31.6

Steps to reproduce:
---

- Start with a clean account (or empty KDEHOME)
You should have the Battery widget(in the SystemTray?) and the Clock widget
- Click the Battery widget: the extender appears
- Double click the extender's title to collapse it
- Drag the collapsed battery's extender to the Desktop
- Click the Clock widget, the extender appears
- Drag the Clock's extender ("Calendar") to the same container that holds the collapse battery extender in the Desktop
- Drag the Calendar out of the container to the Desktop. (it creates its own extender-container)
- Drag the Calendar back to the battery's-container
The calendar is dropped and then it dissapears. (another bug?)
- Remove the extenders-container widget using the "X"
Plasma Crashes

---

I have seen the first part of the backtrace matches bug 195369; but I'm not really sure if they have the same root cause. Hopefully a patch can fix them both.

The crash can be reproduced everytime.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2f89710 (LWP 2196))]

Thread 2 (Thread 0xa7502b70 (LWP 2202)):
#0  0xb77a5424 in __kernel_vsyscall ()
#1  0xb531fe55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb53ad11b in QWaitConditionPrivate::wait (this=0x8ad4340, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0xb53acf1f in QWaitCondition::wait (this=0x8abb188, mutex=0x8abb184, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb6c51a66 in QHostInfoAgent::run (this=0x8abb178) at kernel/qhostinfo.cpp:252
#5  0xb53abcdc in QThreadPrivate::start (arg=0x8abb178) at thread/qthread_unix.cpp:244
#6  0xb531b8ac in start_thread () from /lib/libpthread.so.0
#7  0xb516501e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2f89710 (LWP 2196)):
[KCrash Handler]
#6  0xb71ce144 in Plasma::ExtenderItem::config (this=0x8b6f2d8) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extenderitem.cpp:153
#7  0xb71cf22f in Plasma::ExtenderItem::isGroup (this=0x8b6f2d8) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extenderitem.cpp:342
#8  0xb71c902b in Plasma::Extender::isEmpty (this=0x8a70cf0) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extender.cpp:737
#9  0xb71c8c0a in Plasma::ExtenderPrivate::updateEmptyExtenderLabel (this=0x8ce8d88) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extender.cpp:693
#10 0xb71c750c in Plasma::Extender::itemRemovedEvent (this=0x8a70cf0, item=0x8ad0f18) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extender.cpp:452
#11 0xb71c7e95 in Plasma::ExtenderPrivate::removeExtenderItem (this=0x8ce8d88, item=0x8ad0f18) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extender.cpp:573
#12 0xb71ce828 in Plasma::ExtenderItem::setExtender (this=0x8ad0f18, extender=0x8ae8898, pos=...) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extenderitem.cpp:254
#13 0xb71cf9f9 in Plasma::ExtenderItem::returnToSource (this=0x8ad0f18) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extenderitem.cpp:472
#14 0xb71f3d8c in ~ExtenderApplet (this=0x8cdde98, __in_chrg=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/private/extenderapplet.cpp:42
#15 0xb54de0a8 in qDeleteInEventHandler (o=0x8cdde98) at kernel/qobject.cpp:4021
#16 0xb54d8b0c in QObject::event (this=0x8cdde98, e=0x8ce0618) at kernel/qobject.cpp:1243
#17 0xb5fcddb1 in QGraphicsWidget::event (this=0x8cdde98, event=0x8ce0618) at graphicsview/qgraphicswidget.cpp:1362
#18 0xb583a834 in QApplicationPrivate::notify_helper (this=0x858be18, receiver=0x8cdde98, e=0x8ce0618) at kernel/qapplication.cpp:4242
#19 0xb5838231 in QApplication::notify (this=0x8583400, receiver=0x8cdde98, e=0x8ce0618) at kernel/qapplication.cpp:3661
#20 0xb697c528 in KApplication::notify (this=0x8583400, receiver=0x8cdde98, event=0x8ce0618) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#21 0xb54c1411 in QCoreApplication::notifyInternal (this=0x8583400, receiver=0x8cdde98, event=0x8ce0618) at kernel/qcoreapplication.cpp:704
#22 0xb582af8f in QCoreApplication::sendEvent (receiver=0x8cdde98, event=0x8ce0618) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 0xb54c24c5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8555180) at kernel/qcoreapplication.cpp:1345
#24 0xb54c217d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#25 0xb590fe44 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 0xb54f7e4c in postEventSourceDispatch (s=0x858e088) at kernel/qeventdispatcher_glib.cpp:276
#27 0xb3675378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb3678bf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#29 0xb3678d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb54f8e48 in QEventDispatcherGlib::processEvents (this=0x8554e98, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#31 0xb590ed50 in QGuiEventDispatcherGlib::processEvents (this=0x8554e98, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#32 0xb54be81b in QEventLoop::processEvents (this=0xbfd41a7c, flags=...) at kernel/qeventloop.cpp:149
#33 0xb54be960 in QEventLoop::exec (this=0xbfd41a7c, flags=...) at kernel/qeventloop.cpp:201
#34 0xb54c1aed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0xb5837e54 in QApplication::exec () at kernel/qapplication.cpp:3570
#36 0xb776d83e in kdemain (argc=1, argv=0xbfd41c74) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/desktop/shell/main.cpp:112
#37 0x080487c9 in main (argc=1, argv=0xbfd41c74) at /home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/desktop/shell/plasma-desktop_dummy.cpp:3

This bug may be a duplicate of or related to bug 195369.

Possible duplicates by query: bug 218539, bug 218092, bug 215930, bug 215780, bug 213110.

Reported using DrKonqi
Comment 1 Beat Wolf 2009-12-29 10:03:44 UTC

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