Bug 73999 - Crash when applying filters
Summary: Crash when applying filters
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Till Adam
URL:
Keywords:
: 74784 76460 81958 83663 85522 92070 92174 92276 92457 92541 93384 175103 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-02 11:36 UTC by Fulvio Bertino
Modified: 2008-11-14 15:40 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash trace (4.62 KB, text/plain)
2004-07-23 00:55 UTC, Rafael Ávila de Espíndola
Details
backtrace automatically done by kmail (4.60 KB, text/plain)
2004-07-26 16:13 UTC, Sebastian Krämer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fulvio Bertino 2004-02-02 11:36:24 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
OS:          Linux

I've selected al the mails in the inbox folder, and applied a filter to redirect some mails into the trash. During the filter reexecution the aplication has crashed.
In the following lines the backtrace I had. Please let me know if it could be useful if I add the debugging symbols to my actual kde version, and if so, how can I do that...




(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 1622)]

0x41262a38 in waitpid () from /lib/libpthread.so.0
#0  0x41262a38 in waitpid () from /lib/libpthread.so.0
Comment 1 Ingo Klöcker 2004-02-02 15:40:21 UTC
This backtrace is unfortunately completely useless. So adding debug symbols is definitely necessary. I found the following with Google: http://braindamage.alal.com/archives/gentoo-user.old/20030825/0006.html
Comment 2 Fulvio Bertino 2004-02-02 15:46:34 UTC
Thanx a lot Ingo, I'll recompile kdenetwork in the following days, and will try to recreate the bug and send u the debug infos.
Have a nice work,
	Fulvio
Comment 3 Ingo Klöcker 2004-02-02 15:57:14 UTC
KMail is now in kdepim, so you'll have to recompile kdepim.
Comment 4 Till Adam 2004-05-18 09:32:32 UTC
Fulvio, any news on this? Are you still seeing these crashes?
Comment 5 Fulvio Bertino 2004-05-18 09:46:29 UTC
I've just upgraded to 3.2.2: since now with the the new release no crashes at all, but I've to try applying rules to many mails... as soon as I can I'll check it out and let u know... 
Comment 6 Thomas McGuire 2004-06-21 01:36:40 UTC
I was about to report the smae bug.
Here my original report:
(SuSE 9.0, KDE CVS (yesterday))

Moving message to newly-created folder: crash

I created a new folder (did not change default name) and moved a message into it (drag&drop).
KMail bzw. Kontact crashed immediatly.

Backtrace:
[New Thread 16384 (LWP 6934)]
[KCrash handler]
#4  0x4117630a in QGDict::look_string(QString const&, void*, int) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#5  0x424673f2 in QDict<KMSortCacheItem>::operator[](QString const&) const ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#6  0x4245c025 in KMHeaders::msgRemoved(int, QString, QString) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#7  0x4246682a in KMHeaders::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#8  0x40eeebc0 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#9  0x4249188d in KMFolder::msgRemoved(int, QString, QString) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#10 0x42491ff7 in KMFolder::qt_emit(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#11 0x40eeebef in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#12 0x424b30ad in FolderStorage::msgRemoved(int, QString, QString) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#13 0x424b0794 in FolderStorage::take(int) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#14 0x4254c002 in KMFolderMaildir::take(int) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#15 0x4248f9bc in KMFolder::take(int) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#16 0x4252b173 in KMFolderMbox::addMsg(KMMessage*, int*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#17 0x424b11f5 in FolderStorage::moveMsg(KMMessage*, int*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#18 0x4248fb70 in KMFolder::moveMsg(KMMessage*, int*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#19 0x425c17e3 in KMMoveCommand::execute() ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#20 0x425b9f09 in KMCommand::slotPostTransfer(KMCommand::Result) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#21 0x425b48c2 in KMCommand::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#22 0x425b7b33 in KMMenuCommand::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#23 0x425b7e92 in KMMoveCommand::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#24 0x40eeebc0 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#25 0x425b4746 in KMCommand::messagesTransfered(KMCommand::Result) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#26 0x425ba33d in KMCommand::transferSelectedMsgs() ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#27 0x425b9d93 in KMCommand::slotStart() ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#28 0x425b48d0 in KMCommand::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#29 0x425b7b33 in KMMenuCommand::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#30 0x425b7e92 in KMMoveCommand::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#31 0x40eeebc0 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#32 0x411f12c6 in QSignal::signal(QVariant const&) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#33 0x40f073bc in QSignal::activate() ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#34 0x40f0e4bc in QSingleShotTimer::event(QEvent*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#35 0x40e93471 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#36 0x40e92a57 in QApplication::notify(QObject*, QEvent*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#37 0x40a14a27 in KApplication::notify(QObject*, QEvent*) ()
   from /home/kde3/kde-unstable/lib/libkdecore.so.4
