Bug 195859 - Kontact crashes on filtering (Ctrl+J) / organizing emails [KMFolder::folderType, KMail::ImapJob::slotProcessedSize]
Summary: Kontact crashes on filtering (Ctrl+J) / organizing emails [KMFolder::folderTy...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.11.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 218941 231888 238152 242458 243410 266595 275336 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-10 10:49 UTC by Krisztián Kádár-Németh
Modified: 2012-08-19 10:54 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
More extensive backtrace of the reproduction of the crash with only one mail (4.39 KB, application/octet-stream)
2009-06-10 13:09 UTC, Krisztián Kádár-Németh
Details
New crash information added by DrKonqi (15.53 KB, text/plain)
2010-03-30 01:49 UTC, Evan Cofsky
Details
New crash information added by DrKonqi (4.03 KB, text/plain)
2010-11-18 14:22 UTC, Alfonso Guerra
Details
New crash information added by DrKonqi (3.92 KB, text/plain)
2010-11-19 03:53 UTC, Alfonso Guerra
Details
New crash information added by DrKonqi (5.98 KB, text/plain)
2010-11-24 23:48 UTC, Jonathan Cast
Details
New crash information added by DrKonqi (4.05 KB, text/plain)
2010-12-06 23:13 UTC, Aaron Williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krisztián Kádár-Németh 2009-06-10 10:49:31 UTC
Version:           1.11.2 (using 4.2.2 (KDE 4.2.2), Mandriva Linux release 2009.1 (Cooker) for i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.29.3-desktop-1mnb

I set up my filter rules, and applied ctrl+j in the IMAP incoming mail folder on 8 mails at the same time. Kontact crashed.

I tried it again after the crash, and it did not crash, it may seem occasional.

BACKTRACE:

Alkalmazás: Kontact (kontact), szignál: SIGSEGV
[Current thread is 1 (Thread 0xb47b1930 (LWP 2408))]

Thread 1 (Thread 0xb47b1930 (LWP 2408)):
[KCrash Handler]
#6  0xb1107218 in KMFolder::folderType (this=0xb6be81f0) at /usr/src/debug/kdepim-4.2.2/kmail/kmfolder.cpp:267
#7  0xb132e102 in KMail::ImapJob::slotProcessedSize (this=0x99726e0, job=0x98ccec0, processed=<value optimized out>) at /usr/src/debug/kdepim-4.2.2/kmail/imapjob.cpp:688
#8  0xb1330f05 in KMail::ImapJob::qt_metacall (this=0x99726e0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfcc618c) at /usr/src/debug/kdepim-4.2.2/build/kmail/imapjob.moc:90
#9  0xb7833e45 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb78356e5 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb79e4f3d in KJob::processedSize () from /usr/lib/libkdecore.so.5
#12 0xb79e679e in KJob::setProcessedAmount () from /usr/lib/libkdecore.so.5
#13 0xb61f0ace in KIO::TransferJob::sendAsyncData () from /usr/lib/libkio.so.5
#14 0xb61f2425 in KIO::TransferJob::slotDataReq () from /usr/lib/libkio.so.5
#15 0xb61faa0c in KIO::TransferJob::qt_metacall () from /usr/lib/libkio.so.5
#16 0xb7833e45 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb78356e5 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb62b1995 in KIO::SlaveInterface::dataReq () from /usr/lib/libkio.so.5
#19 0xb62b47ac in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#20 0xb62b1eea in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#21 0xb62a3ea5 in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#22 0xb62a4230 in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#23 0xb7833e45 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb78356e5 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb61c3865 in KIO::Connection::readyRead () from /usr/lib/libkio.so.5
#26 0xb61c539b in ?? () from /usr/lib/libkio.so.5
#27 0xb61c59fb in KIO::Connection::qt_metacall () from /usr/lib/libkio.so.5
#28 0xb782c79a in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#29 0xb782e2b5 in QObject::event () from /usr/lib/libQtCore.so.4
#30 0xb6deb99c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#31 0xb6df40e6 in QApplication::notify () from /usr/lib/libQtGui.so.4
#32 0xb7d2ac21 in KApplication::notify () from /usr/lib/libkdeui.so.5
#33 0xb781d33e in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#34 0xb781dff5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#35 0xb781e1dc in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#36 0xb784a5bd in ?? () from /usr/lib/libQtCore.so.4
#37 0xb5226cea in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb522a354 in ?? () from /usr/lib/libglib-2.0.so.0
#39 0xb522a4df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0xb784a1da in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#41 0xb6e8fe6a in ?? () from /usr/lib/libQtGui.so.4
#42 0xb781b903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#43 0xb781bd51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#44 0xb781e2b6 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#45 0xb6deb804 in QApplication::exec () from /usr/lib/libQtGui.so.4
#46 0x0804bb3c in main (argc=-1077121052, argv=0xbfcc6dc9) at /usr/src/debug/kdepim-4.2.2/kontact/src/main.cpp:218
Comment 1 Krisztián Kádár-Németh 2009-06-10 13:09:09 UTC
Created attachment 34402 [details]
More extensive backtrace of the reproduction of the crash with only one mail

And here is another - somehow more extensive - backtrace on another crash at the same situation, but with only one mail. Pressing ctrl+j on the only mail caused a crash.
Comment 2 Dario Andres 2009-12-17 00:46:33 UTC
From bug 218941:
---
What I was doing when the application crashed:
I was in the inbox, teaching kmail what is ham or spam on my new account.

I clicked on the first message, clicked the "ham" button in the toolbar, kmail
moves to the next message, I click on "ham", etc.
Comment 3 Dario Andres 2009-12-17 00:46:37 UTC
*** Bug 218941 has been marked as a duplicate of this bug. ***
Comment 4 Jonathan Thomas 2010-03-23 14:29:51 UTC
*** Bug 231888 has been marked as a duplicate of this bug. ***
Comment 5 Evan Cofsky 2010-03-30 01:49:41 UTC
Created attachment 42365 [details]
New crash information added by DrKonqi

This particular crash seems to occur when using the spam filtering rules, especially after directing them to store in IMAP folders instead of local.
Comment 6 Christophe Marin 2010-06-06 23:03:03 UTC
*** Bug 238152 has been marked as a duplicate of this bug. ***
Comment 7 Nicolas L. 2010-06-22 13:27:34 UTC
*** Bug 242458 has been marked as a duplicate of this bug. ***
Comment 8 Björn Ruberg 2010-08-07 18:41:36 UTC
*** Bug 243410 has been marked as a duplicate of this bug. ***
Comment 9 Alfonso Guerra 2010-11-18 14:22:42 UTC
Created attachment 53520 [details]
New crash information added by DrKonqi

Crashed while I was away, presumably filtering incoming mail using the 2 filters I've configured.
Comment 10 Alfonso Guerra 2010-11-19 03:53:01 UTC
Created attachment 53536 [details]
New crash information added by DrKonqi

This crash occurred when I hit ctrl-j.
Comment 11 Jonathan Cast 2010-11-24 23:48:31 UTC
Created attachment 53712 [details]
New crash information added by DrKonqi

kmail (1.13.5) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

I was applying filters to three or four contiguous blocks of incoming mail, that I know would be moved by the filtering, while attempting to examine an email in the middle.

-- Backtrace (Reduced):
#6  0x00007fb32d84778c in KMFolder::folderType (this=<value optimized out>) at ../../kmail/kmfolder.cpp:279
#7  0x00007fb32da6c6df in KMail::ImapJob::slotProcessedSize (this=0xbe3a5f0, job=0xc014e70, processed=32768) at ../../kmail/imapjob.cpp:688
#8  0x00007fb32da6dfd2 in KMail::ImapJob::qt_metacall (this=0xbe3a5f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd4606110) at ./imapjob.moc:96
[...]
#10 0x00007fb32e3564eb in KJob::processedSize (this=0xc02d290, _t1=0xc014e70, _t2=32768) at ./kjob.moc:243
#11 0x00007fb32e357982 in KJob::setProcessedAmount (this=<value optimized out>, unit=KJob::Bytes, amount=<value optimized out>) at ../../kdecore/jobs/kjob.cpp:267
Comment 12 Aaron Williams 2010-12-06 23:13:26 UTC
Created attachment 54227 [details]
New crash information added by DrKonqi

kmail (1.13.5) on KDE Platform 4.5.4 (KDE 4.5.4) "release 9" using Qt 4.6.3

- What I was doing when the application crashed:
I was marking emails as HAM/SPAM to train bogofilter. This is repeatable and happens frequently.

-- Backtrace (Reduced):
#6  KMFolder::folderType (this=0x7f8d22222222) at /usr/src/debug/kdepim-4.4.8/kmail/kmfolder.cpp:279
#7  0x00007f8d4d03902d in KMail::ImapJob::slotProcessedSize (this=0x14b5ce0, job=0x1522880, processed=4670) at /usr/src/debug/kdepim-4.4.8/kmail/imapjob.cpp:688
#8  0x00007f8d4d03978a in KMail::ImapJob::qt_metacall (this=0x14b5ce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff22951ea0)
    at /usr/src/debug/kdepim-4.4.8/build/kmail/imapjob.moc:96
[...]
#10 0x00007f8d4d805cdb in KJob::processedSize(KJob*, unsigned long long) () from /usr/lib64/libkdecore.so.5
#11 0x00007f8d4d8480fe in KJob::setProcessedAmount(KJob::Unit, unsigned long long) () from /usr/lib64/libkdecore.so.5
Comment 13 Christophe Marin 2011-05-04 18:41:54 UTC
*** Bug 266595 has been marked as a duplicate of this bug. ***
Comment 14 Christophe Marin 2011-06-15 19:39:02 UTC
*** Bug 275336 has been marked as a duplicate of this bug. ***
Comment 15 Myriam Schweingruber 2012-08-19 10:54:17 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding