Bug 63821 - Deleting three or more mails will crash kmail
Summary: Deleting three or more mails will crash kmail
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-06 19:13 UTC by christian muehlhaeuser
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description christian muehlhaeuser 2003-09-06 19:13:27 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

KMail crashes, if I'm going to delete *three* or more messages. This is reproducable with any kind of mail. No matter wether html embedded, attachments or whatever.

I'm using IMAP, my INBOX is filled with 1042 messages.

Here comes the backtrace:

(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 4612)]

(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)...
0x4190f3d1 in waitpid () from /lib/libpthread.so.0
#0  0x4190f3d1 in waitpid () from /lib/libpthread.so.0
#1  0x40f76302 in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#2  0x4190e12d in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x0824570a in KMail::MboxJob::staticMetaObject() ()
#5  0x08247124 in KMail::ImapJob::staticMetaObject() ()
#6  0x4130ec5c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#7  0x409297ba in KIO::Job::result(KIO::Job*) () from /usr/lib/libkio.so.4
#8  0x409155c7 in KIO::Job::emitResult() () from /usr/lib/libkio.so.4
#9  0x40916b3e in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.4
#10 0x4091973e in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.4
#11 0x4092af9d in KIO::TransferJob::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkio.so.4
#12 0x4130ec5c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#13 0x4130ea94 in QObject::activate_signal(int) () from /usr/lib/libqt-mt.so.3
#14 0x4090951e in KIO::SlaveInterface::finished() () from /usr/lib/libkio.so.4
#15 0x409081c8 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) ()
   from /usr/lib/libkio.so.4
#16 0x40907819 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.4
#17 0x409051fb in KIO::Slave::gotInput() () from /usr/lib/libkio.so.4
#18 0x40906d98 in KIO::Slave::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkio.so.4
#19 0x4130ec5c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#20 0x4130edbd in QObject::activate_signal(int, int) ()
   from /usr/lib/libqt-mt.so.3
#21 0x415ef262 in QSocketNotifier::activated(int) ()
   from /usr/lib/libqt-mt.so.3
#22 0x4132a7b0 in QSocketNotifier::event(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#23 0x412b757f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#24 0x412b6b8b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#25 0x40ee1e91 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#26 0x412a74aa in QEventLoop::activateSocketNotifiers() ()
   from /usr/lib/libqt-mt.so.3
#27 0x41266f48 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/libqt-mt.so.3
#28 0x412c939f in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#29 0x412c9254 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#30 0x412b77c1 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
#31 0x08095ef4 in ?? ()
#32 0xbffffa90 in ?? ()
#33 0xbffff9b0 in ?? ()
Comment 1 Carsten Burghardt 2003-09-06 21:57:18 UTC
Subject: Re:  New: Deleting three or more mails will crash kmail

On Saturday 06 September 2003 19:13, christian muehlhaeuser wrote:
> KMail crashes, if I'm going to delete *three* or more messages. This is
> reproducable with any kind of mail. No matter wether html embedded,
> attachments or whatever.
>
> I'm using IMAP, my INBOX is filled with 1042 messages.
>
> Here comes the backtrace:
>
> (no debugging symbols found)...(no debugging symbols found)...[New Thread

Can you compile kmail with --enable-debug=yes and send us the backtrace?

Comment 2 christian muehlhaeuser 2003-09-07 05:08:43 UTC
I recompiled my kmail sources with debug=yes and tried to speed things up by
unsubscribing from several INBOX sub-folders. Suddenly the mail deletion problem
disappeared and the whole application feels _a lot_ quicker and responsive. I
counted 35000 mails in all my subfolders. Plus, another bug disappeared: Before
this, a click on the "OK" button in the configuration, would have crashed my
kmail, too. Not anymore, but it seems that kmail (might read: kmail / cyrus
imap) has a problem with a large amount of mail.

I'm afraid, I'm not able to reproduce this bug anymore right now. I might go and
try to subscribe again later, but I think one should look after this problem
anyway, since mail amounts will get larger and larger ;-)

During the "unsubscribing session" I noticed another bug:
http://bugs.kde.org/show_bug.cgi?id=63837
Comment 3 Stephan Kulow 2003-09-20 18:47:31 UTC
WORKSFORHIM :) 
 
Christian, if you can't reproduce it, neither can we. The stack trace looks 
like random memory corruption. Perhaps you can reproduce it some other 
way - just keep on trying with your debug build.