Bug 292146 - assert in kdepim/messagelist/core/model.cpp
Summary: assert in kdepim/messagelist/core/model.cpp
Status: RESOLVED DUPLICATE of bug 277053
Alias: None
Product: kmail2
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: 2012-01-21 23:57 UTC by Christian Mollekopf
Modified: 2012-08-18 11:28 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 Christian Mollekopf 2012-01-21 23:57:19 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.7.4 (4.7.4) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.1.9-2-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

Opened search, but thats probably unrelated.

assert: ASSERT: "job->currentIndex() <= job->endIndex()" in file /home/chrigi/devel/kde/kdepim/messagelist/core/model.cpp, line 4275


The imap resource crashed at the same time with the following bt:

#6  0x00007f6f0a06e935 in raise () from /lib/libc.so.6
#7  0x00007f6f0a06fdab in abort () from /lib/libc.so.6
#8  0x00007f6f0e47b4a4 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007f6f0e47b65f in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f6f0e47b804 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x00007f6f0eceb57c in Akonadi::ResourceBasePrivate::createItemSyncInstanceIfMissing (this=0x17a4710) at /home/chrigi/devel/kde/kdepimlibs/akonadi/resourcebase.cpp:154
#12 0x00007f6f0ece9a28 in Akonadi::ResourceBase::itemsRetrieved (this=0x17affd0, items=...) at /home/chrigi/devel/kde/kdepimlibs/akonadi/resourcebase.cpp:897
#13 0x0000000000421103 in ResourceState::itemsRetrieved (this=0x1641e60, items=...) at /home/chrigi/devel/kde/kdepim-runtime/resources/imap/resourcestate.cpp:331
#14 0x000000000044c759 in ResourceTask::itemsRetrieved (this=0x1667730, items=...) at /home/chrigi/devel/kde/kdepim-runtime/resources/imap/resourcetask.cpp:240
#15 0x0000000000459dbb in RetrieveItemsTask::onFlagsReceived (this=0x1667730, mailBox=..., uids=..., sizes=..., flags=..., messages=...) at /home/chrigi/devel/kde/kdepim-runtime/resources/imap/retrieveitemstask.cpp:416
#16 0x000000000045a0a2 in RetrieveItemsTask::qt_static_metacall (_o=0x1667730, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffb5938dd0) at /home/chrigi/devel/kde/build/global/kdepim-runtime/resources/imap/retrieveitemstask.moc:69
#17 0x00007f6f0e596f51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00007f6f0cf9245c in KIMAP::FetchJob::headersReceived (this=0x1877f80, _t1=..., _t2=..., _t3=..., _t4=..., _t5=...) at /home/chrigi/devel/kde/build/global/kdepimlibs/kimap/fetchjob.moc:115
#19 0x00007f6f0cf930f1 in KIMAP::FetchJobPrivate::emitPendings (this=0x1878840) at /home/chrigi/devel/kde/kdepimlibs/kimap/fetchjob.cpp:57
#20 0x00007f6f0cf922e0 in KIMAP::FetchJob::qt_static_metacall (_o=0x1877f80, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffb5938f10) at /home/chrigi/devel/kde/build/global/kdepimlibs/kimap/fetchjob.moc:66
#21 0x00007f6f0e596f51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0x00007f6f0e59be49 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007f6f0d6f1854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007f6f0d6f66d3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007f6f0b7baef6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x00007f6f0e5830ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007f6f0e5b3f02 in ?? () from /usr/lib/libQtCore.so.4
#28 0x00007f6f0e5b18cd in ?? () from /usr/lib/libQtCore.so.4
#29 0x00007f6f0e5b18f1 in ?? () from /usr/lib/libQtCore.so.4
#30 0x00007f6f08eac84d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007f6f08ead048 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007f6f08ead219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007f6f0e5b20ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007f6f0d794f1e in ?? () from /usr/lib/libQtGui.so.4
#35 0x00007f6f0e581e92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007f6f0e5820e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x00007f6f0e586c45 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#38 0x00007f6f0ece61db in Akonadi::ResourceBase::init (r=0x17affd0) at /home/chrigi/devel/kde/kdepimlibs/akonadi/resourcebase.cpp:405
#39 0x000000000041e97c in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7fffb5939ab8) at /opt/devel/global/include/akonadi/resourcebase.h:188
#40 0x000000000041d1c1 in main (argc=3, argv=0x7fffb5939ab8) at /home/chrigi/devel/kde/kdepim-runtime/resources/imap/imapresource.cpp:600

The crash does not seem to be reproducible.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f09a94a57c0 (LWP 20474))]

