Bug 219725 - Plasma crashes after change desktopview to netbook [QList, SystemTray::Manager::notifications, SystemTray::Applet::syncNotificationBarNeeded, SystemTray::Applet::notificationDestroyed]
Summary: Plasma crashes after change desktopview to netbook [QList, SystemTray::Manage...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-systemtray (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-22 20:37 UTC by sts
Modified: 2009-12-29 22:35 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi: --- I have exactly the same crash when i do kquitapp plasma-desktop or shutdown my computer (11.26 KB, text/plain)
2009-12-29 14:10 UTC, Thomas Richard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sts 2009-12-22 20:37:05 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)) "release 203"
Qt Version: 4.6.0
Operating System: Linux 2.6.31.5-0.1-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
I change the settings with program systemsettings. Every time I change the desktop view to netbook kwin und plasma crashs.

The crash can be reproduced everytime.

 -- Backtrace:
Application: Plasma-Arbeitsfläche (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f486afa37f0 (LWP 5310))]

Thread 2 (Thread 0x7f4848124910 (LWP 5346)):
#0  0x00007f486922d049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f48694b866b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4867c8c3ec in QHostInfoAgent::run (this=0x10f36a0) at kernel/qhostinfo.cpp:252
#4  0x00007f48694b76b5 in QThreadPrivate::start (arg=0x10f36a0) at thread/qthread_unix.cpp:244
#5  0x00007f486922865d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f4867ffd14d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f486afa37f0 (LWP 5310)):
[KCrash Handler]
#5  0x00007f484c7b1fff in QListData::insert(int) () at tools/qlist.cpp:236
#6  0x00007f484c7ce8bb in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#7  0x00007f484c7cf5ed in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#8  0x00007f484c7d4b20 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#9  0x00007f48695bd2b3 in QMetaObject::activate (sender=0x15c3920, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1667370) at kernel/qobject.cpp:3294
#10 0x00007f484c7b4342 in QListData::insert(int) () at tools/qlist.cpp:236
#11 0x00007f484c7b4c5b in QListData::insert(int) () at tools/qlist.cpp:236
#12 0x00007f484c7c1bda in QListData::insert(int) () at tools/qlist.cpp:236
#13 0x00007f48695b8f7c in QObjectPrivate::deleteChildren (this=0xe6bae0) at kernel/qobject.cpp:1998
#14 0x00007f48695c0024 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:987
#15 0x00007f484c7c01d1 in QListData::insert(int) () at tools/qlist.cpp:236
#16 0x00007f48695b8f7c in QObjectPrivate::deleteChildren (this=0xa99080) at kernel/qobject.cpp:1998
#17 0x00007f48695c0024 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:987
#18 0x00007f484c7b2cb6 in QListData::insert(int) () at tools/qlist.cpp:236
#19 0x00007f484c7d20b3 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#20 0x00007f4861833ecf in Plasma::Containment::~Containment() () from /usr/lib64/libplasma.so.3
#21 0x00007f484df72f09 in ?? () from /usr/lib64/kde4/plasma_containment_panel.so
#22 0x00007f486184a67f in Plasma::Corona::~Corona() () from /usr/lib64/libplasma.so.3
#23 0x00007f485e076ac3 in KDialog::setButtons(QFlags<KDialog::ButtonCode>) () from /usr/lib64/libkdeinit4_plasma-desktop.so
#24 0x00007f485e08ff86 in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#25 0x00007f485e0900e0 in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#26 0x00007f485e099ea5 in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#27 0x00007f48679b34be in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#28 0x00007f48679b429f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x74e3c0, flags=337, msg=...) at qdbusintegrator.cpp:809
#29 0x00007f48679b4c2a in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1360
#30 0x00007f48679b5018 in QDBusActivateObjectEvent::placeMetaCall (this=0x1a0b780) at qdbusintegrator.cpp:1481
#31 0x00007f48695ba209 in QObject::event (this=0x664600, e=0x1a0b780) at kernel/qobject.cpp:1260
#32 0x00007f48687570ad in QApplication::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#33 0x00007f4868752bcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#34 0x00007f48687591ed in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#35 0x00007f4869ad4a76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#36 0x00007f48695aa53c in QCoreApplication::notifyInternal (this=0x664600, receiver=0x664600, event=0x1a0b780) at kernel/qcoreapplication.cpp:704
#37 0x00007f48695accb7 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#39 0x00007f48695d3fd3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#40 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#41 0x00007f4864820dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f48648247a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f48648248d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f48695d3b13 in QEventDispatcherGlib::processEvents (this=0x6708c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#45 0x00007f48687ff94e in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00007f48695a8e52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007f48695a922c in QEventLoop::exec (this=0x7fff2d644040, flags=) at kernel/qeventloop.cpp:201
#48 0x00007f48695acf7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#49 0x00007f485e07dad2 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#50 0x0000000000406fc8 in _start ()