#38 0x40e831ab in QEventLoop::activateTimers() ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#39 0x40e3f7a3 in QEventLoop::processEvents(unsigned) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#40 0x40ea496c in QEventLoop::enterLoop() ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#41 0x40ea4864 in QEventLoop::exec() ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#42 0x40e93700 in QApplication::exec() ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#43 0x0805adb5 in main ()

-------------------------
The follwing seems to be related to this, so I did not post another BR.
Is this some indexing error ?
(I recently rebuild my KDE and backed my mail up - something could have gone wrong when I restored them.)

Crash when applying filter

I was selecting some messages (with strg+left click) to mark them as not spam.
When I clicked "Apply filter->Filter classify as NOT spam", KMail crashed.
2 of the messages got duplicated, and one was corrupted (title:"No subject").
I used Kontact.
The mails I selected were in my sent messages folder.
Unfortunatly, I can not reproduce this. Seems to be random.
Maybe I hit "Filter classify as Spam" by accident, I am not sure.

Backtrace:
[New Thread 16384 (LWP 30884)]
[KCrash handler]
#4  0x40fba7bd in QListViewItem::QListViewItem(QListViewItem*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#5  0x407dc770 in KListViewItem::KListViewItem(QListViewItem*) ()
   from /home/kde3/kde-unstable/lib/libkdeui.so.4
#6  0x42451d7a in KMHeaders::msgAdded(int) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#7  0x4245d88a in KMHeaders::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#8  0x40eeeb03 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#9  0x40eeecfa in QObject::activate_signal(int, int) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#10 0x4248898b in KMFolder::msgAdded(int) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#11 0x42488fa8 in KMFolder::qt_emit(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#12 0x40eeebef in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#13 0x40eeecfa in QObject::activate_signal(int, int) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#14 0x424aa1ab in FolderStorage::msgAdded(int) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#15 0x424a6efc in FolderStorage::emitMsgAddedSignals(int) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#16 0x4253f64f in KMFolderMaildir::addMsg(KMMessage*, int*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#17 0x424aadaa in FolderStorage::addMsgKeepUID(KMMessage*, int*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#18 0x42486a60 in KMFolder::addMsgKeepUID(KMMessage*, int*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#19 0x424d84a2 in KMFilterMgr::endFiltering(KMMsgBase*) const ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#20 0x424d859a in KMFilterMgr::process(KMMessage*, KMFilter const*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#21 0x425b71ca in KMFilterActionCommand::execute() ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#22 0x425b0f09 in KMCommand::slotPostTransfer(KMCommand::Result) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#23 0x425ab8c2 in KMCommand::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#24 0x425ae623 in KMFilterActionCommand::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#25 0x40eeebc0 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#26 0x425ab746 in KMCommand::messagesTransfered(KMCommand::Result) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#27 0x425b133d in KMCommand::transferSelectedMsgs() ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#28 0x425b0d93 in KMCommand::slotStart() ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#29 0x425ab8d0 in KMCommand::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#30 0x425ae623 in KMFilterActionCommand::qt_invoke(int, QUObject*) ()
   from /home/kde3/kde-unstable/lib/libkmailprivate.so.0
