| Summary: | Crahes while copying/moving mails on an IMAP account | ||
|---|---|---|---|
| Product: | [Unmaintained] kmail | Reporter: | Matthias K. <matthias> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | gordon, montel |
| Priority: | NOR | ||
| Version First Reported In: | 1.13.5 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | New crash information added by DrKonqi | ||
|
Description
Matthias K.
2010-11-18 20:29:45 UTC
Fixed in kdepim-4.4.5 or 4.4.6
void FolderStorage::takeMessages(const QList<KMMessage*>& msgList)
{
for( QList<KMMessage*>::const_iterator it = msgList.begin();
it != msgList.end(); ++it )
{
KMMessage *msg = (*it);
if (msg->parent())
{
int idx = msg->parent()->find(msg);
if( idx >= 0 )
take(idx);
}
}
}
so we can't take a idx == -1
=> it will not crash now
Created attachment 59650 [details]
New crash information added by DrKonqi
kontact (4.4.10) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1
- What I was doing when the application crashed:
This happens for me a few times a day at work and anytime that I manually filter messages, it happens every single time. I either search for a specific sender, then filter them, or filter my entire mailbox.
-- Backtrace (Reduced):
#7 0x00007f13689faa39 in KMFolderImap::addMsgQuiet (this=0xb0b690, msgList=...) at /usr/src/debug/kdepim-4.4.10/kmail/kmfolderimap.cpp:366
#8 0x00007f13689ffee8 in KMFolderImap::qt_metacall (this=0xb0b690, _c=<value optimized out>, _id=5, _a=<value optimized out>) at /usr/src/debug/kdepim-4.4.10/build/kmail/kmfolderimap.moc:162
[...]
#10 0x00007f1368b17825 in KMail::FolderJob::messageCopied (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/kdepim-4.4.10/build/kmail/folderjob.moc:126
#11 0x00007f1368b22c9d in KMail::ImapJob::slotPutMessageResult (this=0x388a6b0, job=<value optimized out>) at /usr/src/debug/kdepim-4.4.10/kmail/imapjob.cpp:570
#12 0x00007f1368b27953 in KMail::ImapJob::qt_metacall (this=0x388a6b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffae712a50) at /usr/src/debug/kdepim-4.4.10/build/kmail/imapjob.moc:92
|