Bug 108971

Summary: Moving mail between folders causes crash
Product: [Applications] kmail Reporter: alan
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: aremo, argray, blabj, bss, cx, dan.dickey, d_baron, kde-bugs, kde, kde, kdebug, martin, myriam, ndbecker2, pvdbroucke, rdieter, silver, thomas.kraemer
Priority: NOR    
Version: 1.9.6   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description alan 2005-07-12 08:12:21 UTC
Version:           1.8.1 (using KDE 3.4.1, Debian Package 4:3.4.1-1 (3.1))
Compiler:          gcc version 3.3.6 (Debian 1:3.3.6-5)
OS:                Linux (i686) release 2.6.11-1-k7

I have some mailing list folders which I unsubscribed from several weeks ago.  These folders did not have expiry settings.

In order to clear them out - I tried to set the two expiry flags (for read and unread e-mails) to thirty days.  As soon as I exit the dialog kmail immediately crashes.

If I manually select all mails in the folder, and delete them, and then set the expiry flags kmail does not crash.


This is repeatable in several folders/

Both folders were nested maildirs.

Crash dump - infortunately no debugging symbols as debian binary package.

(no debugging symbols found)
Using host libthread_db library "/lib/tls/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)
(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 -1246795808 (LWP 7450)]
(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)
(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)
[KCrash handler]
#3  0xb7e53402 in KMMoveCommand::execute () from /usr/lib/libkmailprivate.so
#4  0xb7e49cba in KMCommand::slotPostTransfer ()
   from /usr/lib/libkmailprivate.so
#5  0xb7e43052 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#6  0xb7e46eed in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#7  0xb7e47371 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#8  0xb71f871c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#9  0xb7e42eba in KMCommand::messagesTransfered ()
   from /usr/lib/libkmailprivate.so
#10 0xb7e49d0a in KMCommand::transferSelectedMsgs ()
   from /usr/lib/libkmailprivate.so
#11 0xb7e49adb in KMCommand::slotStart () from /usr/lib/libkmailprivate.so
#12 0xb7e4303c in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#13 0xb7e46eed in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#14 0xb7e47371 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#15 0xb71f871c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0xb753762a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#17 0xb721291d in QSignal::activate () from /usr/lib/libqt-mt.so.3
#18 0xb721a253 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#19 0xb719be1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#20 0xb719b41e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#21 0xb774eac5 in KApplication::notify () from /usr/lib/libkdecore.so.4
#22 0xb718b645 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#23 0xb7144cfb in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#24 0xb71ae1d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#25 0xb71ae088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#26 0xb719c071 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#27 0x0804a0b4 in ?? ()
#28 0xbffff920 in ?? ()
#29 0xbffff830 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0xb763fc40 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#33 0x0814b038 in ?? ()
#34 0x00000000 in ?? ()
#35 0xb7a0dc40 in __after_morecore_hook () from /lib/tls/libc.so.6
#36 0xb7fb97d0 in vtable for KMKernel () from /usr/lib/libkmailprivate.so
#37 0xb78f0974 in __libc_start_main () from /lib/tls/libc.so.6
#38 0xb78f0974 in __libc_start_main () from /lib/tls/libc.so.6
#39 0x08049e11 in ?? ()
Comment 1 Colm Connolly 2005-07-22 11:36:01 UTC
I've got exactly the same problem. It may be the same as these reports.
http://bugs.kde.org/show_bug.cgi?id=108799
http://bugs.kde.org/show_bug.cgi?id=106121
Comment 2 Tommi Tervo 2005-09-21 10:44:13 UTC
*** Bug 112989 has been marked as a duplicate of this bug. ***
Comment 3 Tommi Tervo 2005-09-21 10:45:26 UTC
*** Bug 108799 has been marked as a duplicate of this bug. ***
Comment 4 Tommi Tervo 2005-09-30 19:25:42 UTC

