Version: (using KDE KDE 3.5.6) Installed from: FreeBSD Ports Compiler: gcc version 3.4.6 OS: FreeBSD 'm using KDE 3.5.6 under FreeBSD 6.2-release kde-xdg-env-1.0_2,1 kdeaccessibility-3.5.6 kdeartwork-3.5.6_1 kdeartwork-xscreensaver-kde-3.5.6_1 kdebase-3.5.6 kdebase-kompmgr-3.5.6 kdegames-3.5.6 kdegraphics-3.5.6 kdegraphics-kamera-3.5.6 kdegraphics-kuickshow-3.5.6 kdehier-1.0_11 kdelibs-3.5.6 kdemultimedia-3.5.6 kdemultimedia-xine_artsplugin-3.5.6_1 kdenetwork-3.5.6 kdenetwork-kopete-0.12.4 kdepim-3.5.6 kdesdk-3.5.6 kdetoys-3.5.6 kdeutils-3.5.6 I have an IMAP account (on a courier-ipamd server) and several filter rules in kmail, which sort incoming mail by sender/subject and place it into several local folders. When kmail checks for new messages in IMAP mailbox, it freezes often and crashes with such diagnostics: [New Thread 0x8222a00 (sleeping)] [New Thread 0x8222800 (sleeping)] [New Thread 0x8222600 (sleeping)] [New Thread 0x8222400 (sleeping)] [New Thread 0x8222200 (LWP 100100)] [New Thread 0x8055000 (sleeping)] [New LWP 100168] [Switching to LWP 100168] 0x2a4994f7 in pthread_testcancel () from /lib/libpthread.so.2 #0 0x2a4994f7 in pthread_testcancel () from /lib/libpthread.so.2 #1 0x2a49280f in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x2a49570c in pthread_setconcurrency () from /lib/libpthread.so.2 #3 0x2a48ba3a in _nanosleep () from /lib/libpthread.so.2 #4 0x2a520df9 in sleep () from /lib/libc.so.6 #5 0x2a4813fe in sleep () from /lib/libpthread.so.2 #6 0x2993c6e6 in KCrash::startDrKonqi () from /usr/local/lib/libkdecore.so.6 #7 0x2993ca8c in KCrash::defaultCrashHandler () from /usr/local/lib/libkdecore.so.6 #8 0x2a486a42 in sigaction () from /lib/libpthread.so.2 #9 0x2a487ee5 in sigaction () from /lib/libpthread.so.2 #10 0x2a4887d9 in sigaction () from /lib/libpthread.so.2 #11 0x2a491882 in pthread_mutexattr_init () from /lib/libpthread.so.2 #12 0x2a499bc8 in pthread_testcancel () from /lib/libpthread.so.2 #13 0x2a48289e in pthread_kill () from /lib/libpthread.so.2 #14 0x2a482256 in raise () from /lib/libpthread.so.2 #15 0x2a55bb78 in abort () from /lib/libc.so.6 #16 0x2a3f730f in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.5 #17 0x2a3fb49c in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.5 #18 0x2a3fb4d4 in std::terminate () from /usr/lib/libstdc++.so.5 #19 0x2a43406f in __cxa_pure_virtual () from /usr/lib/libstdc++.so.5 #20 0x2840e60b in KMail::ImapJob::slotGetNextMessage () from /usr/local/lib/libkmailprivate.so #21 0x2840f9ff in KMail::ImapJob::init () from /usr/local/lib/libkmailprivate.so #22 0x284103cc in KMail::ImapJob::execute () from /usr/local/lib/libkmailprivate.so #23 0x2840433d in KMail::FolderJob::start () from /usr/local/lib/libkmailprivate.so #24 0x283e8924 in KMMainWidget::slotMsgSelected () from /usr/local/lib/libkmailprivate.so #25 0x283fa5ad in KMMainWidget::qt_invoke () from /usr/local/lib/libkmailprivate.so #26 0x29e2517c in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3 #27 0x2825bc0b in KMHeaders::selected () from /usr/local/lib/libkmailprivate.so #28 0x2825bdc8 in KMHeaders::highlightMessage () from /usr/local/lib/libkmailprivate.so #29 0x2825c1e0 in KMHeaders::highlightMessage () from /usr/local/lib/libkmailprivate.so #30 0x282697a7 in KMHeaders::qt_invoke () from /usr/local/lib/libkmailprivate.so #31 0x29e2517c in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3 #32 0x2a1361ab in QListView::currentChanged () from /usr/X11R6/lib/libqt-mt.so.3 #33 0x29f02655 in QListView::setCurrentItem () from /usr/X11R6/lib/libqt-mt.so.3 #34 0x29f0489d in QListView::contentsMousePressEventEx () from /usr/X11R6/lib/libqt-mt.so.3 #35 0x29f05206 in QListView::contentsMousePressEvent () from /usr/X11R6/lib/libqt-mt.so.3 #36 0x29670798 in KListView::contentsMousePressEvent () from /usr/local/lib/libkdeui.so.6 #37 0x2825c2fa in KMHeaders::contentsMousePressEvent () from /usr/local/lib/libkmailprivate.so #38 0x29f286bc in QScrollView::viewportMousePressEvent () from /usr/X11R6/lib/libqt-mt.so.3 #39 0x29f2a88b in QScrollView::eventFilter () from /usr/X11R6/lib/libqt-mt.so.3 #40 0x29efd004 in QListView::eventFilter () from /usr/X11R6/lib/libqt-mt.so.3 #41 0x28257782 in KMHeaders::eventFilter () from /usr/local/lib/libkmailprivate.so #42 0x29e22658 in QObject::activate_filters () from /usr/X11R6/lib/libqt-mt.so.3 #43 0x29e2271e in QObject::event () from /usr/X11R6/lib/libqt-mt.so.3 #44 0x29e579ba in QWidget::event () from /usr/X11R6/lib/libqt-mt.so.3 #45 0x29dc8b01 in QApplication::internalNotify () from /usr/X11R6/lib/libqt-mt.so.3 #46 0x29dc8dbd in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3 #47 0x298aba2a in KApplication::notify () from /usr/local/lib/libkdecore.so.6 #48 0x29d69f27 in QETWidget::translateMouseEvent () from /usr/X11R6/lib/libqt-mt.so.3 #49 0x29d68ea7 in QApplication::x11ProcessEvent () from /usr/X11R6/lib/libqt-mt.so.3 #50 0x29d7a788 in QEventLoop::processEvents () from /usr/X11R6/lib/libqt-mt.so.3 #51 0x29ddcef7 in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3 #52 0x29ddce50 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3 #53 0x29dc7e3c in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3 #54 0x0804a603 in main () I tried portupgrade -Rf kde\*, but it does not help too. --- WBR, Dmitry Kroupenier.
upcoming 3.5.7 should fix this crash
Could you perhaps point out the change in SVN which supposedly fixes this bug?
Ugh, I tried to mark this duplicate of #126715. SVN commit 644873 by coolo: fixing imap folder reference counting for real