I've emerged kmail 1.8.3 with KDE 3.4.3 (splitted ebuilds) and gcc-4.0.2. I had no problems compiling and all apps are runnung well - except for kmail. It always crashes when I try to check for new mail. It crashes regardless the type of mailbox (IMAP, or POP3). I made a strace and here it is: kmail: processNextCheck, remaining 1 kmail: for host pop3.freenet.de current connections=0 and limit is 0 kmail: connection limit reached: false kmail: processing next mail check for Freenet kmail: check mail started - connections for host pop3.freenet.de now is 1 kmail: Data: <End> kmail: [void KMAcctExpPop::slotJobFinished()] stage == List kmail: Data: <End> kmail: [void KMAcctExpPop::slotJobFinished()] stage == Uidl kmail: Length of message about to get 4250 kmail: Length of message about to get 3313 kmail: Length of message about to get 3408 kmail: Length of message about to get 3754 kmail: Length of message about to get 2871 kmail: Length of message about to get 3056 kmail: Length of message about to get 5887 kmail: Length of message about to get 7274 kmail: Length of message about to get 2738 kmail: Length of message about to get 4614 kmail: Length of message about to get 2835 *** KMail got signal 11 (Crashing) KCrash: Application 'kmail' crashing... I've compiled kmail and kdebase-kioslaves with very sane C(XX)FLAGS and USE="debug" (not the ones in my emerge info), but the crash remains and the backtrace is useless. If you need more info I'll recompile kdelibs with USE="debug" to get a better bt. BTW: I'm a long time KDE user and kmail 1.8.2 worked flawlessly yesterday. I didn't change any configs... Reproducible: Always Steps to Reproduce: 1. emerge kmail 2. 3. root@inspiron> emerge info ~ Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.5.20050722-r0, 2.6.13-ckpp4 i686) ================================================================= System uname: 2.6.13-ckpp4 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.40GHz Gentoo Base System version 1.12.0_pre9 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 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 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=pentium4m -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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=i686 -mtune=pentium4m -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.etf.bg.ac.yu/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.lug.ro/gentoo/ http://gentoo.inode.at/ http://mirror.switch.ch/ftp/mirror/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X aac alsa aotuv async auctex avi berkdb boundschecking browserplugin bzip2 c++ cap cdparanoia cdr crypt css cups curl dbus dga divx4linux dlloader dvd emacs encode fam fbcon ffmpeg finger flac foomaticdb freetype ftp gdbm gif glut glx gnutls gpgme gpm graphviz gs gsl gstreamer gtk gtk2 hal haskell iconv idn imagemagick imap imlib imlib2 ipv6 jack java javascript jpeg jpeg2k junit justify kde libg++ libwww live lynxkeymap lzo mad maildir mikmod mmx mmxext mng motif mozsvg mp3 mpeg mpeg2 mpeg4 musicbrainz ncurses nls nntp no-old-linux nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pcmcia pcre pdf pdflib pic png pnp postgres qt quicktime readline real rtc ruby samba sdl slang smtp sox speex spell sse sse2 ssl startup-notification subversion svg svgz tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode userlocales uudeview visualization vorbis win32codecs wmf xine xinerama xinetd xml2 xosd xscreensaver xv xvid xvmc zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LINGUAS
*** Bug 109251 has been marked as a duplicate of this bug. ***
*** Bug 109252 has been marked as a duplicate of this bug. ***
To get a usable backtrace remove -fomit-frame-pointer from your compiler flags and do FEATURES="nostrip" USE="debug" emerge kmail
> To get a usable backtrace remove -fomit-frame-pointer from your compiler > flags and do FEATURES="nostrip" USE="debug" emerge kmail I did so but the backtrace is (nearly?) the same as before, except that there are no [symbols not found] messages anymore... 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 -1245661520 (LWP 17863)] 0xffffe410 in __kernel_vsyscall () #0 0xffffe410 in __kernel_vsyscall () #1 0xb5e62f13 in __waitpid_nocancel () from /lib/libpthread.so.0 #2 0xb696dfef in KCrash::defaultCrashHandler () from /usr/kde/3.4/lib/libkdecore.so.4 #3 0x00000130 in ?? () #4 0x00000121 in ?? () #5 0xb65e9a35 in QString::operator= () from /usr/qt/3/lib/libqt-mt.so.3 I'm going to rebuild kdelibs, kdebase-kioslaves, kdepim-kioslaves with those settings, too. Maybe the backtrace is better then.
Created attachment 70660 [details] Backtrace with non-stripped kdelibs, kmail, {kdebase,kdepim}-kioslaves Here's the promised backtrace.
This bug [1] pointed me to the solution. After recompiling mimelib (3.4.2) kmail works again. Because here the version number hasn't increased I didn't recompile it with gcc4 and the one compiled with gcc-3.4.4 didn't work together with the rest. [1] http://bugs.kde.org/show_bug.cgi?id=15774 I think this bug can be closed, but decide on you own.
I was just about to ask if you were sure you had compiled ALL the KDE stuff with GCC 4 - otherwise stuff will break. I am trialling it on my laptop. Closed now.