Bug 232408 - Plasma-Desktop crashed after removing systemtray
Summary: Plasma-Desktop crashed after removing systemtray
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: notifications (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-27 23:42 UTC by Anton Kreuzkamp
Modified: 2010-05-27 21:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kreuzkamp 2010-03-27 23:42:25 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.69 (KDE 4.4.69 (KDE 4.5 >= 20100324)) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
Plasma-Desktop crashed while removing the system-tray from the panel after I had moved it to the desktop by mistake and moved it back (after moving it back the tray painted a further background over an other plasmoid (the normal background was painted right and had a correct size)) 
Last update of kdebase was about today(27. March) 18:00 UTC last update of kdelibs yesterday.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[KCrash Handler]
#6  Plasma::Applet::config (this=0xa2df20, group=...) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/applet.cpp:423
#7  0x00007f609f9e2cca in Plasma::ExtenderItem::destroy (this=0xbaedf0) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extenderitem.cpp:447
#8  0x00007f609f9e57d0 in Plasma::ExtenderItem::qt_metacall (this=0xbaedf0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf2ec5a0)
    at /home/kde-devel/kde/build/KDE/kdelibs/plasma/extenderitem.moc:104
#9  0x00007f609b421cb6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#10 0x00007f607f133038 in NotificationScroller::removeNotification (this=0x15017d0, notification=0x696970)
    at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/generic/applets/notifications/ui/notificationscroller.cpp:117
#11 0x00007f607f11a864 in NotificationScroller::qt_metacall (this=0x15017d0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf2ec7c0)
    at /home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/generic/applets/notifications/moc_notificationscroller.cpp:80
#12 0x00007f609b421cb6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x00007f607f11dbd2 in Notification::notificationDestroyed (this=0x7fffbf2ec3e0, _t1=0x696970)
    at /home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/generic/applets/notifications/notification.moc:119
#14 0x00007f607f11e57b in Notification::~Notification (this=0x7fffbf2ec3e0, __in_chrg=<value optimized out>)
    at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/generic/applets/notifications/core/notification.cpp:69
#15 0x00007f607f123a4a in DBusNotification::~DBusNotification (this=0x696970, __in_chrg=<value optimized out>)
    at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/generic/applets/notifications/protocols/notifications/dbusnotification.cpp:36
#16 0x00007f607f131a87 in qDeleteAll<QList<Notification*>::const_iterator> (end=<value optimized out>, begin=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:322
#17 qDeleteAll<QList<Notification*> > (end=<value optimized out>, begin=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:330
#18 NotificationScroller::~NotificationScroller (end=<value optimized out>, begin=<value optimized out>)
    at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/generic/applets/notifications/ui/notificationscroller.cpp:65
#19 0x00007f609f9e2183 in Plasma::ExtenderItemPrivate::~ExtenderItemPrivate (this=0x11db500, __in_chrg=<value optimized out>)
    at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extenderitem.cpp:737
#20 0x00007f609f9e2286 in Plasma::ExtenderItem::~ExtenderItem (this=0xbaedf0, __in_chrg=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extenderitem.cpp:149
#21 0x00007f609c123c9c in QGraphicsItem::~QGraphicsItem() () from /usr/lib64/libQtGui.so.4
#22 0x00007f609c181539 in QGraphicsWidget::~QGraphicsWidget() () from /usr/lib64/libQtGui.so.4
#23 0x00007f609f9db906 in Plasma::Extender::~Extender (this=0xb41e00, __in_chrg=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/extenders/extender.cpp:122
#24 0x00007f609f99346e in Plasma::AppletPrivate::~AppletPrivate (this=0xb39b20, __in_chrg=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/applet.cpp:2546
#25 0x00007f609f99950a in Plasma::Applet::~Applet (this=0xb3b3f0, __in_chrg=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/applet.cpp:212
#26 0x00007f607f126f28 in Notifications::~Notifications (this=0xb3b3f0, __in_chrg=<value optimized out>)
    at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/generic/applets/notifications/ui/notifications.cpp:114
#27 0x00007f609c123c9c in QGraphicsItem::~QGraphicsItem() () from /usr/lib64/libQtGui.so.4
#28 0x00007f609c181539 in QGraphicsWidget::~QGraphicsWidget() () from /usr/lib64/libQtGui.so.4
#29 0x00007f608025abbc in SystemTray::TaskArea::~TaskArea (this=0x8db1d0, __in_chrg=<value optimized out>)
    at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/generic/applets/systemtray/ui/taskarea.cpp:203
#30 0x00007f608024f311 in SystemTray::Applet::~Applet (this=0x8d9f10, __in_chrg=<value optimized out>)
    at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/generic/applets/systemtray/ui/applet.cpp:112
#31 0x00007f609b41e84d in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#32 0x00007f609c17d56b in QGraphicsWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#33 0x00007f609bb571ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#34 0x00007f609bb5d7cb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#35 0x00007f609e51d696 in KApplication::notify (this=0x62b720, receiver=0x8d9f10, event=0x1721a20) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#36 0x00007f609b40ea5c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#37 0x00007f609b4120d4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#38 0x00007f609b438533 in ?? () from /usr/lib64/libQtCore.so.4
#39 0x00007f60955a8dee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f60955ac7b8 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f60955ac8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f609b438073 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#43 0x00007f609bc0579e in ?? () from /usr/lib64/libQtGui.so.4
#44 0x00007f609b40d372 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#45 0x00007f609b40d74c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#46 0x00007f609b4123bb in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#47 0x00007f60a0b13f86 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/desktop/shell/main.cpp:118
#48 0x00007f609a5cea7d in __libc_start_main () from /lib64/libc.so.6
#49 0x0000000000400899 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Marco Martin 2010-05-27 21:53:17 UTC
SVN commit 1131248 by mart:

too much classes clobbers with the Extender's private, protect d->applet behind a QWeakPointer
BUG:195369
BUG:232408
CCBUG:233563
BUG:239022


 M  +4 -1      dialog.cpp  
 M  +43 -20    extenders/extender.cpp  
 M  +18 -14    extenders/extenderitem.cpp  
 M  +1 -1      private/extender_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1131248