[Akonadi] [Bug 378831] crash on mail check
Albert Astals Cid
bugzilla_noreply at kde.org
Sun Apr 16 11:07:36 BST 2017
https://bugs.kde.org/show_bug.cgi?id=378831
Albert Astals Cid <aacid at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WAITINGFORINFO
Status|UNCONFIRMED |NEEDSINFO
--- Comment #1 from Albert Astals Cid <aacid at kde.org> ---
This is a weird crash.
It means somehow your settings broke.
It's "good" it happens all the time, but i can't see how it would happen.
Looking at the code there's two places where seenUIDs and timeOfSeenUids get
modified, POP3Resource::deleteJobResult and POP3Resource::saveSeenUIDList
In POP3Resource::saveSeenUIDList we do
Q_ASSERT(seenUIDs.size() == timeOfSeenUIDs.size());
and then either
seenUIDs.append(uid);
timeOfSeenUIDs.append(time(nullptr));
or
uidIt = seenUIDs.erase(uidIt);
timeIt = timeOfSeenUIDs.erase(timeIt);
so the sizes should be the same always
In POP3Resource::deleteJobResult we do
Q_ASSERT(seenUIDs.size() == timeOfSeenUids.size());
and then either
seenUIDs.removeAt(index);
timeOfSeenUids.removeAt(index);
So they "should" be as big always.
Can you have a look at your config file and see if how different seenUIDs and
timeOfSeenUids are? Maybe we're hitting some limit in KConfig?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list