Possible duplicates by query: bug 216287.

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-22 21:40:40 UTC
Thanks for the report!
- If you can reproduce the crash at will (or you experience this regularly), can you install the "kdebase4-workspace-debuginfo" package and post a complete backtrace here? Thanks
Comment 2 sts 2009-12-23 11:57:08 UTC
Application: Plasma-Arbeitsfläche (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f72148f37f0 (LWP 21936))]

Thread 2 (Thread 0x7f71f16d3910 (LWP 21994)):
#0  0x00007f7212b7d049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7212e0866b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f72115dc3ec in QHostInfoAgent::run (this=0xd40c90) at kernel/qhostinfo.cpp:252
#4  0x00007f7212e076b5 in QThreadPrivate::start (arg=0xd40c90) at thread/qthread_unix.cpp:244
#5  0x00007f7212b7865d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f721194d14d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f72148f37f0 (LWP 21936)):
[KCrash Handler]
#5  ref (this=<value optimized out>) at /usr/include/QtCore/qatomic_x86_64.h:121
#6  QList (this=<value optimized out>) at /usr/include/QtCore/qlist.h:114
#7  SystemTray::Manager::notifications (this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.85/plasma/generic/applets/systemtray/core/manager.cpp:161
#8  0x00007f71f96698bb in SystemTray::Applet::syncNotificationBarNeeded (this=0x818940) at /usr/src/debug/kdebase-workspace-4.3.85/plasma/generic/applets/systemtray/ui/applet.cpp:242
#9  0x00007f71f966a5ed in SystemTray::Applet::notificationDestroyed (this=0x818940, notification=0x1668bd0)
    at /usr/src/debug/kdebase-workspace-4.3.85/plasma/generic/applets/systemtray/ui/applet.cpp:297
#10 0x00007f71f966fb20 in SystemTray::Applet::qt_metacall (this=0x818940, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff130d2f30)
    at /usr/src/debug/kdebase-workspace-4.3.85/build/plasma/generic/applets/systemtray/applet.moc:109
#11 0x00007f7212f0d2b3 in QMetaObject::activate (sender=0x1668bd0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x16ca820) at kernel/qobject.cpp:3294
#12 0x00007f71f964f342 in SystemTray::Notification::destroyed (this=0x7fff130d2d10, _t1=0x1668bd0)
    at /usr/src/debug/kdebase-workspace-4.3.85/build/plasma/generic/applets/systemtray/notification.moc:114
