I just re-emerge mutt and when I try to start it I get: Reading /home/joseph/.maildir/inbox...Segmentation fault I've tried to emerge mutt with flagas: pop mobs and it compile just fine but when I tried to start it I get "...Segmentation fault" I run: strace -ff -o mutt.trace mutt How do I add attachment? the file >16Kb too long to post. Reproducible: Always Steps to Reproduce: 1.mutt 2. 3.
Created attachment 132607 [details] tesult of: strace -ff -o mutt.trace mutt
Please, attach a backtrace, post `emerge -pv mutt` and emerge --info output; thanks. http://www.gentoo.org/proj/en/qa/backtraces.xml
The problem is caused by compiling mutt with extra flags like for eg. 'mbox, pop' flags, it could be some other flags as well I didn't test them all. What is happening is that mutt-1.5.x has a caching header build in and it is activate by example: set header_cache="~/.mutt_headercache/" If that statement is enable (and most likely everybody will take advantage of it) after recompiling "mutt" with new falgs the structure of the mutt is changing but the 'cache' is not reflecting it and displays statement: ...Segmentation fault without any other information. The solution is to delete the cache-files. So it would be a good idea if the program print out extra line with that error message: "Delete your cache file and try again" In addition it would good idea to remind user to delete their cache file after recompiling mutt. Just one extra line of information for the user during compiling will save others a lot of time.
Created attachment 132704 [details] Enclosed is the backtrace.log
Step to reproduce the bug. 1. enable header_cache in muttrc set header_cache="~/.mutt_headercache/" #any directory, make sure that directory contains any cache. 2. add flags mutt: pop mbox /etc/portage/package.use mail-client/mutt pop mbox But I think pop flag is causing this problem, I had mutt compiled with pop. I re-compile mutt by adding mbox flag and it did not crash. I remove both flags, recompile the mutt and got ...Segmentation fault So to reproduce this but, include pop flag and emerge mutt or if you have pop flag compiled IN, remove that flag and re-compile mutt. Mutt_cache directory have to have some data in it. Below is emerge -pv mutt These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] mail-client/mutt-1.5.16 USE="berkdb crypt gdbm nls ssl -debug -gnutls -gpgme -idn -imap -mbox -nntp -pop -qdbm -sasl -sidebar -smime -smtp -vanilla" 0 kB emerge --info Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 i686) ================================================================= System uname: 2.6.22-gentoo-r5 i686 AMD Athlon(TM) XP 2500+ Timestamp of tree: Fri, 05 Oct 2007 21:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distro.ibidio.org/pub/linux/distributions/gentoo/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo http://gentoo.binarycompass.org" LINGUAS="en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://10.0.0.101/gentoo-portage" USE="X acl acpi alsa apache2 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox foomaticdb fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kerberos ldap mad midi mikmod mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support quicktime readline reflection scanner sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1 type1-fonts unicode usb vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
does this bug still exist in newer versions?
No, it is running OK now. We can close this bug.