Bug 288399 - Removing a resource may lead to a plasma-device crash on devel
Summary: Removing a resource may lead to a plasma-device crash on devel
Status: RESOLVED INTENTIONAL
Alias: None
Product: Active
Classification: Plasma
Component: Contour activity screen (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: unscheduled
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-07 12:08 UTC by Javier Llorente
Modified: 2011-12-10 22:45 UTC (History)
2 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 Javier Llorente 2011-12-07 12:08:25 UTC
Version:           unspecified
OS:                Linux

After some testing (recommendations mainly), I added an image to my current activity and removed it afterwards. This lead to a plasma-device crash.
Tested on 2011-12-06-18-24-basyskom-plasma-active-devel-meego-usb-live.iso


Application: Plasma Workspace (plasma-device), signal: Segmentation fault
[KCrash Handler]
#7  QBasicAtomicInt::deref (this=0xecf8210, other=@0xecf8218) at ../../src/corelib/arch/qatomic_i386.h:132
#8  QString::operator= (this=0xecf8210, other=@0xecf8218) at tools/qstring.cpp:1359
#9  0xa96e5716 in ?? () from /usr/lib/kde4/imports/org/kde/metadatamodels/libdatamodelsplugin.so
#10 0xa96e3f98 in ?? () from /usr/lib/kde4/imports/org/kde/metadatamodels/libdatamodelsplugin.so
#11 0xa96e442d in ?? () from /usr/lib/kde4/imports/org/kde/metadatamodels/libdatamodelsplugin.so
#12 0x41afe60b in QMetaObject::metacall (object=0xb389608, cl=QMetaObject::InvokeMetaMethod, idx=40, argv=0xbfa4ed38) at kernel/qmetaobject.cpp:237
#13 0x41b0cfbf in QMetaObject::activate (sender=0xaf04e48, m=0x468d3640, local_signal_index=1, argv=0xbfa4ed38) at kernel/qobject.cpp:3278
#14 0x468bd324 in Nepomuk::Query::QueryServiceClient::entriesRemoved(QList<QUrl> const&) () from /usr/lib/libnepomukquery.so.4
#15 0x468be6c2 in Nepomuk::Query::QueryServiceClient::Private::_k_entriesRemoved(QStringList const&) () from /usr/lib/libnepomukquery.so.4
#16 0x468bf0d0 in Nepomuk::Query::QueryServiceClient::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libnepomukquery.so.4
#17 0x41afe60b in QMetaObject::metacall (object=0xaf04e48, cl=QMetaObject::InvokeMetaMethod, idx=20, argv=0xbfa4eeb8) at kernel/qmetaobject.cpp:237
#18 0x41b0cfbf in QMetaObject::activate (sender=0xad00b98, m=0x468d3764, local_signal_index=0, argv=0xbfa4eeb8) at kernel/qobject.cpp:3278
#19 0x468c83c4 in ?? () from /usr/lib/libnepomukquery.so.4
#20 0x468c8845 in ?? () from /usr/lib/libnepomukquery.so.4
#21 0x4193aded in QDBusConnectionPrivate::deliverCall (this=0xad09910, object=0xad00b98, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:942
#22 0x419452a8 in QDBusCallDeliveryEvent::placeMetaCall (this=0xf1ce7a8, object=0xad00b98) at qdbusintegrator_p.h:103
#23 0x41b0cb07 in QObject::event (this=0xad00b98, e=0xf1ce7a8) at kernel/qobject.cpp:1217
#24 0x421880cc in QApplicationPrivate::notify_helper (this=0x978fd08, receiver=0xad00b98, e=0xf1ce7a8) at kernel/qapplication.cpp:4486
#25 0x4218ccae in QApplication::notify (this=0x9785470, receiver=<value optimized out>, e=0xf1ce7a8) at kernel/qapplication.cpp:3886
#26 0x42ea692b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0x41af8283 in QCoreApplication::notifyInternal (this=0x9785470, receiver=0xad00b98, event=0xf1ce7a8) at kernel/qcoreapplication.cpp:787
#28 0x41afbcb5 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x976ef90) at ../../src/corelib/kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x976ef90) at kernel/qcoreapplication.cpp:1428
#30 0x41afbe8e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#31 0x41b247c5 in QCoreApplication::sendPostedEvents (s=0x9791f00) at ../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=0x9791f00) at kernel/qeventdispatcher_glib.cpp:277
#33 0x41331afb in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x4133211f in ?? () from /lib/libglib-2.0.so.0
#35 0x413322e2 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x41b2493d in QEventDispatcherGlib::processEvents (this=0x976ee88, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#37 0x422385e6 in QGuiEventDispatcherGlib::processEvents (this=0x976ee88, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x41af741a in QEventLoop::processEvents (this=0xbfa4f7f4, flags=...) at kernel/qeventloop.cpp:149
#39 0x41af76ca in QEventLoop::exec (this=0xbfa4f7f4, flags=...) at kernel/qeventloop.cpp:201
#40 0x41afbf54 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#41 0x42186138 in QApplication::exec () at kernel/qapplication.cpp:3760
#42 0x43b2b479 in kdemain () from /usr/lib/libkdeinit4_plasma-device.so
#43 0x0804858c in _start ()


Reproducible: Couldn't Reproduce

Steps to Reproduce:
1. Test recommendations
2. Add an image to current activity
3. Remove it


Expected Results:  
plasma-device shouldn't crash after removing an image
Comment 1 Javier Llorente 2011-12-07 12:10:03 UTC
This doesn't happen always.
Comment 2 Aaron J. Seigo 2011-12-07 16:16:10 UTC
please install packages with debug symbols for plasma-mobile. it is very difficult to determine the issue(s) in these cases where there isn't a ~100% reproduction method without them. thanks :)
Comment 3 Javier Llorente 2011-12-07 16:29:58 UTC
(In reply to comment #2)
> please install packages with debug symbols for plasma-mobile. it is very
> difficult to determine the issue(s) in these cases where there isn't a ~100%
> reproduction method without them. thanks :)

Besides installing plasma-mobile-debuginfo, I installed qt-debuginfo and kdelibs-debuginfo.
Comment 4 Javier Llorente 2011-12-10 22:45:05 UTC
I used the "install debug packages" option of the KDE crash handler to install debug packages and copied&pasted the backtrace here. I didn't realise that it almost had no debugging symbols. My bad. Anyways, I haven't been able to reproduce it on latest images such as 2011-12-09-20-11-basyskom-plasma-active-testing-meego-usb-live.iso so I'm closing it.