[Bug 225570] New: ASSERT: "row >= 0" when deleting messages

Christophe Giboudeaux cgiboudeaux at gmail.com
Fri Feb 5 01:01:21 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=225570

           Summary: ASSERT: "row >= 0" when deleting messages
           Product: Akonadi
           Version: 4.5
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: libakonadi
        AssignedTo: vkrause at kde.org
        ReportedBy: cgiboudeaux at gmail.com
                CC: kdepim-bugs at kde.org


using trunk (r1085248)

I can't reliably reproduce the crash. I was just deleting the selected messages
from my inbox folder. 

kmail(5566)/libakonadi Akonadi::EntityTreeModelPrivate::monitoredItemMoved: Got
a stale notification for an item which was already removed. 2
"{02c54ae0-718f-4e55-bce5-9d0dd8e0f5d3}"
ASSERT: "row >= 0" in file /kde/src/KDE/kdepimlibs/akonadi/entitytreemodel.cpp,
line 559

Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0xb15db760 (LWP 5566))]

Thread 2 (Thread 0xaf8ebb70 (LWP 5574)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb56b1d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5b6127c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb378d947 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb378d98f in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb56ad6e5 in start_thread () from /lib/libpthread.so.0
#6  0xb56ad600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb15db760 (LWP 5566)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb5aac0cf in raise () from /lib/libc.so.6
#8  0xb5aad9e7 in abort () from /lib/libc.so.6
#9  0xb5d4b7f4 in qt_message_output (msgType=QtFatalMsg, buf=0x6 <Address 0x6
out of bounds>) at global/qglobal.cpp:2250
#10 0xb5d4ba13 in qt_message (msgType=QtFatalMsg, msg=0xb5ec7bbc "ASSERT:
\"%s\" in file %s, line %d", ap=0xbfb179d4
"\331\340\265\266\330\335\265\266/\002") at global/qglobal.cpp:2296
#11 0xb5d4bb38 in qFatal (msg=0xb5ec7bbc "ASSERT: \"%s\" in file %s, line %d")
at global/qglobal.cpp:2479
#12 0xb5d4bbb5 in qt_assert (assertion=0xb6b5e0d9 "row >= 0", file=0xb6b5ddd8
"/kde/src/KDE/kdepimlibs/akonadi/entitytreemodel.cpp", line=559) at
global/qglobal.cpp:2013
#13 0xb6aabdb2 in Akonadi::EntityTreeModel::parent (this=0x8370bf0, index=...)
at /kde/src/KDE/kdepimlibs/akonadi/entitytreemodel.cpp:559
#14 0xb66deff7 in parent (this=<value optimized out>) at
../../src/corelib/kernel/qabstractitemmodel.h:389
#15 QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=<value optimized
out>) at itemviews/qsortfilterproxymodel.cpp:1064
#16 0xb66e0531 in QSortFilterProxyModel::qt_metacall (this=0x82d2948,
_c=InvokeMetaMethod, _id=5, _a=0xbfb17c94) at
.moc/release-shared/moc_qsortfilterproxymodel.cpp:128
#17 0xb6aa7497 in Akonadi::EntityMimeTypeFilterModel::qt_metacall
(this=0x82d2948, _c=InvokeMetaMethod, _id=30, _a=0xbfb17c94) at
/kde/build/KDE/kdepimlibs/akonadi/entitymimetypefiltermodel.moc:64
#18 0xb5e62f0d in QMetaObject::metacall (object=0x82d2948, cl=5566, idx=30,
argv=0xbfb17c94) at kernel/qmetaobject.cpp:237
#19 0xb5e71d3a in QMetaObject::activate (sender=0x8370bf0, m=0xb5f74198,
local_signal_index=0, argv=0xbfb17c94) at kernel/qobject.cpp:3285
#20 0xb5ec43bd in QAbstractItemModel::dataChanged (this=0x8370bf0, _t1=...,
_t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#21 0xb6ab7c6d in Akonadi::EntityTreeModelPrivate::dataChanged (this=0x83710e0,
top=..., bottom=...) at
/kde/src/KDE/kdepimlibs/akonadi/entitytreemodel_p.cpp:1134
#22 0xb6ab40d6 in
Akonadi::EntityTreeModelPrivate::monitoredCollectionStatisticsChanged
(this=0x83710e0, id=4, statistics=...) at
/kde/src/KDE/kdepimlibs/akonadi/entitytreemodel_p.cpp:626
#23 0xb6aae387 in Akonadi::EntityTreeModel::qt_metacall (this=0x8370bf0,
_c=InvokeMetaMethod, _id=0, _a=0xbfb17e84) at
/kde/build/KDE/kdepimlibs/akonadi/entitytreemodel.moc:115
#24 0xb5e62f0d in QMetaObject::metacall (object=0x8370bf0, cl=5566, idx=24,
argv=0xbfb17e84) at kernel/qmetaobject.cpp:237
#25 0xb5e71d3a in QMetaObject::activate (sender=0x8189d28, m=0xb6bdb3cc,
local_signal_index=11, argv=0xbfb17e84) at kernel/qobject.cpp:3285
#26 0xb6afd839 in Akonadi::Monitor::collectionStatisticsChanged
(this=0x8189d28, _t1=4, _t2=...) at
/kde/build/KDE/kdepimlibs/akonadi/monitor.moc:237
#27 0xb6affd28 in Akonadi::MonitorPrivate::slotStatisticsChangedFinished
(this=0x824cca8, job=0x8817a08) at
/kde/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:238
#28 0xb6afd34b in Akonadi::Monitor::qt_metacall (this=0x8189d28,
_c=InvokeMetaMethod, _id=18, _a=0xbfb18008) at
/kde/build/KDE/kdepimlibs/akonadi/monitor.moc:145
#29 0xb6a693e5 in Akonadi::ChangeRecorder::qt_metacall (this=0x8189d28,
_c=InvokeMetaMethod, _id=22, _a=0xbfb18008) at
/kde/build/KDE/kdepimlibs/akonadi/changerecorder.moc:72
#30 0xb5e62f0d in QMetaObject::metacall (object=0x8189d28, cl=5566, idx=22,
argv=0xbfb18008) at kernel/qmetaobject.cpp:237
#31 0xb5e71d3a in QMetaObject::activate (sender=0x8817a08, m=0xb72d5c48,
local_signal_index=3, argv=0xbfb18008) at kernel/qobject.cpp:3285
#32 0xb71238b5 in KJob::result (this=0x8817a08, _t1=0x8817a08) at
/usr/src/debug/kdelibs-4.4.62svn1084462/build/kdecore/kjob.moc:194
#33 0xb7123c88 in KJob::emitResult (this=0x8817a08) at
/usr/src/debug/kdelibs-4.4.62svn1084462/kdecore/jobs/kjob.cpp:312
#34 0xb6af0c25 in Akonadi::JobPrivate::delayedEmitResult (this=0x883cc20) at
/kde/src/KDE/kdepimlibs/akonadi/job.cpp:129
#35 0xb6af22a0 in Akonadi::Job::qt_metacall (this=0x8817a08,
_c=InvokeMetaMethod, _id=6, _a=0xbfb1813c) at
/kde/build/KDE/kdepimlibs/akonadi/job.moc:91
#36 0xb6a943db in Akonadi::CollectionStatisticsJob::qt_metacall
(this=0x8817a08, _c=InvokeMetaMethod, _id=34, _a=0xbfb1813c) at
/kde/build/KDE/kdepimlibs/akonadi/collectionstatisticsjob.moc:64
#37 0xb5e62f0d in QMetaObject::metacall (object=0x8817a08, cl=5566, idx=34,
argv=0xbfb1813c) at kernel/qmetaobject.cpp:237
#38 0xb5e71d3a in QMetaObject::activate (sender=0x873c980, m=0xb5f731a4,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3285
#39 0xb5e79a25 in QSingleShotTimer::timeout (this=0x873c980) at
.moc/release-shared/qtimer.moc:82
#40 0xb5e79b5c in QSingleShotTimer::timerEvent (this=0x873c980) at
kernel/qtimer.cpp:308
#41 0xb5e6e844 in QObject::event (this=0x873c980, e=0x6) at
kernel/qobject.cpp:1204
#42 0xb60a982c in QApplicationPrivate::notify_helper (this=0x8084df8,
receiver=0x873c980, e=0xbfb18694) at kernel/qapplication.cpp:4300
#43 0xb60b0678 in QApplication::notify (this=0xbfb18a08, receiver=0x873c980,
e=0xbfb18694) at kernel/qapplication.cpp:4183
#44 0xb74b28b1 in KApplication::notify (this=0xbfb18a08, receiver=0x873c980,
event=0xbfb18694) at
/usr/src/debug/kdelibs-4.4.62svn1084462/kdeui/kernel/kapplication.cpp:302
#45 0xb5e5db9e in QCoreApplication::notifyInternal (this=0xbfb18a08,
receiver=0x873c980, event=0xbfb18694) at kernel/qcoreapplication.cpp:704
#46 0xb5e8dd8e in sendEvent (event=<value optimized out>, receiver=<value
optimized out>) at kernel/qcoreapplication.h:215
#47 QTimerInfoList::activateTimers (event=<value optimized out>,
receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:617
#48 0xb5e8e48f in QEventDispatcherUNIX::processEvents (this=0x8058a68, flags=)
at kernel/qeventdispatcher_unix.cpp:938
#49 0xb616aaea in QEventDispatcherX11::processEvents (this=0x8058a68,
flags=...) at kernel/qeventdispatcher_x11.cpp:152
#50 0xb5e5c20d in QEventLoop::processEvents (this=0xbfb18904, flags=) at
kernel/qeventloop.cpp:149
#51 0xb5e5c659 in QEventLoop::exec (this=0xbfb18904, flags=...) at
kernel/qeventloop.cpp:201
#52 0xb5e607d0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#53 0xb60a98d4 in QApplication::exec () at kernel/qapplication.cpp:3579
#54 0x0804b1ba in main (argc=1, argv=0xbfb18b24) at
/kde/src/KDE/kdepim/kmail/main.cpp:154

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list