Summary: | crash when downloading mails (MessageList::Core::ModelPrivate::slotStorageModelRowsInserted] | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Detlev Casanova <detlev.casanova> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | chrigi_1, mail, renard, winter |
Priority: | NOR | ||
Version: | 2.1.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Detlev Casanova
2011-07-04 09:28:57 UTC
Issue seems to be that filters are removing messages from the folder and changing the model indexes as the job is running. This somehow is causing the current index to be greater then the end index. Not sure what index is wrong. Created attachment 63832 [details]
New crash information added by DrKonqi
kmail (4.8 pre) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.4
also happens to me on starting kmail with all my filters configured...
-- Backtrace (Reduced):
#11 0x00007ff2fa37d448 in MessageList::Core::ModelPrivate::slotStorageModelRowsInserted (this=0x15a3330, parent=..., from=34, to=34) at /home/milian/projects/kde4/kdepim/messagelist/core/model.cpp:4243
#12 0x00007ff2fa37e73d in MessageList::Core::Model::qt_metacall (this=0x15a3240, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffc2c479a0) at /home/milian/projects/.build/kde4/kdepim/messagelist/model.moc:91
[...]
#14 0x00007ff2fde17ff4 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#15 0x00007ff2fde1851b in QAbstractItemModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00007ff2fa39c672 in MessageList::Core::StorageModel::qt_metacall (this=0x1de9510, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fffc2c47b50) at /home/milian/projects/.build/kde4/kdepim/messagelist/storagemodelbase.moc:64
Created attachment 64684 [details]
New crash information added by DrKonqi
kmail (4.8 pre) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4
just happened to me. kmail was running in the background and suddenly crashed. cli showed:
ASSERT: "job->currentIndex() <= job->endIndex()" in file /home/milian/projects/kde4/kdepim/messagelist/core/model.cpp, line 4267
all pim code from current git today
-- Backtrace (Reduced):
#11 0x00007f95061d25a0 in MessageList::Core::ModelPrivate::slotStorageModelRowsInserted (this=0xc81d90, parent=..., from=0, to=0) at /home/milian/projects/kde4/kdepim/messagelist/core/model.cpp:4267
#12 0x00007f95061d3895 in MessageList::Core::Model::qt_metacall (this=0xabd900, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffae2cd000) at /home/milian/projects/.build/kde4/kdepim/messagelist/model.moc:91
[...]
#14 0x00007f9509c65ff4 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#15 0x00007f9509c6651b in QAbstractItemModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00007f95061f1312 in MessageList::Core::StorageModel::qt_metacall (this=0x569ca50, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fffae2cd1b0) at /home/milian/projects/.build/kde4/kdepim/messagelist/storagemodelbase.moc:64
almost looks like there's a problem if from == to in slotStorageModelRowsInserted() Created attachment 65923 [details] New crash information added by DrKonqi kmail (4.8 beta1) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4 still valid, just reproduced it. cli ouput: akonadi_nepomuk_feeder(19534) ItemQueue::jobResult: "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#emailAddress has a max cardinality of 1. Provided 2 values - "bla"^^<http://www.w3.org/2001/XMLSchema#string>, "bla"^^<http://www.w3.org/2001/XMLSchema#string>" akonadi_pop3_resource_0(19536)/kio (KIOJob) KIO::TransferJob::slotData: mimeType() not emitted when sending first data!; job URL = KUrl("pop3://bla@bla:110/index") data size = 8 akonadi_pop3_resource_0(19536)/kio (KIOJob) KIO::TransferJob::slotData: mimeType() not emitted when sending first data!; job URL = KUrl("pop3://bla@bla:110/uidl") data size = 20 ASSERT: "job->currentIndex() <= job->endIndex()" in file /home/milian/projects/kde4/kdepim/messagelist/core/model.cpp, line 4267 -- Backtrace (Reduced): #11 0x00007fd4aae74b28 in MessageList::Core::ModelPrivate::slotStorageModelRowsInserted (this=0x1094610, parent=..., from=0, to=0) at /home/milian/projects/kde4/kdepim/messagelist/core/model.cpp:4267 #12 0x00007fd4aae75e1d in MessageList::Core::Model::qt_metacall (this=0xe8bf60, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff241d32a0) at /home/milian/projects/.build/kde4/kdepim/messagelist/model.moc:91 [...] #14 0x00007fd4adfaaff4 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4 #15 0x00007fd4adfab51b in QAbstractItemModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #16 0x00007fd4aae9389a in MessageList::Core::StorageModel::qt_metacall (this=0x3f52ba0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff241d3450) at /home/milian/projects/.build/kde4/kdepim/messagelist/storagemodelbase.moc:64 *** Bug 292146 has been marked as a duplicate of this bug. *** 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 kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months. 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. |