Bug 205660 - System Status plasmoid: crash [Plasma::Containment::containmentType, SystemMonitor::removeApplet, SystemMonitor::toggled]
Summary: System Status plasmoid: crash [Plasma::Containment::containmentType, SystemMo...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemmonitor (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 207575 207900 210045 210687 210828 214075 214381 214455 214519 214577 214847 217107 217453 218427 219965 224261 224427 226994 245667 255501 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-30 09:32 UTC by Dotan Cohen
Modified: 2010-11-15 17:36 UTC (History)
23 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 Dotan Cohen 2009-08-30 09:32:56 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
When opening the System Status plasmoid, Plasma crashed. I noticed that the plasmoid was having 'trouble' deciding on the height of the popup as it is in a vertical panel near the bottom and each time I clicked on a different display (disk space, CPU) the plasmoid would move higher in the display to accommodate the additional legnth.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 0 (LWP 3929)]

Thread 2 (Thread 0xa93dbb90 (LWP 3975)):
#0  0xb7f3c430 in __kernel_vsyscall ()
#1  0xb64530e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb66332ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7d35172 in QWaitCondition::wait (this=0x855ae68, mutex=0x855ae64, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7675ac2 in QHostInfoAgent::run (this=0x855ae58) at kernel/qhostinfo.cpp:260
#5  0xb7d34132 in QThreadPrivate::start (arg=0x855ae58) at thread/qthread_unix.cpp:188
#6  0xb644f4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb662449e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5f5da10 (LWP 3929)):
[KCrash Handler]
#6  Plasma::Containment::containmentType (this=0x9be7750) at /build/buildd/kde4libs-4.3.0/plasma/containment.cpp:417
#7  0xa6c34323 in SystemMonitor::removeApplet (this=0x8d4e370, name=@0xbff56ca8) at /build/buildd/kdebase-workspace-4.3.0/plasma/applets/system-monitor/system-monitor.cpp:156
#8  0xa6c3594a in SystemMonitor::toggled (this=0x8d4e370, toggled=false) at /build/buildd/kdebase-workspace-4.3.0/plasma/applets/system-monitor/system-monitor.cpp:108
#9  0xa6c35a85 in SystemMonitor::qt_metacall (this=0x8d4e370, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff56dac)
    at /build/buildd/kdebase-workspace-4.3.0/obj-i486-linux-gnu/plasma/applets/system-monitor/system-monitor.moc:72
#10 0xb7e3e1b8 in QMetaObject::activate (sender=0x92c12b0, from_signal_index=8, to_signal_index=8, argv=0xbff56dac) at kernel/qobject.cpp:3113
#11 0xb7e3ee42 in QMetaObject::activate (sender=0x92c12b0, m=0xb5e2e5dc, local_signal_index=1, argv=0xbff56dac) at kernel/qobject.cpp:3187
#12 0xb5d72109 in Plasma::PushButton::toggled (this=0x92c12b0, _t1=false) at /build/buildd/kde4libs-4.3.0/obj-i486-linux-gnu/plasma/pushbutton.moc:140
#13 0xb5d73970 in Plasma::PushButton::qt_metacall (this=0x92c12b0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff56efc) at /build/buildd/kde4libs-4.3.0/obj-i486-linux-gnu/plasma/pushbutton.moc:85
#14 0xa6c36c5a in MonitorButton::qt_metacall (this=0x92c12b0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbff56efc)
    at /build/buildd/kdebase-workspace-4.3.0/obj-i486-linux-gnu/plasma/applets/system-monitor/monitorbutton.moc:67
#15 0xb7e3e1b8 in QMetaObject::activate (sender=0x920fc28, from_signal_index=31, to_signal_index=31, argv=0xbff56efc) at kernel/qobject.cpp:3113
#16 0xb7e3ee42 in QMetaObject::activate (sender=0x920fc28, m=0xb71640a4, local_signal_index=4, argv=0xbff56efc) at kernel/qobject.cpp:3187
#17 0xb6f7aeb9 in QAbstractButton::toggled (this=0x920fc28, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:207
#18 0xb6ca4385 in QAbstractButton::setChecked (this=0x920fc28, checked=false) at widgets/qabstractbutton.cpp:763
#19 0xb6ca4560 in QAbstractButton::nextCheckState (this=0x920fc28) at widgets/qabstractbutton.cpp:1017
#20 0xb6ca4003 in QAbstractButtonPrivate::click (this=0x8ce06a8) at widgets/qabstractbutton.cpp:525
#21 0xb6ca42d6 in QAbstractButton::mouseReleaseEvent (this=0x920fc28, e=0x90f3808) at widgets/qabstractbutton.cpp:1115
#22 0xb6940973 in QWidget::event (this=0x920fc28, event=0x90f3808) at kernel/qwidget.cpp:7549
#23 0xb6ca228e in QAbstractButton::event (this=0x920fc28, e=0x90f3808) at widgets/qabstractbutton.cpp:1077
#24 0xb6d4d050 in QPushButton::event (this=0x920fc28, e=0x90f3808) at widgets/qpushbutton.cpp:662
#25 0xb68e9d3c in QApplicationPrivate::notify_helper (this=0x851d188, receiver=0x920fc28, e=0x90f3808) at kernel/qapplication.cpp:4056
#26 0xb68f29b1 in QApplication::notify (this=0x84df298, receiver=0x920fc28, e=0x90f3808) at kernel/qapplication.cpp:3758
#27 0xb73fa5cd in KApplication::notify (this=0x84df298, receiver=0x920fc28, event=0x90f3808) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#28 0xb7e28bcb in QCoreApplication::notifyInternal (this=0x84df298, receiver=0x920fc28, event=0x90f3808) at kernel/qcoreapplication.cpp:610
#29 0xb68f1a1e in QApplicationPrivate::sendMouseEvent (receiver=0x920fc28, event=0x90f3808, alienWidget=0x0, nativeWidget=0x920fc28, buttonDown=0xbff5751c, lastMouseReceiver=@0x92c1c34)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#30 0xb6f5bb51 in QGraphicsProxyWidgetPrivate::sendWidgetMouseEvent (this=0x92c1ad8, event=0xbff57b34) at graphicsview/qgraphicsproxywidget.cpp:278
#31 0xb6ef7144 in QGraphicsItem::sceneEvent (this=0x92c12b8, event=0xbff57b34) at graphicsview/qgraphicsitem.cpp:5030
#32 0xb6f4795f in QGraphicsWidget::sceneEvent (this=0x92c12b0, event=0xbff57b34) at graphicsview/qgraphicswidget.cpp:1110
#33 0xb6f1c7bc in QGraphicsScenePrivate::sendEvent (this=0x855a098, item=0x92c12b8, event=0xbff57b34) at graphicsview/qgraphicsscene.cpp:1159
#34 0xb6f1de22 in QGraphicsScenePrivate::sendMouseEvent (this=0x855a098, mouseEvent=0xbff57b34) at graphicsview/qgraphicsscene.cpp:1230
#35 0xb6f28431 in QGraphicsScene::mouseReleaseEvent (this=0x85c9310, mouseEvent=0xbff57b34) at graphicsview/qgraphicsscene.cpp:4445
#36 0xb6f2a08a in QGraphicsScene::event (this=0x85c9310, event=0xbff57b34) at graphicsview/qgraphicsscene.cpp:3808
#37 0xb68e9d3c in QApplicationPrivate::notify_helper (this=0x851d188, receiver=0x85c9310, e=0xbff57b34) at kernel/qapplication.cpp:4056
#38 0xb68f203e in QApplication::notify (this=0x84df298, receiver=0x85c9310, e=0xbff57b34) at kernel/qapplication.cpp:3603
#39 0xb73fa5cd in KApplication::notify (this=0x84df298, receiver=0x85c9310, event=0xbff57b34) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#40 0xb7e28bcb in QCoreApplication::notifyInternal (this=0x84df298, receiver=0x85c9310, event=0xbff57b34) at kernel/qcoreapplication.cpp:610
#41 0xb6f3c712 in QGraphicsView::mouseReleaseEvent (this=0x92b7600, event=0xbff58138) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#42 0xb6940973 in QWidget::event (this=0x92b7600, event=0xbff58138) at kernel/qwidget.cpp:7549
#43 0xb6cf1a53 in QFrame::event (this=0x92b7600, e=0xbff58138) at widgets/qframe.cpp:559
#44 0xb6d91c2f in QAbstractScrollArea::viewportEvent (this=0x92b7600, e=0x0) at widgets/qabstractscrollarea.cpp:962
#45 0xb6f3c9b2 in QGraphicsView::viewportEvent (this=0x92b7600, event=0xbff58138) at graphicsview/qgraphicsview.cpp:2919
#46 0xb6d94235 in QAbstractScrollAreaFilter::eventFilter (this=0x924e770, o=0x92a4770, e=0xbff58138) at widgets/qabstractscrollarea_p.h:100
#47 0xb7e27dea in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x851d188, receiver=0x92a4770, event=0xbff58138) at kernel/qcoreapplication.cpp:726
#48 0xb68e9d1a in QApplicationPrivate::notify_helper (this=0x851d188, receiver=0x92a4770, e=0xbff58138) at kernel/qapplication.cpp:4052
#49 0xb68f29b1 in QApplication::notify (this=0x84df298, receiver=0x92a4770, e=0xbff58138) at kernel/qapplication.cpp:3758
#50 0xb73fa5cd in KApplication::notify (this=0x84df298, receiver=0x92a4770, event=0xbff58138) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#51 0xb7e28bcb in QCoreApplication::notifyInternal (this=0x84df298, receiver=0x92a4770, event=0xbff58138) at kernel/qcoreapplication.cpp:610
#52 0xb68f1a1e in QApplicationPrivate::sendMouseEvent (receiver=0x92a4770, event=0xbff58138, alienWidget=0x92a4770, nativeWidget=0x89c8608, buttonDown=0xb716baa0, lastMouseReceiver=@0xb716baa4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#53 0xb6961cce in QETWidget::translateMouseEvent (this=0x89c8608, event=0xbff597cc) at kernel/qapplication_x11.cpp:4409
#54 0xb6961085 in QApplication::x11ProcessEvent (this=0x84df298, event=0xbff597cc) at kernel/qapplication_x11.cpp:3428
#55 0xb698c37a in x11EventSourceDispatch (s=0x851fea8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0xb649cb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0xb64a00eb in ?? () from /usr/lib/libglib-2.0.so.0
#58 0xb64a0268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0xb7e542f8 in QEventDispatcherGlib::processEvents (this=0x851cdb8, flags={i = -1074423416}) at kernel/qeventdispatcher_glib.cpp:327
#60 0xb698ba75 in QGuiEventDispatcherGlib::processEvents (this=0x851cdb8, flags={i = -1074423368}) at kernel/qguieventdispatcher_glib.cpp:202
#61 0xb7e271fa in QEventLoop::processEvents (this=0xbff59a30, flags={i = -1074423304}) at kernel/qeventloop.cpp:149
#62 0xb7e27642 in QEventLoop::exec (this=0xbff59a30, flags={i = -1074423240}) at kernel/qeventloop.cpp:201
#63 0xb7e29ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#64 0xb68e9bb7 in QApplication::exec () at kernel/qapplication.cpp:3525
#65 0xb4ab0120 in kdemain (argc=1, argv=0x84fcff0) at /build/buildd/kdebase-workspace-4.3.0/plasma/shells/desktop/main.cpp:50
#66 0x0804e27d in launch (argc=1, _name=0x84fcd84 "/usr/bin/plasma-desktop", args=0x84fcd9c "", cwd=0x0, envc=0, envs=0x84fcda0 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x805136d "0") at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:676
#67 0x0804ea5d in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1168
#68 0x0804efe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1361
#69 0x0804fbca in main (argc=2, argv=0xbff5a224, envp=0xbff5a230) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1788

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2009-08-30 11:25:05 UTC
#6  Plasma::Containment::containmentType (this=0x9be7750) at
/build/buildd/kde4libs-4.3.0/plasma/containment.cpp:417
#7  0xa6c34323 in SystemMonitor::removeApplet (this=0x8d4e370,
name=@0xbff56ca8) at
/build/buildd/kdebase-workspace-4.3.0/plasma/applets/system-monitor/system-monitor.cpp:156

