Bug 275742

Summary: Telepathy Contact List crashes when on switching from online to offline mode
Product: [Unmaintained] telepathy Reporter: Karan Pratap Singh <wizard.karan>
Component: contactlistAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: mklapetek
Priority: NOR    
Version: unspecified   
Target Milestone: 0.4.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Karan Pratap Singh 2011-06-15 18:00:07 UTC
Application: telepathy-kde-contactlist (0.1)
KDE Platform Version: 4.6.80 (4.7 Beta1) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.38-8-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

I was going offline and online successively, and then suddenly when I went offline, the contact list crashed.

I tried this again, and sometimes this happens and sometimes it doesn't, though one thing is sure, it always happens when I switch to offline mode.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Telepathy KDE Contact List (telepathy-kde-contactlist), signal: Segmentation fault
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0x08081e7e in ProxyTreeNode::data (this=0x9dd7eb8, role=32) at /home/kde-devel/kdesrc/telepathy-contact-list/proxy-tree-node.cpp:71
#9  0x08080413 in GroupsModel::data (this=0x9b64988, index=..., role=32) at /home/kde-devel/kdesrc/telepathy-contact-list/groups-model.cpp:100
#10 0xb6248763 in QSortFilterProxyModel::data (this=0x9a2c808, index=..., role=32) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qsortfilterproxymodel.cpp:1715
#11 0x0805c27f in QModelIndex::data (this=0xbfd30250, arole=32) at /home/kde-devel/qt4/include/QtCore/qabstractitemmodel.h:398
#12 0x08062557 in ContactDelegate::sizeHint (this=0x9a25f08, option=..., index=...) at /home/kde-devel/kdesrc/telepathy-contact-list/contact-delegate.cpp:180
#13 0xb61fe359 in QTreeView::indexRowSizeHint (this=0x99f74c8, index=...) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qtreeview.cpp:2801
#14 0xb6200344 in QTreeViewPrivate::itemHeight (this=0x9b5ef70, item=1) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qtreeview.cpp:3229
#15 0xb6200f6b in QTreeViewPrivate::updateScrollBars (this=0x9b5ef70) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qtreeview.cpp:3452
#16 0xb61fdba0 in QTreeView::updateGeometries (this=0x99f74c8) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qtreeview.cpp:2686
#17 0xb61b1e37 in QAbstractItemView::doItemsLayout (this=0x99f74c8) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1139
#18 0xb61faee5 in QTreeView::doItemsLayout (this=0x99f74c8) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qtreeview.cpp:2027
#19 0xb6200ec2 in QTreeViewPrivate::updateScrollBars (this=0x9b5ef70) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qtreeview.cpp:3439
#20 0xb61f6a4c in QTreeView::scrollTo (this=0x99f74c8, index=..., hint=QAbstractItemView::EnsureVisible) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qtreeview.cpp:1088
#21 0xb61bab1e in QAbstractItemView::currentChanged (this=0x99f74c8, current=..., previous=...) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qabstractitemview.cpp:3404
#22 0xb6202778 in QTreeView::currentChanged (this=0x99f74c8, current=..., previous=...) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qtreeview.cpp:3706
#23 0xb61be3ee in QAbstractItemView::qt_metacall (this=0x99f74c8, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfd308e4) at .moc/debug-shared/moc_qabstractitemview.cpp:238
#24 0xb6202b7c in QTreeView::qt_metacall (this=0x99f74c8, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0xbfd308e4) at .moc/debug-shared/moc_qtreeview.cpp:119
#25 0xb683bbd4 in QMetaObject::metacall (object=0x99f74c8, cl=QMetaObject::InvokeMetaMethod, idx=51, argv=0xbfd308e4) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#26 0xb684ebcf in QMetaObject::activate (sender=0x9ba9290, m=0xb6667f74, local_signal_index=1, argv=0xbfd308e4) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qobject.cpp:3280
#27 0xb62148a1 in QItemSelectionModel::currentChanged (this=0x9ba9290, _t1=..., _t2=...) at .moc/debug-shared/moc_qitemselectionmodel.cpp:159
#28 0xb6211f08 in QItemSelectionModel::setCurrentIndex (this=0x9ba9290, index=..., command=...) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qitemselectionmodel.cpp:1156
#29 0xb61b17e0 in QAbstractItemView::setCurrentIndex (this=0x99f74c8, index=...) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1007
#30 0xb61b9f1e in QAbstractItemView::rowsAboutToBeRemoved (this=0x99f74c8, parent=..., start=0, end=0) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qabstractitemview.cpp:3229
#31 0xb61fd116 in QTreeView::rowsAboutToBeRemoved (this=0x99f74c8, parent=..., start=0, end=0) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qtreeview.cpp:2492
#32 0xb61be388 in QAbstractItemView::qt_metacall (this=0x99f74c8, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0xbfd30ca0) at .moc/debug-shared/moc_qabstractitemview.cpp:236
#33 0xb6202b7c in QTreeView::qt_metacall (this=0x99f74c8, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfd30ca0) at .moc/debug-shared/moc_qtreeview.cpp:119
#34 0xb683bbd4 in QMetaObject::metacall (object=0x99f74c8, cl=QMetaObject::InvokeMetaMethod, idx=49, argv=0xbfd30ca0) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#35 0xb684ebcf in QMetaObject::activate (sender=0x9a2c808, m=0x80941e0, local_signal_index=6, argv=0xbfd30ca0) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qobject.cpp:3280
#36 0xb68a6366 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x9a2c808, _t1=..., _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:188
#37 0xb6829cdd in QAbstractItemModel::beginRemoveRows (this=0x9a2c808, parent=..., first=0, last=0) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qabstractitemmodel.cpp:2450
#38 0xb62446b8 in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x9c3fc58, source_to_proxy=..., proxy_to_source=..., proxy_start=0, proxy_end=0, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qsortfilterproxymodel.cpp:555
#39 0xb6244601 in QSortFilterProxyModelPrivate::remove_source_items (this=0x9c3fc58, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qsortfilterproxymodel.cpp:537
#40 0xb624574b in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x9c3fc58, source_parent=..., start=25, end=25, orient=Qt::Vertical) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qsortfilterproxymodel.cpp:838
#41 0xb62473e4 in QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeRemoved (this=0x9c3fc58, source_parent=..., start=25, end=25) at /home/kde-devel/kdesrc/qt-copy/src/gui/itemviews/qsortfilterproxymodel.cpp:1288
#42 0xb624b335 in QSortFilterProxyModel::qt_metacall (this=0x9a2c808, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfd30fb0) at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:136
#43 0x0806960c in AccountFilterModel::qt_metacall (this=0x9a2c808, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0xbfd30fb0) at /home/kde-devel/kdesrc/build/telepathy-contact-list/account-filter-model.moc:73
#44 0xb683bbd4 in QMetaObject::metacall (object=0x9a2c808, cl=QMetaObject::InvokeMetaMethod, idx=38, argv=0xbfd30fb0) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#45 0xb684ebcf in QMetaObject::activate (sender=0x9b64988, m=0x80941e0, local_signal_index=6, argv=0xbfd30fb0) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qobject.cpp:3280
#46 0xb68a6366 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x9b64988, _t1=..., _t2=25, _t3=25) at .moc/debug-shared/moc_qabstractitemmodel.cpp:188
#47 0xb6829cdd in QAbstractItemModel::beginRemoveRows (this=0x9b64988, parent=..., first=25, last=25) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qabstractitemmodel.cpp:2450
#48 0x08080a5e in GroupsModel::onItemsRemoved (this=0x9b64988, parent=0x9d44480, first=25, last=25) at /home/kde-devel/kdesrc/telepathy-contact-list/groups-model.cpp:189
#49 0x08059e31 in GroupsModel::qt_metacall (this=0x9b64988, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd31150) at /home/kde-devel/kdesrc/build/telepathy-contact-list/moc_groups-model.cpp:96
#50 0xb683bbd4 in QMetaObject::metacall (object=0x9b64988, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfd31150) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#51 0xb684ebcf in QMetaObject::activate (sender=0x9a0a370, m=0x8088770, local_signal_index=2, argv=0xbfd31150) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qobject.cpp:3280
#52 0x0806b3bc in TreeNode::childrenRemoved (this=0x9a0a370, _t1=0x9d44480, _t2=25, _t3=25) at /home/kde-devel/kdesrc/build/telepathy-contact-list/tree-node.moc:109
#53 0x0806b2bd in TreeNode::qt_metacall (this=0x9a0a370, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd31250) at /home/kde-devel/kdesrc/build/telepathy-contact-list/tree-node.moc:82
#54 0xb683bbd4 in QMetaObject::metacall (object=0x9a0a370, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfd31250) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#55 0xb684ebcf in QMetaObject::activate (sender=0x9d44480, m=0x8088770, local_signal_index=2, argv=0xbfd31250) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qobject.cpp:3280
#56 0x0806b3bc in TreeNode::childrenRemoved (this=0x9d44480, _t1=0x9d44480, _t2=25, _t3=25) at /home/kde-devel/kdesrc/build/telepathy-contact-list/tree-node.moc:109
#57 0x0806b2bd in TreeNode::qt_metacall (this=0x9d44480, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd31380) at /home/kde-devel/kdesrc/build/telepathy-contact-list/tree-node.moc:82
#58 0x08059c34 in GroupsModelItem::qt_metacall (this=0x9d44480, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfd31380) at /home/kde-devel/kdesrc/build/telepathy-contact-list/moc_groups-model-item.cpp:69
#59 0xb683bbd4 in QMetaObject::metacall (object=0x9d44480, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfd31380) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#60 0xb684ebcf in QMetaObject::activate (sender=0x9dd7eb8, m=0x8088770, local_signal_index=2, argv=0xbfd31380) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qobject.cpp:3280
#61 0x0806b3bc in TreeNode::childrenRemoved (this=0x9dd7eb8, _t1=0x9d44480, _t2=25, _t3=25) at /home/kde-devel/kdesrc/build/telepathy-contact-list/tree-node.moc:109
#62 0x08081ee8 in ProxyTreeNode::onSourceNodeRemoved (this=0x9dd7eb8) at /home/kde-devel/kdesrc/telepathy-contact-list/proxy-tree-node.cpp:82
#63 0x08059fe0 in ProxyTreeNode::qt_metacall (this=0x9dd7eb8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd314b8) at /home/kde-devel/kdesrc/build/telepathy-contact-list/moc_proxy-tree-node.cpp:81
#64 0xb683bbd4 in QMetaObject::metacall (object=0x9dd7eb8, cl=QMetaObject::InvokeMetaMethod, idx=10, argv=0xbfd314b8) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#65 0xb684ebcf in QMetaObject::activate (sender=0x9d44870, m=0x8093e50, local_signal_index=0, argv=0xbfd314b8) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qobject.cpp:3280
#66 0xb68503e0 in QObject::destroyed (this=0x9d44870, _t1=0x9d44870) at .moc/debug-shared/moc_qobject.cpp:149
#67 0xb684a4fc in QObject::~QObject (this=0x9d44870, __in_chrg=<value optimized out>) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qobject.cpp:842
#68 0x0806ae97 in TreeNode::~TreeNode (this=0x9d44870, __in_chrg=<value optimized out>) at /home/kde-devel/kdesrc/telepathy-contact-list/tree-node.cpp:47
#69 0x08069bcf in ContactModelItem::~ContactModelItem (this=0x9d44870, __in_chrg=<value optimized out>) at /home/kde-devel/kdesrc/telepathy-contact-list/contact-model-item.cpp:80
#70 0x08069bfd in ContactModelItem::~ContactModelItem (this=0x9d44870, __in_chrg=<value optimized out>) at /home/kde-devel/kdesrc/telepathy-contact-list/contact-model-item.cpp:83
#71 0xb6850080 in qDeleteInEventHandler (o=0x9d44870) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qobject.cpp:3988
#72 0xb684ad38 in QObject::event (this=0x9d44870, e=0x9dccbc8) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qobject.cpp:1202
#73 0xb5bd210a in QApplicationPrivate::notify_helper (this=0x9915660, receiver=0x9d44870, e=0x9dccbc8) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication.cpp:4445
#74 0xb5bcfa61 in QApplication::notify (this=0xbfd31e14, receiver=0x9d44870, e=0x9dccbc8) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication.cpp:3845
#75 0xb733178a in KApplication::notify (this=0xbfd31e14, receiver=0x9d44870, event=0x9dccbc8) at /home/kde-devel/kdesrc/kdelibs/kdeui/kernel/kapplication.cpp:311
#76 0xb68343ec in QCoreApplication::notifyInternal (this=0xbfd31e14, receiver=0x9d44870, event=0x9dccbc8) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qcoreapplication.cpp:732
#77 0xb6837d73 in QCoreApplication::sendEvent (receiver=0x9d44870, event=0x9dccbc8) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#78 0xb6835484 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x98da8c0) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1373
#79 0xb6835141 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1266
#80 0xb68690ec in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:220
#81 0xb686826a in postEventSourceDispatch (s=0x9918300) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#82 0xb52cbaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#83 0xb52cc270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#84 0xb52cc524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#85 0xb6868a14 in QEventDispatcherGlib::processEvents (this=0x98da370, flags=...) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#86 0xb5c9b81e in QGuiEventDispatcherGlib::processEvents (this=0x98da370, flags=...) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#87 0xb6832161 in QEventLoop::processEvents (this=0xbfd31d9c, flags=...) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#88 0xb68322a5 in QEventLoop::exec (this=0xbfd31d9c, flags=...) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#89 0xb6834ad6 in QCoreApplication::exec () at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1009
#90 0xb5bcf6a8 in QApplication::exec () at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication.cpp:3719
#91 0x0806f14a in main (argc=1, argv=0xbfd31f54) at /home/kde-devel/kdesrc/telepathy-contact-list/main.cpp:60

Possible duplicates by query: bug 275262, bug 275214, bug 275075.

Reported using DrKonqi
Comment 1 Martin Klapetek 2011-06-15 18:13:56 UTC

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