Bug 58955 - kmail crashes when changing folders while IMAP transfer is in progress
Summary: kmail crashes when changing folders while IMAP transfer is in progress
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-26 03:47 UTC by Adam Hunt
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 Adam Hunt 2003-05-26 03:47:57 UTC
Version:           1.5.9 (using KDE 3.1.9)
Compiler:          gcc version 3.2.3
OS:          Linux (i686) release 2.4.20-ck6

Using KMail to check my IMAP account if I change between IMAP folders while a IMAP transfer (i.e. message delete) is in progress KMail crashes.  An easy way to reproduce this is to select a bunch of messags (only takes a few for me because of my 56k connection transfers take longer giving me more time to click on a new folder) hit "D" or "del" to delete the sellected messages then while that is happening click on a different IMAP folder.  Crashes every time.

Here is the back trace:

(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)...[New Thread 16384 (LWP 18233)]

(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)...0x416bcaf9 in wait4 () from /lib/libc.so.6
#0  0x416bcaf9 in wait4 () from /lib/libc.so.6
#1  0x4172ff60 in sys_sigabbrev () from /lib/libc.so.6
#2  0x414ea061 in waitpid () from /lib/libpthread.so.0
#3  0x40cf4bcf in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#4  0x416499c8 in sigaction () from /lib/libc.so.6
#5  0x081fa9a5 in KMail::ImapJob::staticMetaObject() ()
#6  0x41055c42 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#7  0x40824586 in KIO::Job::result(KIO::Job*) () from /usr/lib/libkio.so.4
#8  0x408121de in KIO::Job::emitResult() () from /usr/lib/libkio.so.4
#9  0x4081343f in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.4
#10 0x408159a5 in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.4
#11 0x408258b0 in KIO::TransferJob::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkio.so.4
#12 0x41055c42 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#13 0x41055aff in QObject::activate_signal(int) () from /usr/lib/libqt-mt.so.3
#14 0x408097e4 in KIO::SlaveInterface::finished() () from /usr/lib/libkio.so.4
#15 0x40808803 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) ()
   from /usr/lib/libkio.so.4
#16 0x40807f19 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.4
#17 0x40805ed8 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.4
#18 0x4080771d in KIO::Slave::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkio.so.4
#19 0x41055c42 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#20 0x41055cf3 in QObject::activate_signal(int, int) ()
   from /usr/lib/libqt-mt.so.3
#21 0x412be665 in QSocketNotifier::activated(int) ()
   from /usr/lib/libqt-mt.so.3
#22 0x4106dd64 in QSocketNotifier::event(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#23 0x41001c66 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#24 0x410018a7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#25 0x40c87e74 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#26 0x40fe0020 in QEventLoop::activateSocketNotifiers() ()
   from /usr/lib/libqt-mt.so.3
#27 0x40fc0e1d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/libqt-mt.so.3
#28 0x41013223 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#29 0x410130e0 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#30 0x41001e60 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
#31 0x08094443 in QComboBox::setEditText(QString const&) ()
#32 0x41638a51 in __libc_start_main () from /lib/libc.so.6

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Here is a copy of stderr (from just before the crash up to the sig11) copied from my console when I start a kmail session from the command line:

SSERT: "mTransferInProgress >= 0 && mTransferInProgress <= 1" in ../../kmail/kmmessage.cpp (3514)
ASSERT: "mTransferInProgress >= 0 && mTransferInProgress <= 1" in ../../kmail/kmmessage.cpp (3514)
ASSERT: "mTransferInProgress >= 0 && mTransferInProgress <= 1" in ../../kmail/kmmessage.cpp (3514)
ASSERT: "!transferInProgress()" in ../../kmail/kmmessage.cpp (215)
ASSERT: "!transferInProgress()" in ../../kmail/kmmessage.cpp (215)
ASSERT: "!transferInProgress()" in ../../kmail/kmmessage.cpp (215)
ASSERT: "mTransferInProgress >= 0 && mTransferInProgress <= 1" in ../../kmail/kmmessage.cpp (3514)
ASSERT: "!transferInProgress()" in ../../kmail/kmmessage.cpp (215)
*** KMail got signal 11 (Crashing)
Comment 1 Till Adam 2003-05-26 11:26:58 UTC
I believe this is fixed in cvs. Could you try and confirm that, please? 
Comment 2 Adam Hunt 2003-05-26 12:17:50 UTC
Subject: Re:  kmail crashes when changing folders while IMAP transfer is in progress

> I believe this is fixed in cvs. Could you try and confirm that, please? 
> 
 
I am running using James "orth" Greenhalgh's CVS HEAD Debian packages from 
05.22.2003.  I'll try to get arround to building the current source if he
James 
doesn't release a new package before me but I am kind of busy right now. 
 
Thanks. 

Comment 3 Adam Hunt 2003-06-01 11:40:26 UTC
Adam, 
 
I just upgraded kmail.  I am now using "3.2.0-0+cvs20030531+orth".  It was built from 
KDE CVS HEAD 5.31.2003.  It still crashes under the previously described conditions. 
 
What can I do to help?  Is there any other debug information I can submit? 
 
Thanks. 
 
--adam 
 
 
Comment 4 Till Adam 2003-06-05 13:07:01 UTC
Closing, as Adam reports in private mail that cvs no longer crashes for him. I guess 
we can consider this issue fixed for kmail 1.6. 
Comment 5 Till Adam 2003-06-05 17:07:32 UTC
*** Bug has been marked as fixed ***.