this backtrace doesn't actually make sense; line 156 of system-monitor.cpp in 4.3.0 does not call Containmnet::containmentType. this is evidently some sort of linking issue.
Comment 2 Dario Andres 2009-09-17 01:52:59 UTC
*** Bug 207575 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-09-19 17:50:49 UTC
*** Bug 207900 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-09-23 18:10:38 UTC
*** Bug 207575 has been marked as a duplicate of this bug. ***
Comment 5 Jonathan Thomas 2009-09-23 21:45:36 UTC
We are shipping pristine, untouched upstream source for the System Monitor plasmoid.

Line 156 of system-monitor.cpp calls applet->destroy().
If this applet were, say, a containment, trying to destroy the applet would call Containment::destroy at line 1650 in contaiment.cpp in kdelibs. This would in turn would call Containment::containmentType at line 417, as expected and shown in the backtrace.

I don't know why the System Monitor is trying to delete a containment, but I can for sure say that we don't touch its source.

This whole containment-in-plasmoid approach seems somewhat... dubious, to say the least.
Comment 6 Dario Andres 2009-10-10 15:11:17 UTC
*** Bug 210045 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-10-17 19:08:12 UTC
*** Bug 210828 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Thomas 2009-11-10 21:44:15 UTC
*** Bug 210687 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2009-11-11 13:06:00 UTC
*** Bug 214075 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2009-11-14 03:42:30 UTC
*** Bug 214455 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-11-14 03:50:56 UTC
*** Bug 214381 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2009-11-14 15:36:08 UTC
*** Bug 214519 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2009-11-14 22:40:42 UTC
From bug 214577:
---
What I was doing when the application crashed:
In Karmic Koala System monitor Widget in task bar is working fine displaying
status of hard disk, memory, etc, then I double clicked on hard disk icon and
plasma crashed.
Comment 14 Dario Andres 2009-11-14 22:40:45 UTC
*** Bug 214577 has been marked as a duplicate of this bug. ***
Comment 15 Dario Andres 2009-11-16 22:22:01 UTC
*** Bug 214847 has been marked as a duplicate of this bug. ***
Comment 16 Dario Andres 2009-12-02 20:17:12 UTC
From bug 217107:
---
What I was doing when the application crashed:
Opening the system monitor applet and clicking the next to last icon (I am not
sure what it is supposed to be, would be nice with some tooltip) in the top row
causes this crash for me.
Comment 17 Dario Andres 2009-12-02 20:17:13 UTC
*** Bug 217107 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2009-12-05 17:10:27 UTC
*** Bug 217453 has been marked as a duplicate of this bug. ***
Comment 19 Dario Andres 2009-12-12 22:37:57 UTC
*** Bug 218427 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2009-12-24 16:20:14 UTC
*** Bug 219965 has been marked as a duplicate of this bug. ***
Comment 21 Dario Andres 2010-01-26 12:37:25 UTC
From bug 224261:
---
What I was doing when the application crashed:
In system monitor applet (the all-in-one), 
view 1st item (cpu?)
view 2nd item (disk?)
view 3rd item (?)

