Bug 286012 - Removing a resource may lead to a plasma-device crash
Summary: Removing a resource may lead to a plasma-device crash
Status: RESOLVED DUPLICATE of bug 285784
Alias: None
Product: Active
Classification: Plasma
Component: Plasma mobile shell (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: unscheduled
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 15:40 UTC by Javier Llorente
Modified: 2011-11-07 16:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasma-device crash (5.59 KB, text/plain)
2011-11-07 15:40 UTC, Javier Llorente
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Llorente 2011-11-07 15:40:00 UTC
Version:           unspecified
OS:                Linux

Removing resources doesn't always work on devel. Sometimes you have to try the remove dance several times. After that, removing another resource or switching to another activity makes plasma-device crash.
Tested on 2011-11-04-22-22-basyskom-plasma-active-devel-USB-live.iso + this morning updates.

Reproducible: Sometimes

Steps to Reproduce:
1. Try to remove a resource
2. Go to another activity (sometimes plasma-device crashes before doing so)


Expected Results:  
Removing a resource shouldn't make plasma-device crash
Comment 1 Javier Llorente 2011-11-07 15:40:38 UTC
Created attachment 65348 [details]
plasma-device crash
Comment 2 Aaron J. Seigo 2011-11-07 16:07:14 UTC
Application: Plasma Workspace (plasma-device), signal: Segmentation fault
[KCrash Handler]
#7  QBasicAtomicInt::ref (this=0xbffb2c28, alloc=31) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QString (this=0xbffb2c28, alloc=31) at /usr/include/qt4/QtCore/qstring.h:729
#9  QList<QString>::node_copy (this=0xbffb2c28, alloc=31) at /usr/include/qt4/QtCore/qlist.h:399
#10 QList<QString>::detach_helper (this=0xbffb2c28, alloc=31) at /usr/include/qt4/QtCore/qlist.h:696
#11 0xaefc704b in QList<QString>::detach_helper (this=0xbffb2c28) at /usr/include/qt4/QtCore/qlist.h:710
#12 0xaefdb44e in QList (this=0xc010300) at /usr/include/qt4/QtCore/qlist.h:118
#13 QStringList (this=0xc010300) at /usr/include/qt4/QtCore/qstringlist.h:71
#14 TaskManager::Task::activities (this=0xc010300) at ../../../libs/taskmanager/task.cpp:681
#15 0xaefdb4ed in TaskManager::Task::isOnCurrentActivity (this=0xc010300) at ../../../libs/taskmanager/task.cpp:671
#16 0xaf05dbc6 in TaskSource::updateActivity (this=0xcaf2800) at ../../../../../plasma/generic/dataengines/tasks/tasksource.cpp:170
#17 0xaf05df22 in TaskSource::qt_metacall (this=0xcaf2800, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbffb2dd8) at ./tasksource.moc:83
#18 0x47f466ab in QMetaObject::metacall (object=0xcaf2800, cl=QMetaObject::InvokeMetaMethod, idx=17, argv=0xbffb2dd8) at kernel/qmetaobject.cpp:237
#19 0x47f54f8f in QMetaObject::activate (sender=0xa04e0a0, m=0xaefff00c, local_signal_index=5, argv=0xbffb2dd8) at kernel/qobject.cpp:3278
#20 0xaefe7584 in TaskManager::TaskManager::activityChanged (this=0xa04e0a0, _t1=...) at ./taskmanager.moc:207
#21 0xaefe75b5 in TaskManager::TaskManager::currentActivityChanged (this=0xa04e0a0, activity=...) at ../../../libs/taskmanager/taskmanager.cpp:434
#22 0xaefe9005 in TaskManager::TaskManager::qt_metacall (this=0xa04e0a0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbffb2f78) at ./taskmanager.moc:128
#23 0x47f466ab in QMetaObject::metacall (object=0xa04e0a0, cl=QMetaObject::InvokeMetaMethod, idx=16, argv=0xbffb2f78) at kernel/qmetaobject.cpp:237
#24 0x47f54f8f in QMetaObject::activate (sender=0xa0dcb30, m=0xaefae030, local_signal_index=0, argv=0xbffb2f78) at kernel/qobject.cpp:3278
#25 0xaef76c54 in KActivityConsumer::currentActivityChanged (this=0xa0dcb30, _t1=...) at moc_kactivityconsumer.cpp:126
#26 0xaef76eb5 in KActivityConsumer::qt_metacall (this=0xa0dcb30, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbffb30a8) at moc_kactivityconsumer.cpp:87
#27 0x47f466ab in QMetaObject::metacall (object=0xa0dcb30, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbffb30a8) at kernel/qmetaobject.cpp:237
#28 0x47f54f8f in QMetaObject::activate (sender=0xa0f4aa8, m=0xaefae724, local_signal_index=6, argv=0xbffb30a8) at kernel/qobject.cpp:3278
#29 0xaef9b6e4 in OrgKdeActivityManagerInterface::CurrentActivityChanged (this=0xa0f4aa8, _t1=...) at activitymanager_interface.moc:249
#30 0xaef9bbda in OrgKdeActivityManagerInterface::qt_metacall (this=0xa0f4aa8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbffb347c) at activitymanager_interface.moc:145
#31 0xaef76b9b in KActivityManager::qt_metacall (this=0xa0f4aa8, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbffb347c) at moc_kactivitymanager_p.cpp:75
#32 0x480f6cbd in QDBusConnectionPrivate::deliverCall (this=0x9e0ab98, object=0xa0f4aa8, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:941
#33 0x481014e8 in QDBusCallDeliveryEvent::placeMetaCall (this=0xcbb8700, object=0xa0f4aa8) at qdbusintegrator_p.h:103
#34 0x47f54ad7 in QObject::event (this=0xa0f4aa8, e=0xcbb8700) at kernel/qobject.cpp:1217
#35 0x4882059c in QApplicationPrivate::notify_helper (this=0x9e11a18, receiver=0xa0f4aa8, e=0xcbb8700) at kernel/qapplication.cpp:4467
#36 0x4882517e in QApplication::notify (this=0x9e07488, receiver=<value optimized out>, e=0xcbb8700) at kernel/qapplication.cpp:3867
#37 0xb729c62b in KApplication::notify (this=0x9e07488, receiver=0xa0f4aa8, event=0xcbb8700) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x47f40323 in QCoreApplication::notifyInternal (this=0x9e07488, receiver=0xa0f4aa8, event=0xcbb8700) at kernel/qcoreapplication.cpp:731
#39 0x47f43d55 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x9df0f78) at ../../src/corelib/kernel/qcoreapplication.h:215
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x9df0f78) at kernel/qcoreapplication.cpp:1372
#41 0x47f43f2e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#42 0x47f6c7e5 in QCoreApplication::sendPostedEvents (s=0x9e143b8) at ../../src/corelib/kernel/qcoreapplication.h:220
#43 postEventSourceDispatch (s=0x9e143b8) at kernel/qeventdispatcher_glib.cpp:277
#44 0x47a41afb in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x47a4211f in ?? () from /lib/libglib-2.0.so.0
#46 0x47a422e2 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0x47f6c95d in QEventDispatcherGlib::processEvents (this=0x9df0e70, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#48 0x488d07b6 in QGuiEventDispatcherGlib::processEvents (this=0x9df0e70, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x47f3f4ba in QEventLoop::processEvents (this=0xbffb3c44, flags=...) at kernel/qeventloop.cpp:149
#50 0x47f3f76a in QEventLoop::exec (this=0xbffb3c44, flags=...) at kernel/qeventloop.cpp:201
#51 0x47f43ff4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#52 0x4881e608 in QApplication::exec () at kernel/qapplication.cpp:3741
#53 0xb7809a29 in kdemain (argc=1, argv=0xbffb3e54) at ../../shell/main.cpp:63
#54 0x0804858c in main (argc=1, argv=0xbffb3e54) at plasma-device_dummy.cpp:3
Comment 3 Aaron J. Seigo 2011-11-07 16:08:43 UTC
please put backtraces inline into a comment, as bugzilla can not be made to search through attachments which makes finding duplicates much harder. i'm pretty sure we've already seen this creash in another bug report, but bugzilla is not finding it :/
Comment 4 Aaron J. Seigo 2011-11-07 16:15:25 UTC

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