Package: mutt Version: 1.5.20-7 Severity: normal Mutt repeatedly setfaults when opening my "outbox" IMAP mailbox.
The last few lines of .muttdebug* are: [2010-06-01 16:35:45] 6< * 5588 FETCH (UID 5615 FLAGS (\Seen) INTERNALDATE "01-Jun-2010 15:01:01 +0000" RFC822.SIZE 3597 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" "MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "CONTENT-DESCRIPTION" "IN-REPLY-TO" "REPLY-TO" "LINES" "LIST-POST" "X-LABEL")] {408} [2010-06-01 16:35:45] imap_read_literal: reading 408 bytes [2010-06-01 16:35:45] 6< ) [2010-06-01 16:35:45] parse_parameters: `charset=iso-8859-1' [2010-06-01 16:35:45] parse_parameter: `charset' = `iso-8859-1' [2010-06-01 16:35:45] 6< * 5589 FETCH (UID 5616 FLAGS (\Seen) INTERNALDATE "01-Jun-2010 15:07:52 +0000" RFC822.SIZE 697 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" "MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "CONTENT-DESCRIPTION" "IN-REPLY-TO" "REPLY-TO" "LINES" "LIST-POST" "X-LABEL")] {220} [2010-06-01 16:35:45] imap_read_literal: reading 220 bytes [2010-06-01 16:35:45] 6< ) [2010-06-01 16:35:45] parse_parameters: `charset=us-ascii' [2010-06-01 16:35:45] parse_parameter: `charset' = `us-ascii' [2010-06-01 16:35:45] 6< a0020 OK FETCH completed The backtrace from gdb is: Fetching message headers... 5590/5590 (100%) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb74206e0 (LWP 9779)] mx_update_context (ctx=0x9692878, new_messages=5589) at ../mx.c:1647 1647 h->security = crypt_query (h->content); (gdb) bt #0 mx_update_context (ctx=0x9692878, new_messages=5589) at ../mx.c:1647 #1 0x080ec4ca in imap_read_headers (idata=0x96f5438, msgbegin=0, msgend=5589) at ../../imap/message.c:379 #2 0x080e8ebd in imap_open_mailbox (ctx=0x9692878) at ../../imap/imap.c:756 #3 0x0808ed1d in mx_open_mailbox (path=0xbffc78ac "imap://my-server/outbox", flags=<value optimized out>, pctx=0x0) at ../mx.c:681 #4 0x08069d48 in mutt_index_menu () at ../curs_main.c:1168 #5 0x08083786 in main (argc=1, argv=0xbffc87d4) at ../main.c:1026 (gdb) I've seen other bug reports also include this information, so I shall do so: gdb) print *ctx $1 = {path = 0x96f5370 "imap://my-server/outbox", fp = 0x0, mtime = 0, size = 224541983, vsize = 0, pattern = 0x0, limit_pattern = 0x0, hdrs = 0x970e340, last_tag = 0x0, tree = 0x0, id_hash = 0x0, subj_hash = 0x0, thread_hash = 0x0, v2r = 0x9713b00, hdrmax = 5615, msgcount = 5589, vcount = 0, tagged = 0, new = 0, unread = 0, deleted = 0, appended = 0, flagged = 0, msgnotreadyet = -1, compressinfo = 0x0, realpath = 0x0, magic = 5, rights = "\177\001", locked = 0, changed = 0, readonly = 0, dontwrite = 0, append = 0, quiet = 0, collapsed = 0, closing = 0, data = 0x96f5438, mx_close = 0x80e61f0 <imap_close_mailbox>} (gdb) up #1 0x080ec4ca in imap_read_headers (idata=0x96f5438, msgbegin=0, msgend=5589) at ../../imap/message.c:379 379 mx_update_context (ctx, ctx->msgcount - oldmsgcount); (gdb) print ctx->msgcount $3 = 5589 (gdb) print oldmsgcount $4 = 0 If I open the Maildir box directly from the local filesystem, mutt does not segfault. If I open it via IMAP (bincimap 1.2.14beta2.dfsg-4) it segfaults every time. I made sure to be using a mutt which includes the fix for #537694 What other information could be useful? Regards, Nick -- 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.32-5-686-bigmem (i686) ncurses: ncurses 5.7.20100313 (compiled with 5.7) libidn: 1.15 (compiled with 1.15) hcache backend: GDBM version 1.8.3. 10/15/2002 (built Nov 21 2009 11:02:22) 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="/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-...@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 testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages mutt depends on: ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libcomerr2 1.41.11-1 common error description library ii libgdbm3 1.8.3-9 GNU dbm database routines (runtime ii libgnutls26 2.8.6-1 the GNU TLS library - runtime libr ii libgpg-error0 1.6-1 library for common error values an ii libgpgme11 1.2.0-1.2 GPGME - GnuPG Made Easy ii libgssapi-krb5-2 1.8.1+dfsg-2 MIT Kerberos runtime libraries - k ii libidn11 1.15-2 GNU Libidn library, implementation ii libk5crypto3 1.8.1+dfsg-2 MIT Kerberos runtime libraries - C ii libkrb5-3 1.8.1+dfsg-2 MIT Kerberos runtime libraries ii libncurses5 5.7+20100313-2 shared libraries for terminal hand ii libsasl2-2 2.1.23.dfsg1-5 Cyrus SASL - authentication abstra Versions of packages mutt recommends: ii exim4-daemon-heavy [mail- 4.71-4 Exim MTA (v4) daemon with extended ii libsasl2-modules 2.1.23.dfsg1-5 Cyrus SASL - pluggable authenticat ii locales 2.10.2-6 Embedded GNU C Library: National L ii locales-all [locales] 2.10.2-6 Embedded GNU C Library: Precompile ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap Versions of packages mutt suggests: ii aspell 0.60.6-4 GNU Aspell spell-checker ii ca-certificates 20090814 Common CA certificates ii gnupg 1.4.10-2 GNU privacy guard - a free PGP rep ii ispell 3.1.20.0-7 International Ispell (an interacti pn mixmaster <none> (no description available) ii openssl 0.9.8n-1 Secure Socket Layer (SSL) binary a ii urlview 0.9-18.1 Extracts URLs from text Versions of packages mutt is related to: ii mutt 1.5.20-7 text-based mailreader supporting M ii mutt-dbg 1.5.20-7 debugging symbols for mutt pn mutt-patched <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org