Version: 1.8.1 (using KDE KDE 3.4.1) Installed from: Debian testing/unstable Packages OS: Linux It is similar to bug 63821 but it can be reproduced by installing kde experimental packages.
Created attachment 11541 [details] Stack trace
If you're using kdepim HEAD then please compile with --enable-debug=yes as otherwise the stacktrace is useless.
#4 0x47838b12 in KMMsgBase::transferInProgress () from /usr/lib/libkmailprivate.so #5 0x4793566d in KMail::ImapJob::slotGetBodyStructureResult () from /usr/lib/libkmailprivate.so #6 0x47936a84 in KMail::ImapJob::qt_invoke () from /usr/lib/libkmailprivate.so #7 0x45bd9f9c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #8 0x466e0eea in KIO::Job::result () from /usr/lib/libkio.so.4 #9 0x466c91dc in KIO::Job::emitResult () from /usr/lib/libkio.so.4 #10 0x466ca6fc in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4 #11 0x466cdb7e in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.4 #12 0x466e2ecd in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4 #13 0x45bd9f9c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #14 0x45bd9dc4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #15 0x466bf3ee in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4 #16 0x466bdf51 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4 #17 0x466bd459 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4 #18 0x466bae8b in KIO::Slave::gotInput () from /usr/lib/libkio.so.4 #19 0x466bcba8 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4 #20 0x45bd9f9c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #21 0x45bda0fd in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #22 0x45f19cd2 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3 #23 0x45bf6780 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3 #24 0x45b7d69f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #25 0x45b7cc9e in QApplication::notify () from /usr/lib/libqt-mt.so.3 #26 0x46106a85 in KApplication::notify () from /usr/lib/libkdecore.so.4 #27 0x45b6d09a in QEventLoop::activateSocketNotifiers () from /usr/lib/libqt-mt.so.3 #28 0x45b26533 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #29 0x45b8fa58 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #30 0x45b8f908 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #31 0x45b7d8f1 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #32 0x0805877b in ?? () #33 0xbffffa00 in ?? () #34 0x00000001 in ?? () #35 0x00000001 in ?? () #36 0x00000000 in ?? () #37 0x00000000 in ?? () #38 0x00000001 in ?? () #39 0x08065d20 in _IO_stdin_used () #40 0x00000000 in ?? () #41 0x08065151 in _IO_stdin_used () #42 0x0806513d in _IO_stdin_used () #43 0xbffffa28 in ?? () #44 0xb7fbf14e in operator new () from /usr/lib/libstdc++.so.5 #45 0x4bec2974 in __libc_start_main () from /lib/tls/libc.so.6 #46 0x08057ea1 in ?? ()
On Saturday 25 June 2005 06:15, Thiago Macieira wrote: > ------- Additional Comments From thiago kde org 2005-06-25 06:15 ------- > #4 0x47838b12 in KMMsgBase::transferInProgress () > from /usr/lib/libkmailprivate.so > #5 0x4793566d in KMail::ImapJob::slotGetBodyStructureResult () > from /usr/lib/libkmailprivate.so > #6 0x47936a84 in KMail::ImapJob::qt_invoke () > from /usr/lib/libkmailprivate.so > #7 0x45bd9f9c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 This reminds me of the crashes were were seeing with closed folders, a while back. Are these "experimental" packaged from trunk? If so, Carsten do you think your recent removal of an open/close pair from slotGetMessagesData might have something to do with the re-appearance of these crashes?
Am Saturday 25 June 2005 09:51 schrieb Till Adam: > On Saturday 25 June 2005 06:15, Thiago Macieira wrote: > > ------- Additional Comments From thiago kde org 2005-06-25 06:15 ------- > > #4 0x47838b12 in KMMsgBase::transferInProgress () > > from /usr/lib/libkmailprivate.so > > #5 0x4793566d in KMail::ImapJob::slotGetBodyStructureResult () > > from /usr/lib/libkmailprivate.so > > #6 0x47936a84 in KMail::ImapJob::qt_invoke () > > from /usr/lib/libkmailprivate.so > > #7 0x45bd9f9c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 > > This reminds me of the crashes were were seeing with closed folders, a > while back. Are these "experimental" packaged from trunk? If so, Carsten do > you think your recent removal of an open/close pair from > slotGetMessagesData might have something to do with the re-appearance of > these crashes? Then an open at another place would be missing. Thiago, do you use a local trash or is your trash on the imap server? Carsten
I can't reproduce it. I've just pasted the attachment so that i could use simple-dup-finder.cgi.
SVN commit 429050 by burghard: Make getFolder handle it's own open/close sequence. That should fix current imap crashes. CCMAIL:108100@bugs.kde.org CCMAIL:107914@bugs.kde.org M +10 -8 kmfolderimap.cpp --- trunk/KDE/kdepim/kmail/kmfolderimap.cpp #429049:429050 @@ -984,6 +984,7 @@ { if (!mAccount) { emit folderComplete(this, false); + close(); return; } KURL url = mAccount->getUrl(); @@ -999,6 +1000,7 @@ kdDebug(5006) << "KMFolderImap::checkValidity - got no connection" << endl; emit folderComplete(this, FALSE); mContentState = imapNoInformation; + close(); return; } else if ( connectionState == ImapAccountBase::Connecting ) { // We'll wait for the connectionResult signal from the account. If it @@ -1011,6 +1013,7 @@ // Only check once at a time. if (mCheckingValidity) { kdDebug(5006) << "KMFolderImap::checkValidity - already checking" << endl; + close(); return; } // otherwise we already are inside a mailcheck @@ -1074,6 +1077,7 @@ } mContentState = imapNoInformation; emit folderComplete(this, FALSE); + close(); } else { QCString cstr((*it).data.data(), (*it).data.size() + 1); int a = cstr.find("X-uidValidity: "); @@ -1151,6 +1155,7 @@ emit folderComplete(this, true); return; } + open(); mContentState = imapInProgress; if (force) { // force an update @@ -1168,6 +1173,7 @@ { mContentState = imapNoInformation; emit folderComplete(this, FALSE); + close(); return; } quiet(true); @@ -1218,6 +1224,7 @@ mContentState = imapNoInformation; emit folderComplete(this, FALSE); mAccount->removeJob(it); + close(); return; } mCheckFlags = FALSE; @@ -1274,6 +1281,7 @@ mContentState = imapFinished; emit folderComplete(this, TRUE); mAccount->removeJob(it); + close(); return; } if ( mMailCheckProgressItem ) @@ -1291,14 +1299,6 @@ else sets = makeSets( (*it).items ); mAccount->removeJob(it); // don't use *it below - // make sure we have a connection - if ( mAccount->makeConnection() != ImapAccountBase::Connected ) - { - quiet(false); - emit folderComplete(this, FALSE); - return; - } - // Now kick off the getting of envelopes for the new mails in the folder for (QStringList::Iterator i = sets.begin(); i != sets.end(); ++i) { @@ -1580,6 +1580,7 @@ mContentState = imapNoInformation; quiet( false ); emit folderComplete(this, false); + close(); } else { @@ -1588,6 +1589,7 @@ mContentState = imapFinished; quiet(false); emit folderComplete(this, true); + close(); } mAccount->removeJob(it); }
*** Bug 108791 has been marked as a duplicate of this bug. ***
Pasting the backtrace proved useful :-) Bug #108791 has a different testcase (delete-after-move).
*** Bug 109033 has been marked as a duplicate of this bug. ***
*** Bug 114616 has been marked as a duplicate of this bug. ***
*** Bug 112481 has been marked as a duplicate of this bug. ***
*** Bug 108100 has been marked as a duplicate of this bug. ***
Same backtrace as bug #108100 : Using host libthread_db library "/lib/libthread_db.so.1". `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread -1253579088 (LWP 30793)] [KCrash handler] #4 0x6d6e3646 in ?? () #5 0xb7d7f60f in KMFolderImap::flagsToStatus (msg=0x85be758, flags=1, newMsg=true) at /home/cartman/KDE-SVN/kdepim/kmail/kmfolderimap.cpp:1360 #6 0xb7d8001f in KMFolderImap::slotGetMessagesData (this=0x828f8d8, job=0x8614a68, data=@0xbfedb710) at /home/cartman/KDE-SVN/kdepim/kmail/kmfolderimap.cpp:1497 #7 0xb7d84a64 in KMFolderImap::qt_invoke (this=0x828f8d8, _id=31, _o=0xbfedb410) at kmfolderimap.moc:324 #8 0xb5ce5824 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #9 0xb69fc02e in KIO::TransferJob::data (this=0x8614a68, t0=0x8614a68, t1=@0xbfedb710) at jobclasses.moc:993 #10 0xb69e86aa in KIO::TransferJob::slotData (this=0x8614a68, _data=@0xbfedb710) at /home/cartman/KDE-SVN/kdelibs/kio/kio/job.cpp:900 #11 0xb69fc659 in KIO::TransferJob::qt_invoke (this=0x8614a68, _id=18, _o=0xbfedb530) at jobclasses.moc:1072 #12 0xb5ce5824 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #13 0xb69d7375 in KIO::SlaveInterface::data (this=0x837f428, t0=@0xbfedb710) at slaveinterface.moc:194 #14 0xb69d5b38 in KIO::SlaveInterface::dispatch (this=0x837f428, _cmd=100, rawdata=@0xbfedb710) at /home/cartman/KDE-SVN/kdelibs/kio/kio/slaveinterface.cpp:234 #15 0xb69d57f6 in KIO::SlaveInterface::dispatch (this=0x837f428) at /home/cartman/KDE-SVN/kdelibs/kio/kio/slaveinterface.cpp:173 #16 0xb69d332b in KIO::Slave::gotInput (this=0x837f428) at /home/cartman/KDE-SVN/kdelibs/kio/kio/slave.cpp:300 #17 0xb69d4d05 in KIO::Slave::qt_invoke (this=0x837f428, _id=4, _o=0xbfedb830) at slave.moc:113 #18 0xb5ce5824 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #19 0xb5ce5e4b in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #20 0xb6041380 in QSocketNotifier::activated () from /usr/qt/3/lib/libqt-mt.so.3 #21 0xb5d02860 in QSocketNotifier::event () from /usr/qt/3/lib/libqt-mt.so.3 #22 0xb5c8138f in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 #23 0xb5c8152c in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 #24 0xb639d710 in KApplication::notify (this=0xbfedbeb0, receiver=0x837ea30, event=0xbfedbb60) at /home/cartman/KDE-SVN/kdelibs/kdecore/kapplication.cpp:550 #25 0xb5c74af3 in QEventLoop::activateSocketNotifiers () from /usr/qt/3/lib/libqt-mt.so.3 #26 0xb5c2bfb1 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3 #27 0xb5c97b31 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3 #28 0xb5c97a86 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3 #29 0xb5c804ef in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3 #30 0x0804aa70 in main (argc=7, argv=0xbfedc064) at /home/cartman/KDE-SVN/kdepim/kmail/main.cpp:110 How to reproduce : - Add a filter "If To: contains @ move to foo/Sent" where foo is an online imap folder (not dimap) , apply only to sent messages - Send a message - Crashes KDE 3.5 SVN HEAD. Reproducible here.
*** Bug 115001 has been marked as a duplicate of this bug. ***
*** Bug 117582 has been marked as a duplicate of this bug. ***
Stack trace #14 is like #106030
*** Bug 128601 has been marked as a duplicate of this bug. ***
*** Bug 118644 has been marked as a duplicate of this bug. ***
I can confirm this. When deleting or moving a mail from an imap folder kmail crashes! When moving, the mail will get coppied to the destination but kmail crashes. It doesn't matter if I use a local trash folder or imap trash folder. KMail Version: 1.9.1 (KDE 3.5.2, Gentoo) Operating System: Linux (i686) release 2.6.17-gentoo-r7 Compiler Target: i686-pc-linux-gnu GCC Version: (GCC) 4.1.1 (Gentoo 4.1.1) (Note that this is really anoying because I would like to move my spam from my inbox to my spam folder so it gets learned by spamassassin. Now this is not possible because.)
Created attachment 19212 [details] Backtrace imap-move crash I can confirm this behaviour still exists in 1.9.5 (KDE 3.5.5, Gentoo). It occurs only with a large number of messages for me (>250 msgs).
*** This bug has been confirmed by popular vote. ***
After some time (2 months) of not using KMail as mail client I re-started using it, only setting it up to read and write my IMAP mail, nothing special. Redirected Sent Mail, Drafts, and Trash to my IMAP folders (WEB.de), set up secure IMAP and SMTP - everything works fine. But deleting the first mail into (IMAP) trash makes KMail crash. This can be reproduced. BUT: 1. Playing around with KMail in order to give a more detailed bug report by resetting TRASH to Local Folders/Trash and then deleting a mail from an IMAP folder didn't make KMail crash! 2. Changing back TRASH to IMAP TRASH folder and then deleting a mail did work! Now I cannot reproduce the problem anymore. Heres the stacktrace: (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 -1249199712 (LWP 5010)] [New Thread -1278694496 (LWP 5014)] [New Thread -1270301792 (LWP 5013)] [New Thread -1261909088 (LWP 5012)] [New Thread -1253516384 (LWP 5011)] (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) (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] #6 0xb73a9579 in QGDict::look_string () from /usr/lib/libqt-mt.so.3 #7 0xb7c24ee7 in KMHeaders::msgRemoved () from /usr/lib/libkmailprivate.so #8 0xb7c2ff39 in KMHeaders::qt_invoke () from /usr/lib/libkmailprivate.so #9 0xb70af957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #10 0xb7c5efd0 in KMFolder::msgRemoved () from /usr/lib/libkmailprivate.so #11 0xb7c5fc8d in KMFolder::qt_emit () from /usr/lib/libkmailprivate.so #12 0xb70af92b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #13 0xb7c7cbd0 in FolderStorage::msgRemoved () from /usr/lib/libkmailprivate.so #14 0xb7c7e06c in FolderStorage::take () from /usr/lib/libkmailprivate.so #15 0xb7d0d630 in KMFolderImap::take () from /usr/lib/libkmailprivate.so #16 0xb7c7bc48 in FolderStorage::take () from /usr/lib/libkmailprivate.so #17 0xb7d0cec3 in KMFolderImap::take () from /usr/lib/libkmailprivate.so #18 0xb7c5f369 in KMFolder::take () from /usr/lib/libkmailprivate.so #19 0xb7d10f6d in KMFolderImap::addMsgQuiet () from /usr/lib/libkmailprivate.so #20 0xb7d12883 in KMFolderImap::qt_invoke () from /usr/lib/libkmailprivate.so #21 0xb70af957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #22 0xb7ddb191 in KMail::FolderJob::messageCopied () from /usr/lib/libkmailprivate.so #23 0xb7de373f in KMail::ImapJob::slotCopyMessageResult () from /usr/lib/libkmailprivate.so #24 0xb7de5e87 in KMail::ImapJob::qt_invoke () from /usr/lib/libkmailprivate.so #25 0xb70af957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #26 0xb5ae577e in KIO::Job::result () from /usr/lib/libkio.so.4 #27 0xb5b25a8d in KIO::Job::emitResult () from /usr/lib/libkio.so.4 #28 0xb5b3975e in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4 #29 0xb5b25621 in KIO::SimpleJob::qt_invoke () from /usr/lib/libkio.so.4 #30 0xb70af957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #31 0xb70b03fc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #32 0xb5adfffc in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4 #33 0xb5b45720 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4 #34 0xb5b4375a in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4 #35 0xb5af443c in KIO::Slave::gotInput () from /usr/lib/libkio.so.4 #36 0xb5b33360 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4 #37 0xb70af957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #38 0xb70b026e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #39 0xb743ccdb in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3 #40 0xb70d2516 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3 #41 0xb7046b88 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #42 0xb70489b7 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #43 0xb7770db2 in KApplication::notify () from /usr/lib/libkdecore.so.4 #44 0xb6fd9389 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3 #45 0xb7038f81 in QEventLoop::activateSocketNotifiers () from /usr/lib/libqt-mt.so.3 #46 0xb6fedea7 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #47 0xb706125e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #48 0xb706106e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #49 0xb7048731 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #50 0x0804a0fe in ?? () #51 0xbfa752a4 in ?? () #52 0xbfa7529c in ?? () #53 0x00000000 in ?? ()
Another case of wrongly closed folders causing crashes on invalid messages. If whoever had this problem could the current 3.5 branch it would be highly appreciated so we can fix remaining issues before 3.5.7 *** This bug has been marked as a duplicate of 126715 ***