#31 0x40eeebc0 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#32 0x411f12c6 in QSignal::signal(QVariant const&) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#33 0x40f073bc in QSignal::activate() ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#34 0x40f0e4bc in QSingleShotTimer::event(QEvent*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#35 0x40e93471 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#36 0x40e92a57 in QApplication::notify(QObject*, QEvent*) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#37 0x40a14a27 in KApplication::notify(QObject*, QEvent*) ()
   from /home/kde3/kde-unstable/lib/libkdecore.so.4
#38 0x40e831ab in QEventLoop::activateTimers() ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#39 0x40e3f7a3 in QEventLoop::processEvents(unsigned) ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#40 0x40ea496c in QEventLoop::enterLoop() ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#41 0x40ea4864 in QEventLoop::exec() ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#42 0x40e93700 in QApplication::exec() ()
   from /home/kde3/src/kde/qt-copy/lib/libqt-mt.so.3
#43 0x0805adb5 in main ()
Comment 7 Till Adam 2004-07-18 16:01:07 UTC
*** Bug 83663 has been marked as a duplicate of this bug. ***
Comment 8 Till Adam 2004-07-18 16:01:22 UTC
*** Bug 81958 has been marked as a duplicate of this bug. ***
Comment 9 Till Adam 2004-07-18 17:15:43 UTC
*** Bug 76460 has been marked as a duplicate of this bug. ***
Comment 10 Rafael Ávila de Espíndola 2004-07-23 00:55:23 UTC
Created attachment 6790 [details]
crash trace

trace with debug enabled
Comment 11 Sebastian Krämer 2004-07-26 16:11:03 UTC
Hi there!
My Kmail also crashed repeatedly and on the way to filing a BG I found this one (linked from this one: http://bugs.kde.org/show_bug.cgi?id=76460).
First I thought it was because of too many selected messages (always doing CTRL-A, CTRL-J), later I recognized that it also happend with a few CTRL-leftClick-selected messages. Later it even occured with a single selected message and entering CTRL-J.. It's so weird because I'm almost sure it doesn't happen everytime with the same messages (so I cannot provide a combination of an email and failing filter rules :-( ).
I'm using the (almost newest?) version of kmail (1.6.82 from kde 3.2.92 (3.3beta2)). I copmiled it with gcc-3.4.1 on a gentoo machine and used a recent ebuild (kde-3.3.0_beta2) with 'debug' in my USE-flags, without -fomit-frame-pointer in CFLAGS and with 'nostrip' in features (as I read that would help to come up with useful bug reports :-) ). I'm glad to say I've attached a (hopefully) useful backtrace.
Tell me if I can be of further help!

Sebastian
Comment 12 Sebastian Krämer 2004-07-26 16:13:33 UTC
Created attachment 6852 [details]
backtrace automatically done by kmail

Sorry, forgot to attach this backtrace in the first place..
Some (maybe useful) information about my gentoo:
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.3.20040420-r0,
2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
Comment 13 Till Adam 2004-11-06 22:56:06 UTC
*** Bug 85522 has been marked as a duplicate of this bug. ***
Comment 14 Till Adam 2004-11-06 22:56:47 UTC
*** Bug 92457 has been marked as a duplicate of this bug. ***
Comment 15 Till Adam 2004-11-06 22:57:28 UTC
*** Bug 92070 has been marked as a duplicate of this bug. ***
Comment 16 Till Adam 2004-11-06 22:58:27 UTC
*** Bug 92541 has been marked as a duplicate of this bug. ***
Comment 17 Teemu Rytilahti 2004-11-19 01:04:28 UTC
Seems to work here now, thanks Till :)
Comment 18 Tom Albers 2004-11-20 19:29:15 UTC
*** Bug 74784 has been marked as a duplicate of this bug. ***
Comment 19 Tom Albers 2004-11-20 19:30:28 UTC
*** Bug 92174 has been marked as a duplicate of this bug. ***
Comment 20 Tom Albers 2004-11-20 19:31:11 UTC
*** Bug 93384 has been marked as a duplicate of this bug. ***
Comment 21 Tom Albers 2004-11-20 19:33:08 UTC
*** Bug 92276 has been marked as a duplicate of this bug. ***
Comment 22 Tom Albers 2004-11-20 19:37:03 UTC
Till has made some changes and Teemu confirms this is solved in the development version of KMail. If you have the possibility it would be nice if you could compile this version (CVS/HEAD & activate debugging (./configure --enable-debug=full)) and confirm that the problem is solved. Please respond here if you still can reproduce this crash.
Comment 23 jmaldrich 2004-12-01 02:38:24 UTC
This is happening in Fedora Core 3, KDE 3.3.0-5, KMail 1.7. I am attempting to download a large amount of messages from a SpamCop.net IMap mail box to my local folders. I will attempt to POP them and see if KMail crashes on that as well. I strongly suspect that this is an IMAP problem, although I don't know if it's a problem with KMail or the IMAP server (RedHat 9's KMail didn't have this problem.)
Comment 24 Teemu Rytilahti 2005-01-21 19:24:07 UTC
Oops, it's still there. Crashed when running inside of Kontact.. Having ~3000 messages in IMAP inbox. BT:
Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1236638784 (LWP 16311)]
[KCrash handler]
#3  0xb56eeeef in KMHeaders::msgRemoved (this=0x82fc018, id=153967704, msgId=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8076070, static shared_null = 0x8076070}, d = 0x8501948, static shared_null = 0x8076070}, strippedSubjMD5=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8076070, static shared_null = 0x8076070}, d = 0xcad3038, static shared_null = 0x8076070})
    at /home/tpr/storage/kdecvs/kdepim/kmail/kmheaders.cpp:1042
