Package: mutt
Version: 1.5.20-1
Severity: normal

New version of Mutt segfaults if the attached file is put into Mail
directory (I'm not sure if it is valid mbox file, but at least mutt
should not segfault, this is simpilified version of a real file).
Settings in muttrc that are related to mailbox location are:

set spoolfile=~/Mail/mbox
set folder=~/Mail
mailboxes `echo ~/Mail/*`
unmailboxes =from
unmailboxes =junk
unmailboxes =sent.gz
unmailboxes =from

Previous versions did not segfault and it was possible to see content
of the mailbox. This file is generated by procmail (option LOGFILE).
Mutt segfaults also without last unmailboxes.

GDB gives:

(gdb) run
Starting program: /usr/bin/mutt
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f8356f7b710 (LWP 8761)]
*__GI___libc_free (mem=0x75652f656d6f682f) at malloc.c:3599
3599    malloc.c: No such file or directory.
        in malloc.c
(gdb) bt
#0  *__GI___libc_free (mem=0x75652f656d6f682f) at malloc.c:3599
#1  0x0000000000471ff1 in safe_free (ptr=0x153c8e0) at ../lib.c:198
#2  0x000000000040ff0a in mutt_parse_mailboxes (path=0x7fffeeb19e00, 
s=0x7fffeeb19da0, data=2, err=<value optimized out>) at ../buffy.c:239
#3  0x000000000042f3f3 in mutt_parse_rc_line (line=<value optimized out>, 
token=0x7fffeeb19e00, err=0x7fffeeb1b8e0) at ../init.c:2456
#4  0x000000000042f5ab in source_rc (rcfile=0x15239b0 "/home/eugen/.muttrc", 
err=0x7fffeeb1b8e0) at ../init.c:2364
#5  0x000000000042fd3a in mutt_init (skip_sys_rc=0, commands=0x0) at 
../init.c:3240
#6  0x000000000043aef2 in main (argc=1, argv=0x7fffeeb1c3e8) at ../main.c:748
(gdb)

Last messages by strace:

<a lot of lstat's>
lstat("/home/eugen/Mail/from", {st_mode=S_IFREG|0644, st_size=185, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


-- Package-specific info:
Mutt 1.5.20 (2009-06-14)
Copyright (C) 1996-2009 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.6.30 (x86_64)
ncurses: ncurses 5.7.20090523 (compiled with 5.7)
libidn: 1.15 (compiled with 1.15)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Aug 27 2008 08:41:43)
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK   
+USE_POP  +USE_IMAP  +USE_SMTP  
-USE_SSL_OPENSSL  +USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO  
+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  
-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  +USE_HCACHE  
-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 <[email protected]>.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.13.cd.ifdef.2

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt depends on:
ii  libc6                    2.9-15+b1       GNU C Library: Shared libraries
ii  libcomerr2               1.41.6-1        common error description library
ii  libgdbm3                 1.8.3-4         GNU dbm database routines (runtime
ii  libgnutls26              2.6.6-1         the GNU TLS library - runtime libr
ii  libgpg-error0            1.6-1           library for common error values an
ii  libgpgme11               1.1.8-2         GPGME - GnuPG Made Easy
ii  libgssapi-krb5-2         1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii  libidn11                 1.15-1          GNU Libidn library, implementation
ii  libk5crypto3             1.7dfsg~beta3-1 MIT Kerberos runtime libraries - C
ii  libkrb5-3                1.7dfsg~beta3-1 MIT Kerberos runtime libraries
ii  libncursesw5             5.7+20090523-1  shared libraries for terminal hand
ii  libsasl2-2               2.1.23.dfsg1-1  Cyrus SASL - authentication abstra

Versions of packages mutt recommends:
ii  libsasl2-modules          2.1.23.dfsg1-1 Cyrus SASL - pluggable authenticat
ii  locales                   2.9-15         GNU C Library: National Language (
ii  mime-support              3.44-1         MIME files 'mime.types' & 'mailcap
ii  postfix [mail-transport-a 2.6.2~rc1-1    High-performance mail transport ag

Versions of packages mutt suggests:
ii  aspell                      0.60.6-1     GNU Aspell spell-checker
ii  ca-certificates             20081127     Common CA certificates
ii  gnupg                       1.4.9-4      GNU privacy guard - a free PGP rep
ii  ispell                      3.1.20.0-4.5 International Ispell (an interacti
pn  mixmaster                   <none>       (no description available)
ii  openssl                     0.9.8k-3     Secure Socket Layer (SSL) binary a
pn  urlview                     <none>       (no description available)

Versions of packages mutt is related to:
ii  mutt                          1.5.20-1   text-based mailreader supporting M
ii  mutt-dbg                      1.5.20-1   debugging symbols for mutt
pn  mutt-patched                  <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to