Bug 275214 - Telepathy KDE Contact List crashed when quitting parallel running Empathy
Summary: Telepathy KDE Contact List crashed when quitting parallel running Empathy
Status: RESOLVED DUPLICATE of bug 275075
Alias: None
Product: telepathy
Classification: Unmaintained
Component: contactlist (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: 0.4.0
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 15:41 UTC by Elias Probst
Modified: 2012-07-06 12:47 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 Elias Probst 2011-06-08 15:41:16 UTC
Application: telepathy-kde-contactlist (0.1)
KDE Platform Version: 4.6.3 (4.6.3) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-gentoo-r6 x86_64
Distribution: "Gentoo Base System release 2.0.2"

-- Information about the crash:
- What I was doing when the application crashed:
When I first installed Telepathy KDE I still had Empathy running for using my Telepathy accounts.
I started the Telepathy KDE Contact List and quitted Empathy - at this moment Telepathy KDE Contact List crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Telepathy KDE Contact List (telepathy-kde-contactlist), signal: Segmentation fault
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x0000000000441f7a in ProxyTreeNode::data (this=<value optimized out>, role=32) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999/proxy-tree-node.cpp:71
#8  0x000000000043fa46 in GroupsModel::data (this=<value optimized out>, index=<value optimized out>, role=32) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999/groups-model.cpp:100
#9  0x00007f1b51dd8c34 in QSortFilterProxyModel::data (this=<value optimized out>, index=..., role=32) at itemviews/qsortfilterproxymodel.cpp:1715
#10 0x000000000041f20b in data (this=0x8ce020, option=..., index=...) at /usr/include/qt4/QtCore/qabstractitemmodel.h:398
#11 ContactDelegateCompact::sizeHint (this=0x8ce020, option=..., index=...) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999/contact-delegate-compact.cpp:158
#12 0x00007f1b51d96448 in QTreeView::indexRowSizeHint (this=<value optimized out>, index=<value optimized out>) at itemviews/qtreeview.cpp:2801
#13 0x00007f1b51d96819 in QTreeViewPrivate::itemHeight (this=0xa50250, item=4) at itemviews/qtreeview.cpp:3229
#14 0x00007f1b51d96a4c in QTreeViewPrivate::updateScrollBars (this=0xa50250) at itemviews/qtreeview.cpp:3452
#15 0x00007f1b51d96e43 in QTreeView::updateGeometries (this=0x8dec50) at itemviews/qtreeview.cpp:2686
#16 0x00007f1b51d52bc1 in QAbstractItemView::doItemsLayout (this=0x8dec50) at itemviews/qabstractitemview.cpp:1148
#17 0x00007f1b51d9a95f in QTreeView::doItemsLayout (this=0x8dec50) at itemviews/qtreeview.cpp:2027
#18 0x00007f1b51d96b43 in QTreeViewPrivate::updateScrollBars (this=0xa50250) at itemviews/qtreeview.cpp:3439
#19 0x00007f1b51d9f0dd in QTreeView::scrollTo (this=0x8dec50, index=..., hint=QAbstractItemView::EnsureVisible) at itemviews/qtreeview.cpp:1088
#20 0x00007f1b51d59c7b in QAbstractItemView::currentChanged (this=0x8dec50, current=..., previous=<value optimized out>) at itemviews/qabstractitemview.cpp:3413
#21 0x00007f1b51d91c70 in QTreeView::currentChanged (this=0x8dec50, current=..., previous=...) at itemviews/qtreeview.cpp:3706
#22 0x00007f1b51d5bdf3 in QAbstractItemView::qt_metacall (this=0x8dec50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffad163810) at .moc/release-shared/moc_qabstractitemview.cpp:238
#23 0x00007f1b51d9f909 in QTreeView::qt_metacall (this=0x7fffad162fd0, _c=12416672, _id=32, _a=0x20) at .moc/release-shared/moc_qtreeview.cpp:119
#24 0x00007f1b52474b31 in QMetaObject::activate (sender=0xba42d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x20) at kernel/qobject.cpp:3278
#25 0x00007f1b51da701c in QItemSelectionModel::currentChanged (this=0x7fffad162fd0, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#26 0x00007f1b51da712d in QItemSelectionModel::setCurrentIndex (this=0xba42d0, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1169
#27 0x00007f1b51d59d8c in QAbstractItemView::setCurrentIndex (this=0x8dec50, index=...) at itemviews/qabstractitemview.cpp:1016
#28 0x00007f1b51d5ad45 in QAbstractItemView::rowsAboutToBeRemoved (this=0x8dec50, parent=<value optimized out>, start=0, end=<value optimized out>) at itemviews/qabstractitemview.cpp:3238
#29 0x00007f1b51d9141d in QTreeView::rowsAboutToBeRemoved (this=0x7fffad162fd0, parent=..., start=32, end=32) at itemviews/qtreeview.cpp:2492
#30 0x00007f1b51d5bdbf in QAbstractItemView::qt_metacall (this=0x8dec50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffad163d40) at .moc/release-shared/moc_qabstractitemview.cpp:236
#31 0x00007f1b51d9f909 in QTreeView::qt_metacall (this=0x7fffad162fd0, _c=12416672, _id=32, _a=0x20) at .moc/release-shared/moc_qtreeview.cpp:119
#32 0x00007f1b52474b31 in QMetaObject::activate (sender=0x8afe50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x20) at kernel/qobject.cpp:3278
#33 0x00007f1b524b9218 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x7fffad162fd0, _t1=<value optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#34 0x00007f1b52457144 in QAbstractItemModel::beginRemoveRows (this=0x8afe50, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2449
#35 0x00007f1b51ddb1fe in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0xba2d10, source_to_proxy=<value optimized out>, proxy_to_source=..., proxy_start=0, proxy_end=0, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:555
#36 0x00007f1b51ddeb6a in QSortFilterProxyModelPrivate::remove_source_items (this=0xba2d10, source_to_proxy=..., proxy_to_source=<value optimized out>, source_items=<value optimized out>, source_parent=<value optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:537
#37 0x00007f1b51dded7a in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0xba2d10, source_parent=<value optimized out>, start=1, end=1, orient=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:838
#38 0x00007f1b51de1585 in QSortFilterProxyModel::qt_metacall (this=0x8afe50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffad1640d0) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:136
#39 0x0000000000428451 in AccountFilterModel::qt_metacall (this=0x7fffad162fd0, _c=12416672, _id=32, _a=0x20) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999_build/account-filter-model.moc:73
#40 0x00007f1b52474b31 in QMetaObject::activate (sender=0xba2620, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x20) at kernel/qobject.cpp:3278
#41 0x00007f1b524b9218 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x7fffad162fd0, _t1=<value optimized out>, _t2=1, _t3=1) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#42 0x00007f1b52457144 in QAbstractItemModel::beginRemoveRows (this=0xba2620, parent=..., first=1, last=1) at kernel/qabstractitemmodel.cpp:2449
#43 0x000000000043fdfb in GroupsModel::onItemsRemoved (this=0xba2620, parent=0xbedc00, first=1, last=1) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999/groups-model.cpp:176
#44 0x00000000004180c4 in GroupsModel::qt_metacall (this=0xba2620, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffad164310) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999_build/moc_groups-model.cpp:96
#45 0x00007f1b52474b31 in QMetaObject::activate (sender=0xba2730, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x20) at kernel/qobject.cpp:3278
#46 0x000000000042996a in TreeNode::childrenRemoved (this=0x7fffad162fd0, _t1=0xbedc00, _t2=1, _t3=1) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999_build/tree-node.moc:109
#47 0x0000000000429a57 in TreeNode::qt_metacall (this=0xba2730, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffad164460) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999_build/tree-node.moc:82
#48 0x00007f1b52474b31 in QMetaObject::activate (sender=0xbedc00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x20) at kernel/qobject.cpp:3278
#49 0x000000000042996a in TreeNode::childrenRemoved (this=0x7fffad162fd0, _t1=0xbedc00, _t2=1, _t3=1) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999_build/tree-node.moc:109
#50 0x0000000000429a57 in TreeNode::qt_metacall (this=0xbedc00, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffad1645f0) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999_build/tree-node.moc:82
#51 0x0000000000418159 in GroupsModelItem::qt_metacall (this=0x7fffad162fd0, _c=12416672, _id=32, _a=0x20) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999_build/moc_groups-model-item.cpp:69
#52 0x00007f1b52474b31 in QMetaObject::activate (sender=0xbe4490, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x20) at kernel/qobject.cpp:3278
#53 0x000000000042996a in TreeNode::childrenRemoved (this=0x7fffad162fd0, _t1=0xbedc00, _t2=1, _t3=1) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999_build/tree-node.moc:109
#54 0x0000000000441fd8 in ProxyTreeNode::onSourceNodeRemoved (this=0xbe4490) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999/proxy-tree-node.cpp:82
#55 0x00000000004183a2 in ProxyTreeNode::qt_metacall (this=0xbe4490, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffad164760) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999_build/moc_proxy-tree-node.cpp:81
#56 0x00007f1b52474b31 in QMetaObject::activate (sender=0xbd76a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x20) at kernel/qobject.cpp:3278
#57 0x00007f1b52475055 in QObject::destroyed (this=0x7fffad162fd0, _t1=0xbd76a0) at .moc/release-shared/moc_qobject.cpp:149
#58 0x00007f1b52475f58 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:843
#59 0x0000000000428dd0 in ContactModelItem::~ContactModelItem (this=0xbd76a0, __in_chrg=<value optimized out>) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999/contact-model-item.cpp:83
#60 0x00007f1b5246f295 in QObject::event (this=0xbd76a0, e=0xbd76a0) at kernel/qobject.cpp:1200
#61 0x00007f1b51886b85 in QApplicationPrivate::notify_helper (this=0x68b480, receiver=0xbd76a0, e=0x83f130) at kernel/qapplication.cpp:4462
#62 0x00007f1b5188b7a2 in QApplication::notify (this=0x7fffad165260, receiver=0xbd76a0, e=0x83f130) at kernel/qapplication.cpp:4341
#63 0x00007f1b53847a00 in KApplication::notify (this=0x7fffad165260, receiver=0xbd76a0, event=0x83f130) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r2/work/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#64 0x00007f1b5245eeae in QCoreApplication::notifyInternal (this=0x7fffad165260, receiver=0xbd76a0, event=0x83f130) at kernel/qcoreapplication.cpp:731
#65 0x00007f1b52461a74 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x65d5e0) at kernel/qcoreapplication.h:215
#66 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x65d5e0) at kernel/qcoreapplication.cpp:1372
#67 0x00007f1b5248734e in sendPostedEvents (s=0x68ddc0) at kernel/qcoreapplication.h:220
#68 postEventSourceDispatch (s=0x68ddc0) at kernel/qeventdispatcher_glib.cpp:277
#69 0x00007f1b4cffb83c in g_main_dispatch (context=0x68dce0) at gmain.c:2440
#70 g_main_context_dispatch (context=0x68dce0) at gmain.c:3013
#71 0x00007f1b4cfff511 in g_main_context_iterate (context=0x68dce0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3091
#72 0x00007f1b4cfff6ce in g_main_context_iteration (context=0x68dce0, may_block=1) at gmain.c:3154
#73 0x00007f1b52486f52 in QEventDispatcherGlib::processEvents (this=0x65cdc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#74 0x00007f1b519298d2 in QGuiEventDispatcherGlib::processEvents (this=0x7fffad162fd0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007f1b5245dee2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#76 0x00007f1b5245e241 in QEventLoop::exec (this=0x7fffad1651b0, flags=) at kernel/qeventloop.cpp:201
#77 0x00007f1b52461cb7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#78 0x000000000042cf48 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/net-im/telepathy-contact-list-9999/work/telepathy-contact-list-9999/main.cpp:60

Reported using DrKonqi
Comment 1 Elias Probst 2011-06-08 16:02:26 UTC
I think I found the way now to reproduce this crash.

→ Open Empathy + connect your accounts
→ Open a chatwindow of one of your contacts in Empathy
→ Open KDE Telepathy Contact List
→ Doubleclick on the same contact, you have already opened an Empathy chatwindow for
→ Quit Empathy
→ KDE Telepathy Contact List crashes
Comment 2 Elias Probst 2011-06-08 16:04:17 UTC
One special thing here:
When doubleclicking the contact in the KDE Telepathy Contact List, you have already opened a chatwindow in Empathy for, the Empathy chatwindow is raised in foreground and not a KDE chatwindow is displayed.

Maybe this happens by design, maybe this fact helps solving this crash - it's just for information :)
Comment 3 Elias Probst 2011-06-08 16:16:05 UTC
It seems this probably rises another interesting bug:
Although Empathy isn't started, Empathy's chatwindows are opened (by starting Empathy in the background) when clicking on a contact in the Telepathy KDE Contact List.

I don't know whether this is a bug or a feature. If it's a bug, I'll open a new report for it - I just need to know :)
Comment 4 Martin Klapetek 2011-06-08 21:30:25 UTC
"Empathy's chatwindows are opened"

That's not really a bug. It simply uses whatever handler is present (ie. it's the design). Although I thought this should not happen when the preferred handler is set (which KDE Contact list does). Please open a new bug on this one.
Comment 5 Martin Klapetek 2011-06-16 13:33:06 UTC

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