Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.15-ck3-r1 i686) ================================================================= System uname: 2.6.15-ck3-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.11 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache digest distlocks prelink sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="en sk cs de ru" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac aalib acl acpi apache2 apm arts asf audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo cdr cjk cli crypt cups curl dbus dri dvd dvd-read dvdr dvdread eds emboss encode esd ethereal examples exif expat fam ffmpeg flac font-server foomaticdb fortran gcj gd gdbm gif glut gmp gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imap imlib ipv6 isdnlog java jpeg jpeg2k junit kde kdeenablefinal kdexdeltas lcms ldap libcaca libg++ libwww lua mad mbox mhash mikmod mmx mmx2 mmxext mng mono motif mozilla mp3 mpeg musicbrainz mysql ncurses nls nptl nptlonly nsplugin odbc ogg openal pam pcre pdflib perl php pic png povray ppds pppd pthreads python qt quicktime readline real recode reflection rtc ruby samba sasl scanner sdl session slang snmp speex spell spl sqlite sse sse2 ssl svg svga syslog tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vhosts vidix vorbis win32codecs wmf xine xinerama xml xml2 xmms xorg xv xvid xvmc zlib linguas_en linguas_sk linguas_cs linguas_de linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
$strace kmail ... munmap(0xb6677000, 131072) = 0 write(3, "\0\7\1\0\7\0\0\0\1\1\0\0\0\0\0\0\4\0DCOP\262\277\3\0KD"..., 64) = 64 read(3, "\0\3\0\0\1\0\0\0", 8) = 8 read(3, "\0\0MIT\0\0\0", 8) = 8 access("/home/fordinal/.ICEauthority", R_OK) = 0 open("/home/fordinal/.ICEauthority", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0600, st_size=1715, ...}) = 0 mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6677000 read(4, "\0\3ICE\0\0\0000local/office:/tmp/.ICE-"..., 131072) = 1715 close(4) = 0 munmap(0xb6677000, 131072) = 0 write(3, "\0\4\1\0\3\0\0\0\20\0\0\0\0\0\0\0`\t?\227\231\201\262\277"..., 32) = 32 read(3, "\0\10\0\2\2\0\0\0", 8) = 8 read(3, "\3\0KDE\0\0\0\3\0002.0\0\0\0", 16) = 16 getsockopt(3, SOL_SOCKET, SO_PEERCRED, "\3472\0\0\321\7\0\0|\5\0\0", [12]) = 0 getuid32() = 2001 getpid() = 22267 write(3, "\1\2\1\0I\0\0\0\0\0\0\0", 12) = 12 write(3, "\0\0\0\0\0\0\0\vDCOPServer\0\0\0\0\1\0\0\0\0\25regi"..., 53) = 53 write(3, "\0\0\0\20anonymous-22267\0", 20) = 20 read(3, "\2\3\0\0028\0\0\0", 8) = 8 read(3, "\252\0\0\0", 4) = 4 read(3, "\0\0\0\vDCOPServer\0\0\0\0\0\0\0\0\tQCString\0"..., 56) = 56 write(3, "\1\2\1\0\\\0\0\0\252\0\0\0", 12) = 12 write(3, "\0\0\0\20anonymous-22267\0\0\0\0\vDCOPServ"..., 82) = 82 write(3, "\0\0\0\6kmail\0", 10) = 10 read(3, "\2\3\0\0024\0\0\0", 8) = 8 read(3, "\252\0\0\0", 4) = 4 read(3, "\0\0\0\vDCOPServer\0\0\0\0\20anonymous-222"..., 52) = 52 write(3, "\1\2\1\0e\0\0\0\2\0\0\0", 12) = 12 write(3, "\0\0\0\20anonymous-22267\0\0\0\0\6kmail\0\0\0"..., 62) = 62 write(3, "\0\0\0\17/home/fordinal\0\0\0\0\1\0\0\0\0\0\0\0\0\0"..., 39) = 39 read(3, QSettings: failed to open file '/usr/qt/3/etc/settings/qtrc' QSettings: failed to open file '/usr/qt/3/etc/settings/kstylerc' QSettings: failed to open file '/usr/qt/3/etc/settings/qtrc' "\2\5\0\2\"\0\0\0", 8) = 8 read(3, "\2\0\0\0", 4) = 4 read(3, "\0\0\0\6kmail\0\0\0\0\20anonymous-22267\0\0\0"..., 34) = 34 read(3, kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x8473868 ): KAccel object already contains an action name "delete" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x8473868 ): KAccel object already contains an action name "edit" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x8473868 ): KAccel object already contains an action name "display_message" "\2\4\0\2\0\0\0\0", 8) = 8 KCrash: Application 'kmail' crashing... read(3, "\1\0\0\0", 4) = 4 write(2, "ERROR: Communication problem wit"..., 62ERROR: Communication problem with kmail, it probably crashed. ) = 62 close(3) = 0 exit_group(255) = ?
The deprecated messages probably are not related. Are you running kmail from kde-3.5 in a kde-3.4 session, or something similar? Have you got a backtrace? Can you post the output of ldd `which kmail`
Created attachment 88167 [details] backtrace
Created attachment 88168 [details] ldd which kmail
kmail I'm running from KDE-3.5.2
I have exactly the same problem. Am currently emerging strace and recompiling kmail with debug to see if I can get more info. The core generated by kmail --nocrashhandler says: Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `kmail --nocrashhandler'. Program terminated with signal 11, Segmentation fault. #0 0xb7bd595d in ?? ()
Unfortunately, strace does not reveal anything new (at least to me) compared to the strace already submitted and emerging kmail with debug is not very usefull either: > kmail kmail: KMKernel::KMKernel kmail: No Qt-native utf-7 codec found; registering QUtf7Codec from libkdenetwork kmail: [void KMKernel::init()] foldersPath (from config): '/home/ffl/Mail' kmail: instantating KPIM::IdentityManager kmail: pPopFilter set kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x82eb8e0 ): KAccel object already contains an action name "delete" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x82eb8e0 ): KAccel object already contains an action name "edit" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x82eb8e0 ): KAccel object already contains an action name "display_message" KCrash: Application 'kmail' crashing... ERROR: Communication problem with kmail, it probably crashed. KCrash cannot reach kdeinit, launching directly. The core does not say anything new. Anything else I can try?
run it in gdb to get a more usable backtrace
I'm obviously missing something: ------------------------------------------------------ (gdb) exec-file /usr/kde/3.5/bin/kmail (gdb) run Starting program: /usr/kde/3.5/bin/kmail (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) ---Type <return> to continue, or q <return> to quit--- (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) ---Type <return> to continue, or q <return> to quit--- (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 -1248926016 (LWP 27568)] QSettings: failed to open file '/usr/qt/3/etc/settings/qtrc' QSettings: failed to open file '/usr/qt/3/etc/settings/qtrc' kmail: KMKernel::KMKernel kmail: No Qt-native utf-7 codec found; registering QUtf7Codec from libkdenetwork kmail: [void KMKernel::init()] foldersPath (from config): '/home/ffl/Mail' kmail: instantating KPIM::IdentityManager kmail: pPopFilter set kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x82eb9a8 ): KAccel object already contains an action name "delete" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x82eb9a8 ): KAccel object already contains an action name "edit" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x82eb9a8 ): KAccel object already contains an action name "display_message" KCrash: Application 'kmail' crashing... ERROR: Communication problem with kmail, it probably crashed. KCrash cannot reach kdeinit, launching directly. Program exited with code 0377. --------------------------------------------------------- I've only reinstalled kmail with debug. Maybe more packages need the debug flag as well?
If that helps: I have moved all previous config files and directories related to kmail from my .kde directory and started kmail. It worked. So I exited it and put back the original kmailrc and it all started fine as before. I tried to read a new mail and kmail crashed: kmail: (135104, last 135104) *** subject removed***, readyToShow true *** KMail got signal 11 (Crashing) and restarting it is as before (immediate crash). Have again moved kmailrc, restarted kmail, which worked, exited kmail, put back kmailrc and restarted kmail. So far it works. However, if I exit it (which it does with a sig 11 again), then it wont restart and have to do the above manipulation for it to work again... Anything I can test?
I have the same problem. Removing all kmail related files in .kde except kmailrc will allow me to start the program once. Here is the output if I start kmail on the command line: [demokrit] ~>kmail kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x84089b8 ): KAccel object already contains an action name "delete" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x84089b8 ): KAccel object already contains an action name "edit" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x84089b8 ): KAccel object already contains an action name "display_message" kmail: WARNING: [void KMFolderImap::setImapPath(const QString&)] ignoring empty path kmail: WARNING: [void KMFolderImap::setImapPath(const QString&)] ignoring empty path kmail: WARNING: KMAcctImap::slotUpdateFolderList return [demokrit] ~>WeaverThreadLogger: thread (ID: 1) suspended. WeaverThreadLogger: thread (ID: 2) suspended. WeaverThreadLogger: thread (ID: 3) suspended. WeaverThreadLogger: thread (ID: 4) suspended. kmail: WARNING: [void KMFolderImap::setImapPath(const QString&)] ignoring empty path kmail: WARNING: [void KMFolderImap::setImapPath(const QString&)] ignoring empty path gpgmeplug checkMessageSignature status flags: 80 gpgmeplug checkMessageSignature status flags: 80 *** glibc detected *** corrupted double-linked list: 0x08344b70 *** *** KMail got signal 6 (Crashing) KCrash: Application 'kmail' crashing... And if I then start it again [demokrit] ~>kmail kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x83405d0 ): KAccel object already contains an action name "delete" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x83405d0 ): KAccel object already contains an action name "edit" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x83405d0 ): KAccel object already contains an action name "display_message" ERROR: Communication problem with kmail, it probably crashed. [demokrit] ~>KCrash: Application 'kmail' crashing... I have compiled kmail with the following use flags: demokrit ~ # emerge -av kmail These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] kde-base/kmail-3.5.2-r3 USE="crypt kdeenablefinal -arts -debug -kdehiddenvisibility -xinerama" 0 kB Total size of downloads: 0 kB /Jakob
Bug 134696 gives a workaround for this. Unfortunately, the workaround does not work for me, but it may work for others.... /Jakob
WORKAROUND (mainly from this forum thread: http://forums.gentoo.org/viewtopic-t-472187-highlight-kmail.html with inspiration from above) 1. Delete the directory .kde/share/apps/kmail 2. Start kmail 3. Remove your incoming IMAP connection 4. Create a new one of type IMAP Disconnected. 5. You may have to rightclick on it and choose Troubleshoot IMAP cache, then rebuild the cache 6. Exit kmail. It will still crash, but now it can be restarted. /Jakob
(In reply to comment #12) > Bug 134696 gives a workaround for this. Unfortunately, the workaround does not > work for me, but it may work for others.... > > /Jakob > Ooops, wrong bug number: Bug 134969
I'm guessing that if you set MALLOC_CHECK_ environment variable to 0 that will cause it to not crash anymore, though it doesn't really fix the issue.
uname -a Linux alpino 2.6.17-gentoo-r4 #1 PREEMPT Wed Aug 9 17:52:50 CEST 2006 i686 Pentium III (Coppermine) GNU/Linux Just to let you know that this bug is still biting. I moved to modular X and to kde 3.5 and ever since everything works, but kmail shows the behaviour described in this bug. I have kmail 3.5.2-r3. after a fresh emerge I can start it ONCE. upon exit it crashes and cannot be startet again. starting it from the commandline gives the error: 19:11:33 norman@alpino ~ $ kmail kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x80689b0 ): KAccel object already contains an action name "delete" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x80689b0 ): KAccel object already contains an action name "edit" kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action. kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x80689b0 ): KAccel object already contains an action name "display_message" ERROR: Communication problem with kmail, it probably crashed. I guess I just wait for the next version of kmail.
again me, now a day later and smarter. A fix similar to the one suggested by Jakob (comment 13) is working. I did the following after I found kmail not starting after I switched from kde 3.4 to 3.5: from within kde 3.5 (I already had removed everything belonging to kde 3.4 before I notice the bug) -> I moved ~/.kde/share/apps/kmail out of the way. -> now I could start kmail again. I removed all my accounts (i had IMAP) and I quit kmail. ->(Now I reemerged kmail, which may or may not be necessary), -> started kmail again and setup my accounts again (IMAP, regular IMAP and not IMAP disconnected; I just set-up the same account I had before). Ever since its working fine, as opposed to comment 13 it does not even crash on exit. hope this helps somebody Norman
Just to encourage others to try it: Norman's fix worked for me too! Thanks!!
Is this still a problem with kmail-3.5.6? Have you submitted a bug upstream?
Get back to us, see Comment #19.
I am no longer affected, although others may be. Probably the bug is gone. I use kde 3.5.5. /Jakob
In reply to #19, if you mean kmail in kde-3.5.6, I haven't tried it yet (not stable yet). The problem seems to have gone in 3.5.5.