Your message dated Sun, 08 May 2011 12:40:56 +0000
with message-id <[email protected]>
and subject line Bug#584138: fixed in mutt 1.5.21-5
has caused the Debian Bug report #584138,
regarding mutt segfaults in mx_update_context when finishing opening an IMAP 
mailbox
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
584138: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584138
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 <[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 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



--- End Message ---
--- Begin Message ---
Source: mutt
Source-Version: 1.5.21-5

We believe that the bug you reported is fixed in the latest version of
mutt, which is due to be installed in the Debian FTP archive:

mutt-dbg_1.5.21-5_amd64.deb
  to main/m/mutt/mutt-dbg_1.5.21-5_amd64.deb
mutt-patched_1.5.21-5_amd64.deb
  to main/m/mutt/mutt-patched_1.5.21-5_amd64.deb
mutt_1.5.21-5.diff.gz
  to main/m/mutt/mutt_1.5.21-5.diff.gz
mutt_1.5.21-5.dsc
  to main/m/mutt/mutt_1.5.21-5.dsc
mutt_1.5.21-5_amd64.deb
  to main/m/mutt/mutt_1.5.21-5_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Radici <[email protected]> (supplier of updated mutt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 05 May 2011 15:00:56 +0000
Source: mutt
Binary: mutt mutt-patched mutt-dbg
Architecture: source amd64
Version: 1.5.21-5
Distribution: unstable
Urgency: low
Maintainer: Antonio Radici <[email protected]>
Changed-By: Antonio Radici <[email protected]>
Description: 
 mutt       - text-based mailreader supporting MIME, GPG, PGP and threading
 mutt-dbg   - debugging symbols for mutt
 mutt-patched - Mutt Mail User Agent with extra patches
Closes: 494735 578098 584138 584581 586454 589240 603186 603287 611405 611410 
611412 613781 619216 619822 620945 624058 624085
Changes: 
 mutt (1.5.21-5) unstable; urgency=low
 .
   * debian/control: Standards-Version moved from 3.9.2.0 to 3.9.2 for
     cosmetic reasons
   * debian/patches/mutt-patched:
     + sidebar: patch replaced with the one written by Stuart Henderson
       (Closes: 619822)
     + sidebar: don't overwrite the status if status_on_top is enabled
       (Closes: 494735)
     + sidebar-sorted: use strcoll() to sort the sidebar using the locale
       settings of the system, patch by Arnaud Riess (Closes: 589240)
     + multiple-fccs: added a patch that allows multiple FCC separated by 
commas,
       written by Omen Wild (Closes: 586454)
     + sidebar-utf8: rewrites make_sidebar_entry() to allow correct padding of
       utf-8 strings and also prevents segfaults due to overflows
       (Closes: 584581, 603287)
   * debian/patches/debian-specific:
     + Muttrc: remove a hook for application/octet-stream, already upstream
       (Closes: 611405)
   * debian/patches/upstream:
     + 611412-bts-regexp.patch: fixes a regexp for BTS in the mutt manual
       (Closes: 611412)
     + 624058-gnutls-deprecated.patch: deprecate gnutls_protocol_set_priority()
       (Closes: 624058)
     + 624085-gnutls-deprecated-verify-peers.patch: deprecate
       gnutls_certificate_verify_peers() (Closes: 624085)
     + 584138-mx_update_context-segfault.patch: fix a segfault due to holes in
       IMAP headers, 537694-segv-imap-headers.patch is removed as part of this
       fix (Closes: 584138)
     + 619216-gnutls-CN-validation.patch: fix the validation of the
       commonname in the gnutls code (Closes: 619216)
     + 611410-no-implicit_autoview-for-text-html.patch: blacklist
       text/html from implicit_autoview, patch by Loïc Minier
       (Closes: 611410, 620945)
   * debian/patches/compressed-folders: remove partially uncompressed folder if
       the open fails (Closes: 578098)
   * debian/extra/samples/sidebar.muttrc: documented the options that
     the sidebar-{sorted,dotted} patches are introducing; documentation
     submitted by Julien Valroff (Closes: 603186)
   * added mutt.desktop and to debian/extra and installed through mutt.install,
     it contains a MimeType handler for mailto (Closes: 613781)
Checksums-Sha1: 
 348f7e208580ab89c1150840929286993d8cd3db 1404 mutt_1.5.21-5.dsc
 ea75302765d16d6b6dad083c6dc37773a3e38b67 165185 mutt_1.5.21-5.diff.gz
 dca121e5eeb855e7ad136f131f29d9aa014695b6 2142402 mutt_1.5.21-5_amd64.deb
 267f6e4375f4e6723ada4b144edd49818baa4aad 438888 mutt-patched_1.5.21-5_amd64.deb
 6b4cfa973b454f18927c3406104b3c3a99c4f484 1561112 mutt-dbg_1.5.21-5_amd64.deb
Checksums-Sha256: 
 0951e0ef2b3dae1b6dc24ec04fcaf2052360aa90639d6649249df7a13d91c528 1404 
mutt_1.5.21-5.dsc
 0b3be194c2a6d0c5a09ef39d92a55547f94e868d15863d4492bc075618a24559 165185 
mutt_1.5.21-5.diff.gz
 66e4814092cedbdc73d2b2458772d3cdd65c82729a4289f2cabdc2ba2d2bc5a3 2142402 
mutt_1.5.21-5_amd64.deb
 f95c75979fa558acc4068106a1e13eac9e06a1a83440104a475b80070a97413b 438888 
mutt-patched_1.5.21-5_amd64.deb
 ccab3bbf0e2eada73a04ad208cf1abfaf39727cc8b43aba1f375ab3f89b98c35 1561112 
mutt-dbg_1.5.21-5_amd64.deb
Files: 
 9f696835ea852566cdbb53fceaaae8af 1404 mail standard mutt_1.5.21-5.dsc
 3c9437bc1b05ea39f1d9dd368a85a269 165185 mail standard mutt_1.5.21-5.diff.gz
 c125a28fc23cf6c59bba46b49654b42d 2142402 mail standard mutt_1.5.21-5_amd64.deb
 cda9452010718b255b6451870dc9cb2f 438888 mail extra 
mutt-patched_1.5.21-5_amd64.deb
 10b685001f584ce16cdbc51b513561c4 1561112 debug extra 
mutt-dbg_1.5.21-5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk3GSlEACgkQ6Tq8aae+WrCLhwCfbRA6ZVyx58d0n6Zpw5XadnMD
e9kAoJSiIA+1ZPWn8ipKDg8y6q1OBr5t
=Vy84
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to