Package: mutt
Version: 1.5.20-2
Severity: normal

Hi!

When I open a particular maildir mutt segfaults:

Reading /home/paul/Maildir/utopia/mages/... 1320/1411 (93%)
[1]    16254 segmentation fault  mutt

It is completely reproducible on one machine but not on another (also
Debian sid amd64).  Maybe there is a corruption in the mail headers that
triggers the crash?  Regardless, it shouldn't crash.  I have installed
mutt-dbg and attached the full backtrace log.

Kind regards,
Paul

-- 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.28-1-amd64 (x86_64)
ncurses: ncurses 5.7.20090803 (compiled with 5.7)
libidn: 1.15 (compiled with 1.15)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Jul  9 2009 11:48:41)
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 <mutt-...@mutt.org>.
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'), (500, 'testing'), (102, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt depends on:
ii  libc6                   2.9-25           GNU C Library: Shared libraries
ii  libcomerr2              1.41.9-1         common error description library
ii  libgdbm3                1.8.3-6          GNU dbm database routines (runtime
ii  libgnutls26             2.8.3-2          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+20090803-2   shared libraries for terminal hand
ii  libsasl2-2              2.1.23.dfsg1-1.1 Cyrus SASL - authentication abstra

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

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

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

-- no debconf information
#0  0x00002b7892e0f627 in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0x0000000000497347 in restore_char (c=0x19790a0, d=0x196f2c0 "*\332(J", 
    off=0x7fff197c6054, convert=0) at ../hcache.c:188
        size = 116343794
#2  0x000000000049743f in restore_address (a=0x1978f28, d=0x196f2c0 "*\332(J", 
    off=0x7fff197c6054, convert=0) at ../hcache.c:238
        counter = 2332396390
#3  0x00000000004976f5 in restore_envelope (d=0x196f2c0 "*\332(J", oh=0x1644120)
    at ../hcache.c:458
        real_subj_off = 23227393
#4  mutt_hcache_restore (d=0x196f2c0 "*\332(J", oh=0x1644120) at ../hcache.c:664
        off = 322
        h = 0x1626b30
        convert = 0
#5  0x0000000000441228 in maildir_delayed_parsing (ctx=0x1770470, 
md=0x7fff197c6590, 
    progress=0x7fff197c6430) at ../mh.c:1069
        p = 0x1644120
        last = <value optimized out>
        fn = 
"/home/paul/Maildir/utopia/mages//cur/1222888641_5.29641.density,U=1329,FMD5=1e3f4ee4e71c35b7f623c8a33e4f76d1:2,S\0\0\0\31\377\177",
 '\0' <repeats 18 times>, "3\365ݒx+\0\0(\0\0\0\60\0\0\0 
b|\31\377\177\0\0`a|\31\377\177\0\0\37\nD\0\0\0\0\0\377\377\377\377e/pa0c|\31\377\177\0\0
 b|\31\377\177\0\0Td|\31\377\177\0\0\0\0\0\0\0\0\0\0\340\334A", '\0' <repeats 
13 times>, "0\27]\1\0\0\0\0\377"...
        sort = 1
        hc = 0x1770ab0
        data = 0x196f2c0
        lastchanged = {st_dev = 65026, st_ino = 8832297, st_nlink = 1, 
          st_mode = 33204, st_uid = 1000, st_gid = 1000, __pad0 = 0, st_rdev = 
0, 
          st_size = 3414, st_blksize = 4096, st_blocks = 8, st_atim = {
            tv_sec = 1223019123, tv_nsec = 0}, st_mtim = {tv_sec = 1222884389, 
            tv_nsec = 0}, st_ctim = {tv_sec = 1222893290, tv_nsec = 0}, 
__unused = {
            0, 0, 0}}
        ret = <value optimized out>
#6  0x000000000044244d in mh_read_dir (ctx=0x1770470, subdir=0x4a5a4a "cur")
    at ../mh.c:1154
        md = 0x1652b10
        mhs = {max = 0, flags = 0x0}
        last = 0x1658310
        count = 1411
        msgbuf = "Reading /home/paul/Maildir/utopia/mages/...\0\0\0\0\0\2\0\0\0 
", '\0' <repeats 11 times>"\200, 
d|\31\377\177\0\0\22\0\0\0\0\0\0\0\340\2\353\222x+\0\0\30\362\r\223x+\0\0\2", 
'\0' <repeats 23 times>"\200, 
d|\31\377\177\0\0pd|\31\377\177\0\0\250e|\31\377\177\0\0\200d|\31\1\0\0\0\275\5K\0\0\0\0\0\360\376K\1\0\0\0\0\340}T\1",
 '\0' <repeats 28 times>"\240, d|\31\377\177", '\0' <repeats 18 times>, 
"\4\0\0\0\0\0\0\0=[D", '\0' <repeats 17 times>, " \0\0"
        progress = {inc = 5, flags = 2, 
          msg = 0x7fff197c6330 "Reading /home/paul/Maildir/utopia/mages/...", 
          pos = 1320, size = 1411, timestamp = 0, 
          sizestr = "1411", '\0' <repeats 123 times>}
#7  0x000000000044269d in maildir_read_dir (ctx=0x1770470) at ../mh.c:1178
No locals.
#8  0x00000000004462ed in mx_open_mailbox (path=0x41dce0 "SH\201\354\360\4", 
    flags=0, pctx=0x0) at ../mx.c:671
        ctx = 0x1770470
        rc = <value optimized out>
#9  0x00000000004234fc in mutt_index_menu () at ../curs_main.c:1168
        buf = "/home/paul/Maildir/utopia/mages/", '\0' <repeats 991 times>
        helpstr = "q:Quit  d:Del  u:Undel  s:Save  m:Mail  r:Reply  g:Group  
?:Help\0\372\r\223x+\0\0\6\221S\221x+\0\0\1\0\0\0\0\0\0\1", '\0' <repeats 16 
times>, 
"p\244N\1\0\0\0\0+\0\0\0\0\0\0\0\300\257P\1\0\0\0\0\0\t\0\0\0\0\0\0\345\204R\221x+\0\0\214\3\0\0\0\0\0\0\301+\0\0\0\0\0\0\316\1\0\0\0\0\0\0\\h|\31\377\177\...@m]\1\0\0\0\0a\0\0\0:\0\0\0
 e|\31\377\177\0\0!e|\31\377\177\0\0\376\1\0\0\0\0\0\0\377\1\0\0\0\0\...@m]\1", 
'\0' <repeats 13 times>"\262"...
        op = 99
        done = 0
        i = <value optimized out>
        j = <value optimized out>
        tag = 0
        newcount = 0
        oldcount = 5
        rc = 0
        menu = 0x1770560
        cp = 0x5 <Address 0x5 out of bounds>
        index_hint = 4
        do_buffy_notify = 1
        close = 0
        attach_msg = 0
#10 0x000000000043bb61 in main (argc=1, argv=0x7fff197c7a58) at ../main.c:1026
        folder = "/home/paul/Maildir/INBOX", '\0' <repeats 231 times>
        subject = 0x0
        includeFile = 0x0
        draftFile = 0x0
        newMagic = 0x0
        msg = 0x0
        attach = 0x0
        commands = 0x0
        queries = 0x0
        alias_queries = 0x0
        sendflags = 0
        flags = <value optimized out>
        version = 0
        i = <value optimized out>
        explicit_folder = 0
        dump_variables = 0
        double_dash = <value optimized out>
        nargc = 1

Reply via email to