*** This bug has been marked as a duplicate of 101161 ***
Comment 5 Tommi Tervo 2005-10-13 11:14:45 UTC
*** Bug 114310 has been marked as a duplicate of this bug. ***
Comment 6 Tommi Tervo 2005-11-17 13:39:38 UTC
*** Bug 116477 has been marked as a duplicate of this bug. ***
Comment 7 Andre Kloth 2006-01-02 19:49:02 UTC
I can reproduce this bug in kmail 1.9.

I had no expire set on a folder, whose messages all older than the expire value of 30 days. When trying to set an expire (while closing the expire dialog), kmail crashes.

This does not happen, when threading of the messages is disabled.
Comment 8 Alexandros Papadopoulos 2006-07-07 09:55:22 UTC
Ubuntu Dapper 6.06 with KMail 1.9.1 - reproducible:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
<snip>
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1241557312 (LWP 7479)]
[New Thread -1279497296 (LWP 7507)]
[New Thread -1271104592 (LWP 7506)]
[New Thread -1262711888 (LWP 7505)]
[New Thread -1254319184 (LWP 7504)]
(no debugging symbols found)
<snip>
(no debugging symbols found)
[KCrash handler]
#6  0x00000071 in ?? ()
#7  0xb5451690 in DwField::~DwField () from /usr/lib/libmimelib.so.1
#8  0xb544b18a in DwHeaders::DeleteAllFields () from /usr/lib/libmimelib.so.1
#9  0xb5450a84 in DwHeaders::~DwHeaders () from /usr/lib/libmimelib.so.1
#10 0xb545113e in DwEntity::~DwEntity () from /usr/lib/libmimelib.so.1
#11 0xb5451185 in DwMessage::~DwMessage () from /usr/lib/libmimelib.so.1
#12 0xb564ad5a in KMMessage::~KMMessage () from /usr/lib/libkmailprivate.so
#13 0xb583bd49 in KMMoveCommand::execute () from /usr/lib/libkmailprivate.so
#14 0xb582f162 in KMCommand::slotPostTransfer ()
   from /usr/lib/libkmailprivate.so
#15 0xb5834bbf in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#16 0xb5834e2f in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#17 0xb5834ea4 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#18 0xb7046e29 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0xb582e13c in KMCommand::messagesTransfered ()
   from /usr/lib/libkmailprivate.so
#20 0xb5834771 in KMCommand::transferSelectedMsgs ()
   from /usr/lib/libkmailprivate.so
#21 0xb58349c9 in KMCommand::slotStart () from /usr/lib/libkmailprivate.so
#22 0xb5834bd1 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#23 0xb5834e2f in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#24 0xb5834ea4 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#25 0xb7046e29 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#26 0xb73d9e1a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#27 0xb70645a0 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#28 0xb706c090 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#29 0xb6fdcdc6 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#30 0xb6fdcfc2 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#31 0xb76dbd7d in KApplication::notify () from /usr/lib/libkdecore.so.4
#32 0xb6f6e0ef in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#33 0xb6fce7b3 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#34 0xb6f81eff in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#35 0xb6ff58b7 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#36 0xb6ff57da in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#37 0xb6fdb8d5 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#38 0x0805ab01 in ?? ()
#39 0xbfa45870 in ?? ()
#40 0x00000001 in ?? ()
#41 0x00000001 in ?? ()
#42 0x00000000 in ?? ()
<end>
Comment 9 Andreas Gungl 2006-07-07 10:45:12 UTC
> ------- Ubuntu Dapper 6.06 with KMail 1.9.1 - reproducible:


Please give 1.9.2 or 1.9.3 a try and report back. Chances are good that this 
has been fixed.
Comment 10 alan 2007-01-02 00:01:32 UTC
It is not fixed.  I now have 1.9.5 and it has just crashed again

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/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)
(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 -1249642272 (LWP 9124)]
[New Thread -1279931472 (LWP 9128)]
[New Thread -1271538768 (LWP 9127)]
[New Thread -1263146064 (LWP 9126)]
[New Thread -1254753360 (LWP 9125)]
(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)
(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)
[KCrash handler]
#9  0xb7c12cfc in KMMoveCommand::execute () from /usr/lib/libkmailprivate.so
#10 0xb7b890c9 in KMCommand::slotPostTransfer ()
   from /usr/lib/libkmailprivate.so
