<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #1567: segfault on reading a 1200 msg Maildir



#1567: segfault on reading a 1200 msg Maildir

Changes (by brendan):

  * status:  new => closed
  * resolution:  => worksforme

Old description:

> {{{
> Package: mutt
> Version: 1.5.4-1
> Severity: normal
>
> -- Please type your report below this line
>
> I have a Maildir with 1230 messages in it. It is synced across three
> machines,
> and two can read it just fine (running 1.3.28-2.2 and 1.5.3-3 on Debian).
> However, this machine here, running 1.5.4-1 with the hcache patch
> applied,
> can't open the directory anymore. It segfaults, leaves the hcache lock
> file in
> place, and that's it.
>
> the weirdest thing: when i attach strace to the process just before
> switching
> to the maildir (with 'c'), the problem does not occur. thus I have not
> strace
> to show you.
>
> -- System Information
> System Version: Linux diamond
> 2.4.20-grsec1.9.9g+freeswan1.99+preempt20030413-diamond #1 SMP Sat May 3
> 00:41:55 CEST 2003 i686 unknown unknown GNU/Linux
>
> -- Build environment information
>
> (Note: This is the build environment installed on the system
> muttbug is run on.  Information may or may not match the environment
> used to build mutt.)
>
> - gcc version information
> cc
> Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
> Configured with: ../src/configure -v --enable-
> languages=c,c++,java,f77,objc,ada --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2
> --enable-shared --with-system-zlib --enable-nls --without-included-
> gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm
> --enable-objc-gc i386-linux
> Thread model: posix
> gcc version 3.2.3 20030415 (Debian prerelease)
>
> - CFLAGS
> -Wall -pedantic -g -O2
>
> -- Mutt Version Information
>
> Mutt 1.5.4i (2003-03-19)
> Copyright (C) 1996-2002 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
>
> System: Linux 2.4.20-grsec1.9.9g+freeswan1.99+preempt20030413-diamond
> (i686) [using ncurses 5.3] [using libidn 0.1.11 (compiled with 0.1.11)]
> Compile options:
> -DOMAIN
> -DEBUG
> -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
> +USE_FCNTL  -USE_FLOCK
> +USE_POP  +USE_IMAP  +IMAP_EDIT_THREADS  -USE_GSS  -USE_SSL  +USE_GNUTLS
> +USE_SASL  -USE_SASL2
> +HAVE_REGCOMP  -USE_GNU_REGEX
> +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
> +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
> +CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
> -CRYPT_BACKEND_GPGME  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
> +ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
> +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
> +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID
> +HAVE_GETADDRINFO  +USE_CACHE
> ISPELL="/usr/bin/ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/share/mutt"
> SYSCONFDIR="/etc"
> EXECSHELL="/bin/sh"
> MIXMASTER="mixmaster"
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the flea(1) utility.
>
> patch-1.5.3.Md.gpg_status_fd
> patch-1.3.23.1.ametzler.pgp_good_sign
> patch-1.4.Md.gpg-agent
> patch-1.5.1.cd.edit_threads.9.2
> patch-1.5.3.Md.etc_mailname_gethostbyname
> patch-1.3.27.bse.xtitles.1
> Md.muttbug
> Md.use_debian_editor
> patch-1.4.admcd.gnutlsdlopen.53d
> patch-1.5.4.Z.hcache.8
> patch-1.4.admcd.gnutlsbuild.53d
> patch-1.4.admcd.gnutls.55d
> patch-1.5.3.rr.compressed.1
>

> >How-To-Repeat:
>
> >Fix:
> }}}

New description:

 {{{
 Package: mutt
 Version: 1.5.4-1
 Severity: normal

 -- Please type your report below this line

 I have a Maildir with 1230 messages in it. It is synced across three
 machines,
 and two can read it just fine (running 1.3.28-2.2 and 1.5.3-3 on Debian).
 However, this machine here, running 1.5.4-1 with the hcache patch applied,
 can't open the directory anymore. It segfaults, leaves the hcache lock
 file in
 place, and that's it.

 the weirdest thing: when i attach strace to the process just before
 switching
 to the maildir (with 'c'), the problem does not occur. thus I have not
 strace
 to show you.

 -- System Information
 System Version: Linux diamond
 2.4.20-grsec1.9.9g+freeswan1.99+preempt20030413-diamond #1 SMP Sat May 3
 00:41:55 CEST 2003 i686 unknown unknown GNU/Linux

 -- Build environment information

 (Note: This is the build environment installed on the system
 muttbug is run on.  Information may or may not match the environment
 used to build mutt.)

 - gcc version information
 cc
 Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
 Configured with: ../src/configure -v --enable-
 languages=c,c++,java,f77,objc,ada --prefix=/usr --mandir=/usr/share/man
 --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2
 --enable-shared --with-system-zlib --enable-nls --without-included-gettext
 --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm
 --enable-objc-gc i386-linux
 Thread model: posix
 gcc version 3.2.3 20030415 (Debian prerelease)

 - CFLAGS
 -Wall -pedantic -g -O2

 -- Mutt Version Information

 Mutt 1.5.4i (2003-03-19)
 Copyright (C) 1996-2002 Michael R. Elkins and others.
 Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
 Mutt is free software, and you are welcome to redistribute it
 under certain conditions; type `mutt -vv' for details.

 System: Linux 2.4.20-grsec1.9.9g+freeswan1.99+preempt20030413-diamond
 (i686) [using ncurses 5.3] [using libidn 0.1.11 (compiled with 0.1.11)]
 Compile options:
 -DOMAIN
 -DEBUG
 -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
 +USE_FCNTL  -USE_FLOCK
 +USE_POP  +USE_IMAP  +IMAP_EDIT_THREADS  -USE_GSS  -USE_SSL  +USE_GNUTLS
 +USE_SASL  -USE_SASL2
 +HAVE_REGCOMP  -USE_GNU_REGEX
 +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
 +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
 +CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
 -CRYPT_BACKEND_GPGME  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
 +ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
 +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
 +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID
 +HAVE_GETADDRINFO  +USE_CACHE
 ISPELL="/usr/bin/ispell"
 SENDMAIL="/usr/sbin/sendmail"
 MAILPATH="/var/mail"
 PKGDATADIR="/usr/share/mutt"
 SYSCONFDIR="/etc"
 EXECSHELL="/bin/sh"
 MIXMASTER="mixmaster"
 To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
 To report a bug, please use the flea(1) utility.

 patch-1.5.3.Md.gpg_status_fd
 patch-1.3.23.1.ametzler.pgp_good_sign
 patch-1.4.Md.gpg-agent
 patch-1.5.1.cd.edit_threads.9.2
 patch-1.5.3.Md.etc_mailname_gethostbyname
 patch-1.3.27.bse.xtitles.1
 Md.muttbug
 Md.use_debian_editor
 patch-1.4.admcd.gnutlsdlopen.53d
 patch-1.5.4.Z.hcache.8
 patch-1.4.admcd.gnutlsbuild.53d
 patch-1.4.admcd.gnutls.55d
 patch-1.5.3.rr.compressed.1


 >How-To-Repeat:

 >Fix:
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/1567#comment:8>