#4  0xb56f7e41 in KMHeaders::qt_invoke (this=0x82fc018, _id=-1073749408, 
    _o=0xbfffe310) at kmheaders.moc:282
#5  0xb6cac51c in QObject::activate_signal ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#6  0xb572c8fc in KMFolder::msgRemoved (this=0x82a5c48, t0=1751345490, t1=)
    at kmfolder.moc:249
#7  0xb572d1a0 in KMFolder::qt_emit (this=0x82a5c48, _id=-1073749072, 
    _o=0xbfffe460) at kmfolder.moc:369
#8  0xb6cac551 in QObject::activate_signal ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#9  0xb5746c1c in FolderStorage::msgRemoved (this=0x82c3220, t0=1751345490, t1=
) at folderstorage.moc:263
#10 0xb5743e97 in FolderStorage::take (this=0x82c3220, idx=33)
    at /home/tpr/storage/kdecvs/kdepim/kmail/folderstorage.cpp:408
#11 0xb57c670b in KMFolderImap::take (this=0x82c3220, idx=33)
    at /home/tpr/storage/kdecvs/kdepim/kmail/kmfolderimap.cpp:513
#12 0xb572ab41 in KMFolder::take (this=0x82fd078, idx=1751345490)
    at /home/tpr/storage/kdecvs/kdepim/kmail/kmfolder.cpp:319
#13 0xb577c213 in KMFilterMgr::endFiltering (this=0x82cdf50, msgBase=0x99f7410)
    at /home/tpr/storage/kdecvs/kdepim/kmail/kmfiltermgr.cpp:168
#14 0xb577c74a in KMFilterMgr::process (this=0x82cdf50, msg=0x99f7410, 
    set=Explicit) at /home/tpr/storage/kdecvs/kdepim/kmail/kmfiltermgr.cpp:255
#15 0xb56ef62f in KMHeaders::slotFilterMsg (this=0x82fc018, msg=0x99f7410)
    at /home/tpr/storage/kdecvs/kdepim/kmail/kmheaders.cpp:1159
#16 0xb56f817d in KMHeaders::qt_invoke (this=0x82fc018, _id=135, _o=0xbfffe7b0)
    at kmheaders.moc:305
#17 0xb6cac51c in QObject::activate_signal ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#18 0xb5890c17 in KMail::FolderJob::messageRetrieved (this=0x99fb238, 
    t0=0x68636952) at folderjob.moc:129
