Bug 205434 - Kontact crashed when sync'ing akonadi kolab resource (assert, QSortFilterProxyModelPrivate::source_items_removed, Akonadi::EntityFilterProxyModel::qt_metacall)
Summary: Kontact crashed when sync'ing akonadi kolab resource (assert, QSortFilterProx...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-28 01:54 UTC by Sabine Faure
Modified: 2017-01-07 22:37 UTC (History)
1 user (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 Sabine Faure 2009-08-28 01:54:11 UTC
Application: kontact (4.4 pre)
KDE Version: 4.3.65 (KDE 4.3.65 (KDE 4.4 >= 20090820)) (Compiled from sources)
Qt Version: 4.5.2
Operating System: Linux 2.6.27-9-generic i686
Distribution: Ubuntu 8.10

What I was doing when the application crashed:
In akonadiconsole, David clicked on "Sync all", and while it was sync'ing the kolab resource, kontact crashed.

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[KCrash Handler]
#6  0xb80a8430 in __kernel_vsyscall ()
#7  0xb55f18a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb55f3268 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6333533 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xa41f310 "ASSERT failure in QVector<T>::remove: \"index out of range\", file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 349") at global/qglobal.cpp:2042
#10 0xb63335aa in qFatal (msg=0xb6489938 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2241
#11 0xb6333601 in qt_assert_x (where=0xb60a63b3 "QVector<T>::remove", what=0xb60a635c "index out of range", file=0xb60a637c "../../include/QtCore/../../src/corelib/tools/qvector.h", line=349)
    at global/qglobal.cpp:1819
#12 0xb5c6f4b8 in QVector<int>::remove (this=0xa1bcd50, i=3, n=-2) at ../../include/QtCore/../../src/corelib/tools/qvector.h:349
#13 0xb5fc76a9 in QSortFilterProxyModelPrivate::source_items_removed (this=0xa1f6df8, source_parent=@0xbffa7788, start=3, end=0, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:784
#14 0xb5fc7946 in QSortFilterProxyModelPrivate::_q_sourceRowsRemoved (this=0xa1f6df8, source_parent=@0xbffa7788, start=3, end=3) at itemviews/qsortfilterproxymodel.cpp:1188
#15 0xb5fc96c0 in QSortFilterProxyModel::qt_metacall (this=0xa1f6de0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbffa7754) at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:128
#16 0xb7374db2 in Akonadi::EntityFilterProxyModel::qt_metacall (this=0xa1f6de0, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbffa7754)
    at /d/kde/build/t/kdepimlibs/akonadi/entityfilterproxymodel.moc:58
#17 0xb644a8d5 in QMetaObject::activate (sender=0xa210e50, from_signal_index=11, to_signal_index=11, argv=0xbffa7754) at kernel/qobject.cpp:3109
#18 0xb644bd4f in QMetaObject::activate (sender=0xa210e50, m=0xb64f04f8, local_signal_index=7, argv=0xbffa7754) at kernel/qobject.cpp:3186
#19 0xb6487c2a in QAbstractItemModel::rowsRemoved (this=0xa210e50, _t1=@0xbffa7788, _t2=3, _t3=3) at .moc/debug-shared/moc_qabstractitemmodel.cpp:173
#20 0xb642ab3e in QAbstractItemModel::endRemoveRows (this=0xa210e50) at kernel/qabstractitemmodel.cpp:2131
#21 0xb736e168 in Akonadi::EntityTreeModelPrivate::monitoredItemRemoved (this=0xa211310, item=@0xbffa79f0) at /d/kde/src/t/kdepimlibs/akonadi/entitytreemodel_p.cpp:571
#22 0xb7366b35 in Akonadi::EntityTreeModel::qt_metacall (this=0xa210e50, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbffa798c) at /d/kde/build/t/kdepimlibs/akonadi/entitytreemodel.moc:122
#23 0xb16bc34c in Akonadi::ContactsTreeModel::qt_metacall (this=0xa210e50, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbffa798c) at /d/kde/build/t/kdepim/kaddressbook/contactstreemodel.moc:58
#24 0xb644a8d5 in QMetaObject::activate (sender=0xa1f74a8, from_signal_index=7, to_signal_index=7, argv=0xbffa798c) at kernel/qobject.cpp:3109
#25 0xb644bd4f in QMetaObject::activate (sender=0xa1f74a8, m=0xb7438798, local_signal_index=3, argv=0xbffa798c) at kernel/qobject.cpp:3186
#26 0xb73ab7f3 in Akonadi::Monitor::itemRemoved (this=0xa1f74a8, _t1=@0xbffa79f0) at /d/kde/build/t/kdepimlibs/akonadi/monitor.moc:171
#27 0xb73ae48d in Akonadi::MonitorPrivate::emitItemNotification (this=0xa2108a0, msg=@0xbffa7acc, item=@0xbffa7a68, collection=@0xbffa7a78, collectionDest=@0xbffa7a74)
    at /d/kde/src/t/kdepimlibs/akonadi/monitor_p.cpp:254
#28 0xb73ae9f1 in Akonadi::MonitorPrivate::emitNotification (this=0xa2108a0, msg=@0xbffa7acc) at /d/kde/src/t/kdepimlibs/akonadi/monitor_p.cpp:145
#29 0xb73aebd7 in Akonadi::MonitorPrivate::dispatchNotifications (this=0xa2108a0) at /d/kde/src/t/kdepimlibs/akonadi/monitor_p.cpp:105
#30 0xb73aed38 in Akonadi::MonitorPrivate::dataAvailable (this=0xa2108a0) at /d/kde/src/t/kdepimlibs/akonadi/monitor_p.cpp:160
#31 0xb73ab979 in Akonadi::Monitor::qt_metacall (this=0xa1f74a8, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbffa7bfc) at /d/kde/build/t/kdepimlibs/akonadi/monitor.moc:138
#32 0xb644a8d5 in QMetaObject::activate (sender=0xa2108dc, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3109
#33 0xb644bd4f in QMetaObject::activate (sender=0xa2108dc, m=0xb7437368, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#34 0xb7365817 in Akonadi::EntityCacheBase::dataAvailable (this=0xa2108dc) at /d/kde/build/t/kdepimlibs/akonadi/entitycache_p.moc:82
#35 0xb7334750 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult (this=0xa2108dc, job=0xa481688)
    at /d/kde/src/t/kdepimlibs/akonadi/entitycache_p.h:181
#36 0xb736588c in Akonadi::EntityCacheBase::qt_metacall (this=0xa2108dc, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbffa7dfc) at /d/kde/build/t/kdepimlibs/akonadi/entitycache_p.moc:71
#37 0xb644a8d5 in QMetaObject::activate (sender=0xa481688, from_signal_index=7, to_signal_index=7, argv=0xbffa7dfc) at kernel/qobject.cpp:3109
#38 0xb644bd4f in QMetaObject::activate (sender=0xa481688, m=0xb6771da8, local_signal_index=3, argv=0xbffa7dfc) at kernel/qobject.cpp:3186
#39 0xb662f94c in KJob::result (this=0xa481688, _t1=0xa481688) at /d/kde/build/t/kdelibs/kdecore/kjob.moc:188
#40 0xb662feb1 in KJob::emitResult (this=0xa481688) at /d/kde/src/t/kdelibs/kdecore/jobs/kjob.cpp:304
#41 0xb73a6457 in Akonadi::JobPrivate::handleResponse (this=0xa37da60, tag=@0xbffa7f08, data=@0xbffa7f04) at /d/kde/src/t/kdepimlibs/akonadi/job.cpp:67
#42 0xb73cfe92 in Akonadi::SessionPrivate::dataReceived (this=0xa222e48) at /d/kde/src/t/kdepimlibs/akonadi/session.cpp:121
#43 0xb73d073e in Akonadi::Session::qt_metacall (this=0xa21ef88, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbffa800c) at /d/kde/build/t/kdepimlibs/akonadi/session.moc:81
#44 0xb644a8d5 in QMetaObject::activate (sender=0x9869288, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3109
#45 0xb644bd4f in QMetaObject::activate (sender=0x9869288, m=0xb64f0028, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#46 0xb6486bb9 in QIODevice::readyRead (this=0x9869288) at .moc/debug-shared/moc_qiodevice.cpp:85
#47 0xb6486c3c in QIODevice::qt_metacall (this=0x9869288, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbffa814c) at .moc/debug-shared/moc_qiodevice.cpp:71
#48 0xb625709b in QLocalSocket::qt_metacall (this=0x9869288, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbffa814c) at .moc/debug-shared/moc_qlocalsocket.cpp:75
#49 0xb644a8d5 in QMetaObject::activate (sender=0xa2c7a34, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3109
#50 0xb644bd4f in QMetaObject::activate (sender=0xa2c7a34, m=0xb64f0028, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#51 0xb6486bb9 in QIODevice::readyRead (this=0xa2c7a34) at .moc/debug-shared/moc_qiodevice.cpp:85
#52 0xb6251802 in QAbstractSocketPrivate::canReadNotification (this=0xa2c7ec8) at socket/qabstractsocket.cpp:604
#53 0xb62541c9 in QAbstractSocketPrivate::readNotification (this=0xa2c7ec8) at socket/qabstractsocket_p.h:77
#54 0xb623fc41 in QAbstractSocketEngine::readNotification (this=0xa22ca68) at socket/qabstractsocketengine.cpp:154
#55 0xb6241101 in QReadNotifier::event (this=0xa221e40, e=0xbffa85f8) at socket/qnativesocketengine.cpp:1036
#56 0xb59bfab1 in QApplicationPrivate::notify_helper (this=0x95df168, receiver=0xa221e40, e=0xbffa85f8) at kernel/qapplication.cpp:4056
#57 0xb59bfe26 in QApplication::notify (this=0xbffa8874, receiver=0xa221e40, e=0xbffa85f8) at kernel/qapplication.cpp:3603
#58 0xb69a2e0b in KApplication::notify (this=0xbffa8874, receiver=0xa221e40, event=0xbffa85f8) at /d/kde/src/t/kdelibs/kdeui/kernel/kapplication.cpp:302
#59 0xb6434309 in QCoreApplication::notifyInternal (this=0xbffa8874, receiver=0xa221e40, event=0xbffa85f8) at kernel/qcoreapplication.cpp:606
#60 0xb70f3951 in QCoreApplication::sendEvent () from /d/qt/4/kde-qt/lib/libQt3Support.so.4
#61 0xb64641b0 in socketNotifierSourceDispatch (source=0x95e5710) at kernel/qeventdispatcher_glib.cpp:110
#62 0xb4c0b718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#63 0xb4c0edc3 in ?? () from /usr/lib/libglib-2.0.so.0
#64 0xb4c0ef81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#65 0xb6463212 in QEventDispatcherGlib::processEvents (this=0x95dd388, flags={i = -1074100396}) at kernel/qeventdispatcher_glib.cpp:327
#66 0xb5a6ebc0 in QGuiEventDispatcherGlib::processEvents (this=0x95dd388, flags={i = -1074100348}) at kernel/qguieventdispatcher_glib.cpp:202
#67 0xb6431324 in QEventLoop::processEvents (this=0xbffa8810, flags={i = -1074100276}) at kernel/qeventloop.cpp:149
#68 0xb6431595 in QEventLoop::exec (this=0xbffa8810, flags={i = -1074100200}) at kernel/qeventloop.cpp:197
#69 0xb6434ae1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#70 0xb59bf7ca in QApplication::exec () at kernel/qapplication.cpp:3525
#71 0x0804bb29 in main (argc=) at /d/kde/src/t/kdepim/kontact/src/main.cpp:222

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:25:40 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:37:08 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.