Bug 324836 - contact list crashes when merging a few contacts
Summary: contact list crashes when merging a few contacts
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: contactlist (show other bugs)
Version: git-latest
Platform: unspecified Linux
: NOR crash
Target Milestone: 0.7-beta
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-12 12:31 UTC by Sven Brauch
Modified: 2013-09-13 13:32 UTC (History)
1 user (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 Sven Brauch 2013-09-12 12:31:26 UTC
When I merge three contacts using the button (select 3 contacts, click Merge), contact-list crashes:

Application: KDE Telepathy Contact List (ktp-contactlist), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f24f0eb5780 (LWP 19004))]

Thread 3 (Thread 0x7f24d3fff700 (LWP 19009)):
#0  0x00007f24ebbc1fdd in poll () from /usr/lib/libc.so.6
#1  0x00007f24eb302084 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f24eb30218c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f24d845ea1d in ?? () from /usr/lib/gio/modules/libdconfsettings.so
#4  0x00007f24eb326085 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007f24ed35f062 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f24ebbcaaad in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f24d37fe700 (LWP 19010)):
#0  0x00007f24ebbc1fdd in poll () from /usr/lib/libc.so.6
#1  0x00007f24eb302084 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f24eb3024ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00007f24eadd8346 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f24eb326085 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007f24ed35f062 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f24ebbcaaad in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f24f0eb5780 (LWP 19004)):
[KCrash Handler]
#5  0x00007f24ecdf3240 in QStandardItem::parent() const () from /usr/lib/libQtGui.so.4
#6  0x00007f24f085c52d in KTp::AbstractGroupingProxyModel::removeProxyNodes (this=0x2cf4b70, sourceIndex=..., removedItems=...) at ../KTp/Models/abstract-grouping-proxy-model.cpp:225
#7  0x00007f24f085c5e3 in KTp::AbstractGroupingProxyModel::removeProxyNodes (this=0x2cf4b70, sourceIndex=..., removedItems=...) at ../KTp/Models/abstract-grouping-proxy-model.cpp:230
#8  0x00007f24f085cba0 in KTp::AbstractGroupingProxyModel::onRowsRemoved (this=0x2cf4b70, sourceParent=..., start=0, end=0) at ../KTp/Models/abstract-grouping-proxy-model.cpp:266
#9  0x00007f24f085aea2 in KTp::AbstractGroupingProxyModel::qt_static_metacall (_o=0x2cf4b70, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffdd05cb20) at KTp/Models/moc_abstract-grouping-proxy-model.cpp:59
#10 0x00007f24ee62aba8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x00007f24ee6749e4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#12 0x00007f24ee60d865 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#13 0x00007f24ecd82ee7 in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007f24ee62aba8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0x00007f24ee6749e4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#16 0x00007f24ee60d865 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#17 0x00007f24ecd82ee7 in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007f24ee62aba8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x00007f24ee6749e4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#20 0x00007f24ee60d865 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#21 0x00007f24ecdf4363 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007f24ecdf6a51 in QStandardItem::removeRows(int, int) () from /usr/lib/libQtGui.so.4
#23 0x00007f24eebb4d50 in KPeople::PersonsModel::removeContact (this=0x252b790, uri=...) at ../src/personsmodel.cpp:403
#24 0x00007f24eebb5b62 in KPeople::PersonsModel::removeContactsFromPerson (this=0x252b790, personUri=..., contacts=...) at ../src/personsmodel.cpp:534
#25 0x00007f24eebc00c2 in KPeople::ResourceWatcherService::onPersonPropertyRemoved (this=0x27a1190, res=..., property=..., value=...) at ../src/resourcewatcherservice.cpp:115
#26 0x00007f24eebab892 in KPeople::ResourceWatcherService::qt_static_metacall (_o=0x27a1190, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffdd05d3e0) at src/moc_resourcewatcherservice.cpp:69
#27 0x00007f24ee62aba8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#28 0x00007f24eb6582cf in Nepomuk2::ResourceWatcher::propertyRemoved(Nepomuk2::Resource const&, Nepomuk2::Types::Property const&, QVariant const&) () from /usr/lib/libnepomukcore.so.4
#29 0x00007f24eb65b5ff in Nepomuk2::ResourceWatcher::slotPropertyChanged(QString const&, QString const&, QList<QVariant> const&, QList<QVariant> const&) () from /usr/lib/libnepomukcore.so.4
#30 0x00007f24eb65bbb5 in ?? () from /usr/lib/libnepomukcore.so.4
#31 0x00007f24ee62aba8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#32 0x00007f24eb65fae1 in ?? () from /usr/lib/libnepomukcore.so.4
#33 0x00007f24eb65fd51 in ?? () from /usr/lib/libnepomukcore.so.4
#34 0x00007f24eb660103 in ?? () from /usr/lib/libnepomukcore.so.4
#35 0x00007f24ee245246 in ?? () from /usr/lib/libQtDBus.so.4
#36 0x00007f24ee62ef5e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#37 0x00007f24ec87612c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0x00007f24ec87c6f0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#39 0x00007f24effc372a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#40 0x00007f24ee616efd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#41 0x00007f24ee619f4f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#42 0x00007f24ee6442c3 in ?? () from /usr/lib/libQtCore.so.4
#43 0x00007f24eb301d96 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0x00007f24eb3020e8 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0x00007f24eb30218c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0x00007f24ee643b85 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0x00007f24ec9132e6 in ?? () from /usr/lib/libQtGui.so.4
#48 0x00007f24ee615b5f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0x00007f24ee615e55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0x00007f24ed6a5523 in KJob::exec() () from /usr/lib/libkdecore.so.5
#51 0x00007f24eebb6771 in KPeople::PersonsModel::unlinkContactFromPerson (personUri=..., contactUris=...) at ../src/personsmodel.cpp:642
#52 0x00000000004371ed in MainWidget::onMetacontactToggleTriggered (this=0x249f9f0) at ../main-widget.cpp:753
#53 0x00007f24ee62aba8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#54 0x00007f24ec86ffd2 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#55 0x00007f24ec8719a3 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#56 0x00007f24ecc24652 in ?? () from /usr/lib/libQtGui.so.4
#57 0x00007f24ecc2477c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#58 0x00007f24eccdb67a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#59 0x00007f24ec8c56de in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#60 0x00007f24ec87612c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#61 0x00007f24ec87c82d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#62 0x00007f24effc372a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#63 0x00007f24ee616efd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#64 0x00007f24ec87bfe3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#65 0x00007f24ec8edc5b in ?? () from /usr/lib/libQtGui.so.4
#66 0x00007f24ec8ec6cc in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#67 0x00007f24ec913232 in ?? () from /usr/lib/libQtGui.so.4
#68 0x00007f24eb301d96 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#69 0x00007f24eb3020e8 in ?? () from /usr/lib/libglib-2.0.so.0
#70 0x00007f24eb30218c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#71 0x00007f24ee643ba6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#72 0x00007f24ec9132e6 in ?? () from /usr/lib/libQtGui.so.4
#73 0x00007f24ee615b5f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#74 0x00007f24ee615e55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#75 0x00007f24ee61af8b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#76 0x000000000041e440 in main (argc=1, argv=0x7fffdd05f1e8) at ../main.cpp:63


The contacts are still merged, though.
Comment 1 David Edmundson 2013-09-13 13:28:15 UTC
After a lot of work, this seems to be fixed
Comment 2 Sven Brauch 2013-09-13 13:32:49 UTC
And resolved as invalid? ;)
I confirm it's fixed, yeah.