Thread 3 (Thread 0x7f0989009700 (LWP 20478)):
#0  0x00007f09a3383bc4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f099c3a724c in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f099c3a7379 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f09a337fe7a in start_thread () from /lib/libpthread.so.0
#4  0x00007f09a28a8bad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0988708700 (LWP 20479)):
#0  0x00007f09a28a08b3 in poll () from /lib/libc.so.6
#1  0x00007f09981c6d58 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f09981c7219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f09a373d166 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f09a370ce92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f09a370d0e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f09a360dd47 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f09a3610d6b in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f09a337fe7a in start_thread () from /lib/libpthread.so.0
#9  0x00007f09a28a8bad in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f09a94a57c0 (LWP 20474)):
[KCrash Handler]
#6  0x00007f09a27fa935 in raise () from /lib/libc.so.6
#7  0x00007f09a27fbdab in abort () from /lib/libc.so.6
#8  0x00007f09a36064a4 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007f09a360665f in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f09a3606804 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x00007f099fb817e2 in MessageList::Core::ModelPrivate::slotStorageModelRowsInserted (this=0x1efec30, parent=..., from=0, to=0) at /home/chrigi/devel/kde/kdepim/messagelist/core/model.cpp:4275
#12 0x00007f099fb82a5e in MessageList::Core::Model::qt_static_metacall (_o=0x1c93ff0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffb6f70a40) at /home/chrigi/devel/kde/build/global/kdepim/messagelist/model.moc:68
#13 0x00007f09a3721f51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#14 0x00007f09a376e1e4 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#15 0x00007f09a3721f51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00007f09a376e1e4 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#17 0x00007f09a370812d in QAbstractItemModel::endInsertRows() () from /usr/lib/libQtCore.so.4
#18 0x00007f09a46ad907 in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007f09a46b1a43 in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f09a46b1d5f in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007f09a3721f51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0x00007f09a376e1e4 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#23 0x00007f09a370812d in QAbstractItemModel::endInsertRows() () from /usr/lib/libQtCore.so.4
#24 0x00007f09a8eb2491 in ?? () from /usr/lib/libkdeui.so.5
#25 0x00007f09a3721f51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#26 0x00007f09a376e1e4 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#27 0x00007f09a370812d in QAbstractItemModel::endInsertRows() () from /usr/lib/libQtCore.so.4
#28 0x00007f09a5a167ac in Akonadi::EntityTreeModelPrivate::monitoredItemLinked (this=0x1909b00, item=..., collection=...) at /home/chrigi/devel/kde/kdepimlibs/akonadi/entitytreemodel_p.cpp:1177
#29 0x00007f09a5a0d3af in Akonadi::EntityTreeModel::qt_static_metacall (_o=0x1d26fb0, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fffb6f713f0) at /home/chrigi/devel/kde/build/global/kdepimlibs/akonadi/entitytreemodel.moc:148
#30 0x00007f09a3721f51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#31 0x00007f09a5a577df in Akonadi::Monitor::itemLinked (this=0x18fa500, _t1=..., _t2=...) at /home/chrigi/devel/kde/build/global/kdepimlibs/akonadi/monitor.moc:217
#32 0x00007f09a5a5b729 in Akonadi::MonitorPrivate::emitItemNotification (this=0x18fa870, msg=..., item=..., collection=..., collectionDest=...) at /home/chrigi/devel/kde/kdepimlibs/akonadi/monitor_p.cpp:540
#33 0x00007f09a5a59eff in Akonadi::MonitorPrivate::emitNotification (this=0x18fa870, msg=...) at /home/chrigi/devel/kde/kdepimlibs/akonadi/monitor_p.cpp:288
#34 0x00007f09a59be544 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x18fa870, msg=...) at /home/chrigi/devel/kde/kdepimlibs/akonadi/changerecorder_p.h:60
#35 0x00007f09a5a5ab9d in Akonadi::MonitorPrivate::dispatchNotifications (this=0x18fa870) at /home/chrigi/devel/kde/kdepimlibs/akonadi/monitor_p.cpp:447
#36 0x00007f09a5a5a9dc in Akonadi::MonitorPrivate::slotNotify (this=0x18fa870, msgs=...) at /home/chrigi/devel/kde/kdepimlibs/akonadi/monitor_p.cpp:418
#37 0x00007f09a59be4c4 in Akonadi::ChangeRecorderPrivate::slotNotify (this=0x18fa870, msgs=...) at /home/chrigi/devel/kde/kdepimlibs/akonadi/changerecorder_p.h:51
#38 0x00007f09a5a57495 in Akonadi::Monitor::qt_static_metacall (_o=0x18fa500, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fffb6f71a90) at /home/chrigi/devel/kde/build/global/kdepimlibs/akonadi/monitor.moc:136
#39 0x00007f09a3721f51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#40 0x00007f09a5ad9685 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=0x1c8b2e0, _t1=...) at /home/chrigi/devel/kde/build/global/kdepimlibs/akonadi/notificationsourceinterface.moc:105
#41 0x00007f09a5ad94dc in OrgFreedesktopAkonadiNotificationSourceInterface::qt_static_metacall (_o=0x1c8b2e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffb6f71ca0) at /home/chrigi/devel/kde/build/global/kdepimlibs/akonadi/notificationsourceinterface.moc:54
#42 0x00007f09a5ad9634 in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0x1c8b2e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffb6f71ca0) at /home/chrigi/devel/kde/build/global/kdepimlibs/akonadi/notificationsourceinterface.moc:95
#43 0x00007f09a3a8837b in ?? () from /usr/lib/libQtDBus.so.4
#44 0x00007f09a3727116 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#45 0x00007f09a4103854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#46 0x00007f09a41086d3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#47 0x00007f09a8ec2ef6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#48 0x00007f09a370e0ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#49 0x00007f09a371194a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#50 0x00007f09a373ccd3 in ?? () from /usr/lib/libQtCore.so.4
#51 0x00007f09981c684d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0x00007f09981c7048 in ?? () from /usr/lib/libglib-2.0.so.0
#53 0x00007f09981c7219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#54 0x00007f09a373d0ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#55 0x00007f09a41a6f1e in ?? () from /usr/lib/libQtGui.so.4
#56 0x00007f09a370ce92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#57 0x00007f09a370d0e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#58 0x00007f09a3711c45 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#59 0x00000000004036a6 in main (argc=1, argv=0x7fffb6f72918) at /home/chrigi/devel/kde/kdepim/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Sebastien Renard 2012-08-18 11:28:27 UTC

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