#19 0xb5899d71 in KMail::ImapJob::slotGetMessageResult (this=0x99fb238, 
    job=0xba1) at /home/tpr/storage/kdecvs/kdepim/kmail/imapjob.cpp:418
#20 0xb589b173 in KMail::ImapJob::qt_invoke (this=0x99fb238, _id=2, 
    _o=0xbfffe960) at imapjob.moc:126
#21 0xb6cac51c in QObject::activate_signal ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#22 0xb790bf39 in KIO::Job::result (this=0x99fe168, t0=0x68636952)
    at jobclasses.moc:156
#23 0xb78f7a6c in KIO::Job::emitResult (this=0x99fe168)
    at /home/tpr/storage/kdecvs/kdelibs/kio/kio/job.cpp:217
#24 0xb78f8e84 in KIO::SimpleJob::slotFinished (this=0x99fe168)
    at /home/tpr/storage/kdecvs/kdelibs/kio/kio/job.cpp:536
#25 0xb78fb680 in KIO::TransferJob::slotFinished (this=0x99fe168)
    at /home/tpr/storage/kdecvs/kdelibs/kio/kio/job.cpp:896
#26 0xb790e2d1 in KIO::TransferJob::qt_invoke (this=0x99fe168, _id=161472872, 
    _o=0xbfffecf0) at jobclasses.moc:1050
#27 0xb6cac51c in QObject::activate_signal ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#28 0xb6cac344 in QObject::activate_signal ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#29 0xb78ea293 in KIO::SlaveInterface::finished (this=0x68636952)
    at slaveinterface.moc:226
#30 0xb78e8edf in KIO::SlaveInterface::dispatch (this=0x83ad500, _cmd=104, 
    rawdata=@0xbfffef90)
    at /home/tpr/storage/kdecvs/kdelibs/kio/kio/slaveinterface.cpp:237
#31 0xb78e864b in KIO::SlaveInterface::dispatch (this=0x83ad500)
    at /home/tpr/storage/kdecvs/kdelibs/kio/kio/slaveinterface.cpp:173
#32 0xb78e61ed in KIO::Slave::gotInput (this=0x83ad500)
    at /home/tpr/storage/kdecvs/kdelibs/kio/kio/slave.cpp:300
#33 0xb78e7b88 in KIO::Slave::qt_invoke (this=0x83ad500, _id=4, _o=0xbffff0d0)
    at slave.moc:113
#34 0xb6cac51c in QObject::activate_signal ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#35 0xb6cac67d in QObject::activate_signal ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#36 0xb6ff2e52 in QSocketNotifier::activated ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#37 0xb6cc8ce0 in QSocketNotifier::event ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#38 0xb6c4f47f in QApplication::internalNotify ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#39 0xb6c4ea7e in QApplication::notify ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#40 0xb72e467b in KApplication::notify (this=0xbffff6b0, receiver=0x83ac808, 
    event=0xbffff460)
    at /home/tpr/storage/kdecvs/kdelibs/kdecore/kapplication.cpp:549
#41 0xb6c3ee7a in QEventLoop::activateSocketNotifiers ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#42 0xb6bf9553 in QEventLoop::processEvents ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#43 0xb6c61f08 in QEventLoop::enterLoop ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#44 0xb6c61db8 in QEventLoop::exec ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#45 0xb6c4f6d1 in QApplication::exec ()
   from /home/tpr/kde/qt-copy/lib/libqt-mt.so.3
#46 0x0805d1cc in main (argc=1751345490, argv=0x68636952)
    at /home/tpr/storage/kdecvs/kdepim/kontact/src/main.cpp:163
Comment 25 John Aldrich 2005-01-27 23:14:44 UTC
I can confirm it is still happening with KMail 1.7.1 in Fedora Core 3 (KDE 3.3.1-2.6FC3.) It happens to me with as few as 2-300 messages in the IMAP inbox. Trying to filter those to local folders will result in a crash. However, I can typically download / filter the emails to local folders if it's less than 100 messages (say 50-60 emails.)

