I havent built KDE 3.5 etc with debug, but the above URL looks to be close to what I'm seeing. Submitting this bug so this one gets followed in Gentoo too (although I do realise you are following the KDE development, but better to have it closed than not fixed). Reproducible: Always Steps to Reproduce: 1. Do anything in kmail 1.9 and it will tend to crash like: 2. Run filtering 3. Move mail around 4. Check mail Actual Results: Crash Crash Crash :S, however, I have decided to move more mail to my local Courier IMAP server so I can temporarily read mail in Thunderbird. Moving a 14000 mail folder was crashing at 1-3%. Turning off auto mail checking has let it get to (currently) 99%.. with this being true, I decided to submit this as it does seem related to the KDE bug. Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.mirror.sdv.fr http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.oregonstate.edu" LANG="en_GB" LC_ALL="en_GB.UTF-8" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X acpi alsa apache2 apm arts audiofile authdaemond avi berkdb bitmap-fonts browserplugin bzip2 cdr crypt cups curl divx4linux dvd dvdr dvdread eds emboss encode exif expat fam fbcon ffmpeg foomaticdb fortran gcj gd gdbm gif glut gmp gnutls gpm gstreamer gtk gtk2 idn imagemagick imap imlib innodb ipv6 java jpeg jpeg2k kde kdeenablefinal lcms libg++ libwww lzw-tiff mad mhash mikmod mmx mng motif mp3 mpeg mysql ncurses nls odbc ogg oggvorbis opengl oss pam pcre pdflib perl php png ppds python qt quicktime radeon readline real recode samba sasl sdl slp spell sse ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vhosts vorbis wifi win32codecs wmf xine xinerama xml xml2 xmms xv xvid zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
kde-base/kdepim-kioslaves debug kde-base/kmail debug kde-base/kontact debug kde-base/libkdepim debug kde-base/libkpimidentities debug kde-base/kdelibs doc debug I have those set but I still can't get a decent trace. Any ideas?
FEATURES="nostrip" so that debugging symbols are retained, you probably want to have kdelibs with debug and nostrip too. Run kmail from a shell and you will see extra debug information there too. There seem to be quite a few issues upstream with kmail/kontact crashing - I have made several comments on an upstream bug related to kmail crashing, corrupting the IMAP cache and then crashing every time until the IMAP cache is deleted. Seems improved in the final release but it is still present.
(no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 23116)] [KCrash handler] #5 0xb55b851d in KMFilterActionExtFilter::processAsync (this=0x8be9580, aMsg=0x8bfd2d0) at kmfilteraction.cpp:1700 #6 0xb55783bb in KMail::ActionScheduler::actionMessage (this=0x8c26918, res=KMFilterAction::GoOn) at actionscheduler.cpp:611 #7 0xb56313be in KMail::ActionScheduler::filterMessage (this=0x8c26918) at actionscheduler.cpp:587 #8 0xb5631654 in KMail::ActionScheduler::qt_invoke (this=0x8c26918, _id=16, _o=0xbfa4fc10) at actionscheduler.moc:207 #9 0xb6595e74 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #10 0xb6596592 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #11 0xb68ea5d9 in QTimer::timeout () from /usr/qt/3/lib/libqt-mt.so.3 #12 0xb65b7b2e in QTimer::event () from /usr/qt/3/lib/libqt-mt.so.3 #13 0xb653322f in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 #14 0xb65333cc in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 #15 0xb6cb636b in KApplication::notify (this=0xbfa502c0, receiver=0x8c14100, event=0xbfa50050) at kapplication.cpp:550 #16 0xb65269dc in QEventLoop::activateTimers () from /usr/qt/3/lib/libqt-mt.so.3 #17 0xb64dfb71 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3 #18 0xb6549930 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3 #19 0xb6549886 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3 #20 0xb65323df in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3 #21 0x0806179f in ?? () #22 0xbfa502c0 in ?? () #23 0x0806b58e in typeinfo name for QPtrList<KParts::Part> () #24 0x00000000 in ?? () #25 0x00000000 in ?? () #26 0x00000000 in ?? () #27 0x00000001 in ?? () #28 0x0806be64 in typeinfo name for QPtrList<KParts::Part> () #29 0x00000000 in ?? () #30 0x0806ad88 in typeinfo name for QPtrList<KParts::Part> () #31 0x0806b3e2 in typeinfo name for QPtrList<KParts::Part> () #32 0xbfa502c8 in ?? () #33 0xb5e51cb1 in malloc () from /lib/libc.so.6 #34 0xb5e023b3 in __libc_start_main () from /lib/libc.so.6 #35 0x08059851 in ?? ()
Ok, when I remove the clamav and spamassassin filters it seems to run ok. Putting the spamd or spamassassin via perl back brings back the crash.
http://bugs.kde.org/show_bug.cgi?id=113730 is more the deal, I think, as discovered when chatting to some kmail devs last night.
Patch added to kdepim-3.5.0-r1/kmail-3.5.0-r1.
Thanks very much! and to the KDE guys too of course.
Ok, I have another crash when using Control-J to filter on a known spam mail. Finding it hard to get a good trace, do u want another bug for it?