Bug 127417 - Strange Crash on Expiring Folders
Summary: Strange Crash on Expiring Folders
Status: RESOLVED DUPLICATE of bug 108971
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.9.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 130305 131692 134080 134089 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-16 08:27 UTC by David Baron
Modified: 2007-09-14 12:17 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Baron 2006-05-16 08:27:48 UTC
Version:           1.9.1 (using KDE 3.5.2, compiled sources)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.16-davidb

I found that all my expiry settings had been lost somewhere along the line. So I went to renew them. Checked numbers of days, permanent deletion, clicked expire. Crash.

Crash dump has no useful information.

Restarted kmail, repeated, crash.

However, if I manually move one message, any message, out of the folder before expiring, it works just fine.
Comment 1 Brad Hards 2006-05-16 09:28:57 UTC
Can you try this test:
1. Select a message that is older than the expiry period, and change the expiry on the folder.
2. Select a message that is newer (e.g. today) than the expiry period, and change the expiry on the folder.

Does the first one crash, and not the second?
Comment 2 David Baron 2006-05-16 10:04:48 UTC
The first one crashed, the second (newer selection) did not!
Comment 3 Yves Glodt 2006-08-13 15:11:19 UTC
I think I can also reproduce this bug, I have kmail 1.9.3 and KDE 3.5.4.

I found kmail crashing today when I activated expiring of mails older than
30 days (for read as well as unread mail).

I noticed later the folder only contains mail until 10.2005, so the expiring
should in fact delete all the mail in the folder, but instead it crashes kmail, 100% reproducible... Backtrace:


[KCrash handler]
#6  0xa7ddf76c in KMMoveCommand::execute () from /usr/lib/libkmailprivate.so
#7  0xa7dd1ef9 in KMCommand::slotPostTransfer ()
   from /usr/lib/libkmailprivate.so
#8  0xa7dd9ab6 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#9  0xa7dd9d9b in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#10 0xa7dd9e33 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#11 0xa735ab87 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0xa7dd21fe in KMCommand::messagesTransfered ()
   from /usr/lib/libkmailprivate.so
#13 0xa7dda944 in KMCommand::transferSelectedMsgs ()
   from /usr/lib/libkmailprivate.so
#14 0xa7ddaaa7 in KMCommand::slotStart () from /usr/lib/libkmailprivate.so
#15 0xa7dd9ac8 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#16 0xa7dd9d9b in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#17 0xa7dd9e33 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#18 0xa735ab87 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0xa76e3bcb in QSignal::signal () from /usr/lib/libqt-mt.so.3
#20 0xa737a70a in QSignal::activate () from /usr/lib/libqt-mt.so.3
#21 0xa73820dc in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#22 0xa72f2aea in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#23 0xa72f4907 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#24 0xa6fbf52e in KApplication::notify () from /usr/lib/libkdecore.so.4
#25 0xa72863d1 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#26 0xa72e54e7 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#27 0xa729a71f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#28 0xa730d03d in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#29 0xa730ce5e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#30 0xa72f4683 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#31 0x0804a094 in ?? ()
#32 0xaffbfff4 in ?? ()
#33 0xaffc01e0 in ?? ()
#34 0x00000000 in ?? ()
Comment 4 Allen Winter 2006-08-13 15:24:37 UTC
I tried this experiment and cannot manage a crash.

Can anyone who reported this crash perhaps rebuild the kdepim 3.5.4
source with --enable-debug=full and try again to get a backtrace?
This may provide us with actual line numbers in the source code
where the crash is happening.
Comment 5 Michael Seiwert 2006-08-13 15:56:33 UTC
I tried this on two different folders with mail older than 30 day but without any crash.
Comment 6 David Anderson 2006-09-05 19:58:09 UTC
I get this crash - KDE 3.5.4 (Fedora Core 5). I came to bugs.kde.org to file a new bug, but this seems to be the one. Tried 3 times, got a crash each time.

I installed the debuginfo packages in order to produce a backtrace, but then it stopped crashing. Otherwise, it looked like the one above.

If I get it again, I'll post here.
Comment 7 Tommi Tervo 2006-09-14 21:23:31 UTC
*** Bug 134080 has been marked as a duplicate of this bug. ***
Comment 8 Tommi Tervo 2006-09-14 21:24:01 UTC
*** Bug 131692 has been marked as a duplicate of this bug. ***
Comment 9 Michael Seiwert 2006-09-15 07:26:00 UTC
*** Bug 134089 has been marked as a duplicate of this bug. ***
Comment 10 Philip Rodrigues 2006-09-20 10:54:09 UTC
*** Bug 130305 has been marked as a duplicate of this bug. ***
Comment 11 Thomas McGuire 2007-03-02 16:59:48 UTC

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