Bug 226133 - kmail crashes when applying "all filters" to multiple messages at once
Summary: kmail crashes when applying "all filters" to multiple messages at once
Status: RESOLVED DUPLICATE of bug 198529
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 13:32 UTC by thomas gahr
Modified: 2010-03-14 01:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.95 KB, text/plain)
2010-02-10 13:54 UTC, thomas gahr
Details
New crash information added by DrKonqi (4.55 KB, text/plain)
2010-02-28 01:29 UTC, Lukas Middendorf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomas gahr 2010-02-10 13:32:18 UTC
Application: kmail (1.13.0)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31.12-174.2.3.fc12.i686 i686
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
i selected all files in my infolder (pop3 account) with ctrl-a a hit ctrl-j to apply all filters to them => kmail crashes
did not try to reproduce yet, will do in a few minutes

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0x00892a0f in KMMessage::headerField (this=0x94face0, aName=..., encodingMode=MessageCharsetEncoding) at /usr/src/debug/kdepim-4.4.0/kmail/kmmessage.cpp:1949
#7  0x00acea22 in KMail::FancyHeaderStyle::format (this=<value optimized out>, message=<value optimized out>, strategy=<value optimized out>, vCardName=<value optimized out>, 
    printing=<value optimized out>, topLevel=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/headerstyle.cpp:534
#8  0x0096371d in KMReaderWin::writeMsgHeader (this=<value optimized out>, aMsg=<value optimized out>, vCardNode=<value optimized out>, topLevel=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1725
#9  0x009782ec in KMReaderWin::parseMsg (this=<value optimized out>, aMsg=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1606
#10 0x0096c726 in KMReaderWin::displayMessage (this=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1535
#11 0x0096c90d in KMReaderWin::updateReaderWin (this=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1478
#12 0x0097bda4 in KMReaderWin::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=6, _a=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.0/i686-redhat-linux-gnu/kmail/kmreaderwin.moc:179
#13 0x0054fa4b in QMetaObject::metacall (object=<value optimized out>, cl=<value optimized out>, idx=<value optimized out>, argv=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#14 0x0055df9f in QMetaObject::activate (sender=<value optimized out>, m=<value optimized out>, local_signal_index=<value optimized out>, argv=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#15 0x005a6838 in QTimer::timeout (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#16 0x0056479e in QTimer::timerEvent (this=<value optimized out>, e=<value optimized out>) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#17 0x0055ae14 in QObject::event (this=<value optimized out>, e=<value optimized out>) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#18 0x0236cbec in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4298
#19 0x02373416 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3702
#20 0x07a7469b in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#21 0x0054b073 in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#22 0x00575f8e in sendEvent (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#23 QTimerInfoList::activateTimers (this=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:603
#24 0x00573618 in timerSourceDispatch (source=<value optimized out>) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#25 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#26 0x01446f88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x0144a8b8 in ?? () from /lib/libglib-2.0.so.0
#28 0x0144a9e4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x005732d6 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#30 0x0241abd6 in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x0054974a in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#32 0x00549a8a in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#33 0x0054c157 in QCoreApplication::exec () at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/khtml/khtmlview.moc:124
#34 0x0236cc98 in QApplication::exec () at kernel/qapplication.cpp:3577
#35 0x0804aa6a in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/main.cpp:156

Possible duplicates by query: bug 225923, bug 224803, bug 222888, bug 222664, bug 221103.

Reported using DrKonqi
Comment 1 thomas gahr 2010-02-10 13:54:43 UTC
Created attachment 40640 [details]
New crash information added by DrKonqi

ok, tried again and it is reproducible... attaching the crash dump to show that it's exactly the same crash.
interesting artifact of the crash: there are a few new messages in the inbox folder with unknown date, recipient and empty body, but the subjects are those of formerly existing ones - i.e. some messages were cloned (couldn't make out any pattern as to which ones were cloned or not)

hope that helps,

thomas
Comment 2 thomas gahr 2010-02-14 16:07:59 UTC
ok, this is strange... i changed the one imap-account (i'm using 2 pop3 accounts and one imap) to disconnected imap (i.e. deleted the old one and made a new , disconnected one) and since then the crasg didn't occur once - i've been applying my filters all around the place like there's no tomorrow - no crash can be provoked...
Comment 3 Lukas Middendorf 2010-02-28 01:29:56 UTC
Created attachment 41183 [details]
New crash information added by DrKonqi

I can confirm this crash.

When I manually apply all filters to all messages in my (POP3) inbox (the filters mainly move the messages to subfolders) kmail crashes when the job is finished.
I can see the "x mails remaining" counting down and when it reaches zero, the crash happens.

When I restart kmail I seem to have all messages twice (some in the inbox and in the new folders, some twice in the original folder). Not sure if this is really related to the cause of the crash or just to the crash in general.

I also have imap-accounts, but did not try to remove it yet.
Comment 4 Björn Ruberg 2010-03-14 01:44:01 UTC

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