#13 0x00007f71f964fc5b in SystemTray::Notification::~Notification (this=0x7fff130d2d10, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.3.85/plasma/generic/applets/systemtray/core/notification.cpp:77
#14 0x00007f71f965cbda in SystemTray::DBusNotification::~DBusNotification (this=0x1668bd0, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.3.85/plasma/generic/applets/systemtray/protocols/notifications/dbusnotification.cpp:38
#15 0x00007f7212f08f7c in QObjectPrivate::deleteChildren (this=0xb09220) at kernel/qobject.cpp:1998
#16 0x00007f7212f10024 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:987
#17 0x00007f71f965b1d1 in ~Protocol (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.85/plasma/generic/applets/systemtray/core/protocol.h:47
#18 SystemTray::DBusNotificationProtocol::~DBusNotificationProtocol (this=<value optimized out>, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.3.85/plasma/generic/applets/systemtray/protocols/notifications/dbusnotificationprotocol.cpp:49
#19 0x00007f7212f08f7c in QObjectPrivate::deleteChildren (this=0x86ec20) at kernel/qobject.cpp:1998
#20 0x00007f7212f10024 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:987
#21 0x00007f71f964dcb6 in SystemTray::Manager::~Manager (this=0x7da9a0, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.3.85/plasma/generic/applets/systemtray/core/manager.cpp:83
#22 0x00007f71f966d0b3 in SystemTray::Applet::~Applet (this=0x818940, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.85/plasma/generic/applets/systemtray/ui/applet.cpp:139
#23 0x00007f720b183ecf in Plasma::Containment::~Containment() () from /usr/lib64/libplasma.so.3
#24 0x00007f71fae0df09 in Panel::~Panel (this=0x7fff130d2d10, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.85/plasma/desktop/containments/panel/panel.cpp:126
#25 0x00007f720b19a67f in Plasma::Corona::~Corona() () from /usr/lib64/libplasma.so.3
#26 0x00007f72079c6ac3 in DesktopCorona::~DesktopCorona (this=0x7fff130d2d10, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.85/plasma/desktop/shell/desktopcorona.h:40
#27 0x00007f72079dff86 in PlasmaApp::cleanup (this=0x664120) at /usr/src/debug/kdebase-workspace-4.3.85/plasma/desktop/shell/plasmaapp.cpp:334
#28 0x00007f72079e00e0 in PlasmaApp::quit (this=0x7fff130d2d10) at /usr/src/debug/kdebase-workspace-4.3.85/plasma/desktop/shell/plasmaapp.cpp:295
#29 0x00007f72079e9ea5 in quit (this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.85/build/plasma/desktop/shell/appadaptor.cpp:57
#30 PlasmaAppAdaptor::qt_metacall (this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.85/build/plasma/desktop/shell/appadaptor.moc:110
#31 0x00007f72113034be in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#32 0x00007f721130429f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x6e7300, flags=337, msg=...) at qdbusintegrator.cpp:809
#33 0x00007f7211304c2a in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1360
#34 0x00007f7211305018 in QDBusActivateObjectEvent::placeMetaCall (this=0x1110c80) at qdbusintegrator.cpp:1481
#35 0x00007f7212f0a209 in QObject::event (this=0x664120, e=0x1110c80) at kernel/qobject.cpp:1260
#36 0x00007f72120a70ad in QApplication::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#37 0x00007f72120a2bcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#38 0x00007f72120a91ed in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#39 0x00007f7213424a76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#40 0x00007f7212efa53c in QCoreApplication::notifyInternal (this=0x664120, receiver=0x664120, event=0x1110c80) at kernel/qcoreapplication.cpp:704
#41 0x00007f7212efccb7 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#43 0x00007f7212f23fd3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#44 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#45 0x00007f720e170dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f720e1747a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f720e1748d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#48 0x00007f7212f23b13 in QEventDispatcherGlib::processEvents (this=0x6706f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#49 0x00007f721214f94e in ?? () from /usr/lib64/libQtGui.so.4
#50 0x00007f7212ef8e52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00007f7212ef922c in QEventLoop::exec (this=0x7fff130d4300, flags=) at kernel/qeventloop.cpp:201
#52 0x00007f7212efcf7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#53 0x00007f72079cdad2 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.85/plasma/desktop/shell/main.cpp:112
#54 0x0000000000406fc8 in _start ()
Comment 3 sts 2009-12-23 11:59:19 UTC
btw.. kde starts every time with a mix of netbook and workspace view. So I have to change it to netbook and back to workspace view
Comment 4 Thomas Richard 2009-12-29 14:10:47 UTC
Created attachment 39425 [details]
New crash information added by DrKonqi:
---
I have exactly the same crash when i do
kquitapp plasma-desktop or shutdown my computer
Comment 5 Dario Andres 2009-12-29 14:14:41 UTC
Thanks for the new backtrace info.
Comment 6 Marco Martin 2009-12-29 22:35:44 UTC
SVN commit 1067571 by mart:

disconnect all the notifications before deleting the manager and guard the manager pointer
BUG:219725


 M  +9 -0      applet.cpp  


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