System is an Athlon 1100 with 1.3 gigs ram and almost 100 gigs of drivespace. I'm pretty sure we can eliminate system problems such as drivespace, memory, and cpu from the list of causes.
Comment 26 Andreas Gungl 2005-02-12 20:47:22 UTC
Those who were able to reproduce the problem, can you test again with KMail compiled from CVS HEAD? There was a recent fix for crashes when moving messages out of folders in threaded mode (w/o subject threading).

If you're using filters which manipulate the message (e.g. rewrite subject) and move it out of a folder with subject threading, then the crashes are likely duplicates of http://bugs.kde.org/show_bug.cgi?id=94043

Some feeback would be great. TIA, Andreas
Comment 27 Till Adam 2005-02-16 21:31:54 UTC
Assigning to myself so I remember to close it when people confirm that it works fine with KMail > 1.8beta2 which I'm confident it does. Yeah, I know, I thought before I had it fixed, but I think I really got it this time. Really. :)
Comment 28 Andreas Gungl 2005-04-01 14:43:40 UTC
Till, I guess it's save to close this one. Everybody else, feel free to reopen when you can reproduce the crash again.
Comment 29 eldoc 2005-05-12 19:45:57 UTC
This Bug persists in Debian unstable Kmail 1.7.2.

I had a crash after a CTRL+A CTRL+J for the second time.

I now have to change to thunderbird. I can't affort loosing my mails and mail people and ask them to resent their mail.

Please mark this bug as critical/data loss.

See, all mails from 02.05.05. upto now (12.05.05) are gone!

Thanks
P.S. I will misss the features of Kmail...
Comment 30 Andreas Gungl 2005-05-13 05:58:55 UTC
This one has been fixed for KDE 3.4 (KMail 1.8). It's a serious bug, but you can upgrade KMail and it's gone.
So why should we mark it as critial any longer?
Comment 31 Dror Levin 2005-06-06 17:36:30 UTC
I have kde 3.4.1 (kmail 1.8.1) and I just had this bug.
I marked all the messages in my inbox (I had 2048 messages) and applied a filter. kmail started eating a lot of memory until it was killed (by the kernel, I assume). When I reopened it a lot of messages in my inbox were duplicated and I had to mark the duplicates one by one and delete them.
Comment 32 Andreas Gungl 2005-06-06 20:22:51 UTC
Can you provide more details? Is your inbox a local folder or on an IMAP 
account? What should the filter do? How did you trigger the filter? Can you 
log the filter actions? What results do you expect and what happend? Is a 
move action or a copy action involved? If yes, is the target folder a local 
folder or on an IMAP server?
Was KMail oom killed by the kernel? Can you reproduce this crash? Is there a 
chance to get a backtrace including debug information?

Those crashes are pretty hard to track down. If nobody is able to reproduce 
them, it's nearly impossible. So we need all help which is available out 
there.
Comment 33 Sebastian Krämer 2005-06-06 20:35:14 UTC
I'm using kmail from kde 3.4.1 on gentoo and didn't encounter any problems regarding this for a long time (since I subscribed to this bug report).
My filters take input from an imap, they check mostly the subject field and go to local folders.
I usually don't have more than 20 messages to filter at a time. 
Hope that info helps in some way (although i see it's more helpful to get info from someone who has problems/crashes..)
I'll stay subscribed but regarding me, this bug could be closed... Thanks
Comment 34 Dror Levin 2005-06-06 21:07:51 UTC
It's a local, maildir mailbox.
The filter is pretty as simple as it can get, it just moves messages to another local folder where the "To" fields matches some string. I selected all the messages in the folder, right clicked, selected "Apply Filter" and then clicked on the filter I wanted.
After I applied the filter kmail kept taking more and more memory until it disappeared, which is why I think the kernel killed it, the memory and the swap were full.
Comment 35 Christophe Marin 2008-11-14 15:37:01 UTC
*** Bug 175103 has been marked as a duplicate of this bug. ***