Disabling 2nd item (because no use) ==> KDE crashes
Comment 22 Dario Andres 2010-01-26 12:37:27 UTC
*** Bug 224261 has been marked as a duplicate of this bug. ***
Comment 23 Dario Andres 2010-01-27 12:28:38 UTC
*** Bug 224427 has been marked as a duplicate of this bug. ***
Comment 24 Dario Andres 2010-02-15 15:04:54 UTC
From bug 226994:
I add a System Monitor plasmoid in the panel and when I try to go in the
settings pannel I obtain the crash.
Comment 25 Dario Andres 2010-02-15 15:04:59 UTC
*** Bug 226994 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2010-02-15 15:06:43 UTC
- Have anyone experienced this on KDE SC 4.4.0 ? Regards
Comment 27 Dotan Cohen 2010-02-16 18:14:44 UTC
Due to another bug, I cannot test this at the moment. Sorry.
Comment 28 Aaron J. Seigo 2010-05-26 01:29:52 UTC
re: comment #5 -> none of the applets in the system monitor are containments. the backtrace still doesn't make much sense since the intervening Containment::destroy() call isn't shown either (if that was what was being called).

looking at all of the crashes, the line that causes the problem is this:

Animator::self()->animateItem(this, Animator::DisappearAnimation); 

which calls a virtual method in AnimationDriver ... which is a virtual method. which goes right back to my first diagnosis, esp combined with the crashes consistently coming with 4.3.2 from Kubuntu.
Comment 29 Jonathan Thomas 2010-07-25 02:27:21 UTC
*** Bug 245667 has been marked as a duplicate of this bug. ***
Comment 30 Dario Andres 2010-11-15 17:36:47 UTC
*** Bug 255501 has been marked as a duplicate of this bug. ***