#11 0xb7c146c6 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#12 0xb7c14a9b in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#13 0xb7c14b33 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#14 0xb705fd4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0xb7b891ee in KMCommand::messagesTransfered ()
   from /usr/lib/libkmailprivate.so
#16 0xb7c74dd4 in KMCommand::transferSelectedMsgs ()
   from /usr/lib/libkmailprivate.so
#17 0xb7c74f37 in KMCommand::slotStart () from /usr/lib/libkmailprivate.so
#18 0xb7c146d8 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#19 0xb7c14a9b in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#20 0xb7c14b33 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#21 0xb705fd4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xb73e8d8b in QSignal::signal () from /usr/lib/libqt-mt.so.3
#23 0xb707f8d2 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#24 0xb70872a4 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#25 0xb6ff7c26 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#26 0xb6ff9a43 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#27 0xb771fe0e in KApplication::notify () from /usr/lib/libkdecore.so.4
#28 0xb6f8b421 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#29 0xb6fea623 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#30 0xb6f9f76f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#31 0xb7012179 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#32 0xb7011f9a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#33 0xb6ff97bf in QApplication::exec () from /usr/lib/libqt-mt.so.3
#34 0x0804a094 in ?? ()
#35 0xbfe86724 in ?? ()
#36 0xbfe86910 in ?? ()
#37 0x00000000 in ?? ()
Comment 11 Thomas McGuire 2007-03-02 16:59:37 UTC
*** Bug 128593 has been marked as a duplicate of this bug. ***
Comment 12 Thomas McGuire 2007-03-02 16:59:51 UTC
*** Bug 127417 has been marked as a duplicate of this bug. ***
Comment 13 Thomas McGuire 2007-03-02 17:03:13 UTC
*** Bug 142393 has been marked as a duplicate of this bug. ***
Comment 14 Dan A. Dickey 2007-03-08 14:17:22 UTC
Still crashes in 1.9.6 also.
Comment 15 Tommi Tervo 2007-04-27 10:48:59 UTC
*** Bug 144735 has been marked as a duplicate of this bug. ***
Comment 16 Thomas McGuire 2007-05-14 16:30:42 UTC
*** Bug 138334 has been marked as a duplicate of this bug. ***
Comment 17 Thomas McGuire 2007-05-14 16:32:45 UTC
*** Bug 134702 has been marked as a duplicate of this bug. ***
Comment 18 Thomas McGuire 2007-05-14 16:33:15 UTC
*** Bug 145419 has been marked as a duplicate of this bug. ***
Comment 19 Thomas McGuire 2007-05-14 16:36:28 UTC
Changing title. The crash is caused by generally moving messages between IMAP folders. Deleting messages and switching on expiry (which deletes mail) both move mail.

Changing version as of comment #14.
Comment 20 Thomas McGuire 2007-05-14 22:24:13 UTC
This bug seems not to be limited to IMAP, changing the details to take that into account. Sorry for the noise.
Comment 21 Thomas McGuire 2007-06-25 12:57:04 UTC
*** Bug 147184 has been marked as a duplicate of this bug. ***
Comment 22 Bruno Virlet 2007-07-23 13:24:29 UTC
This has been fixed by Volker.
Comment 23 Thomas McGuire 2007-08-22 12:43:13 UTC
*** Bug 149040 has been marked as a duplicate of this bug. ***
Comment 24 Thomas McGuire 2007-08-29 19:53:23 UTC
*** Bug 149342 has been marked as a duplicate of this bug. ***
Comment 25 Thomas McGuire 2007-11-29 18:36:16 UTC
*** Bug 153135 has been marked as a duplicate of this bug. ***
Comment 26 Tommi Tervo 2007-12-13 08:59:09 UTC
*** Bug 153952 has been marked as a duplicate of this bug. ***