Your message dated Sun, 08 May 2011 12:40:56 +0000
with message-id <[email protected]>
and subject line Bug#584581: fixed in mutt 1.5.21-5
has caused the Debian Bug report #584581,
regarding Segfaults when sidebar expansion of counts is too long
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.)


-- 
584581: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584581
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mutt-patched
Version: 1.5.20-5~bpo50+1
Severity: normal

My sidebar_width has been 16 since a long time ago.  Recently one of my
folders exceeded 1000 unread messages.   With the total message count
in the folder being over 10000, plus some tagged messages, the counts
exactly fill the sidebar and there is no room for the folder name.
This causes mutt-patched to segfault.

This is what the sidebar looks like at sidebar_width=18, you can see
that at width 16 the middle line would be too long.

 railafric 118(1)| 
 rogerford  36(4)| 
  14264(1158)[59]| 
 seg            5| 
 zimra 1362(3)[9]| 

The preceding message before the crash is from glibc:
mutt: realloc( ): invalid old size: 0x0a2a9280

Can't get the backtrace as it is mangled by curses, but gdb stack dump
is attached.  I have the core dump available if needed.  From gdb it
looks like the segfault occurs when processing the directory after the
lengthy one.

Workaround is obviously to increase the sidebar width, and I don't know
what you should do if the sidebar is even narrower.  But I think mutt
shouldn't segfault anyway as it was quite hard to track down the cause.

Thanks

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (800, 'stable'), (150, 'testing'), (3, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mutt-patched depends on:
ii  libc6           2.7-18lenny2             GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libgdbm3        1.8.3-3                  GNU dbm database routines (runtime
ii  libgnutls26     2.4.2-6+lenny2           the GNU TLS library - runtime libr
ii  libgpg-error0   1.4-2                    library for common error values an
ii  libgpgme11      1.1.6-2                  GPGME - GnuPG Made Easy
ii  libidn11        1.15-2~njl50+1           GNU Libidn library, implementation
ii  libkrb53        1.6.dfsg.4~beta1-5lenny4 MIT Kerberos runtime libraries
ii  libncursesw5    5.7+20081213-1           shared libraries for terminal hand
ii  libsasl2-2      2.1.22.dfsg1-23+lenny1   Cyrus SASL - authentication abstra
ii  mutt            1.5.20-5~bpo50+1         text-based mailreader supporting M

mutt-patched recommends no packages.

mutt-patched suggests no packages.

-- no debconf information
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Reading symbols from /lib/libncursesw.so.5...done.
Loaded symbols for /lib/libncursesw.so.5
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libgnutls.so.26...done.
Loaded symbols for /usr/lib/libgnutls.so.26
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libgdbm.so.3...done.
Loaded symbols for /usr/lib/libgdbm.so.3
Reading symbols from /usr/lib/libgpgme.so.11...done.
Loaded symbols for /usr/lib/libgpgme.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /usr/lib/libidn.so.11...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /lib/i686/cmov/libc.so.6...Reading symbols from 
/usr/lib/debug/lib/i686/cmov/libc-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /lib/i686/cmov/libdl.so.2...Reading symbols from 
/usr/lib/debug/lib/i686/cmov/libdl-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libkeyutils.so.1...done.
Loaded symbols for /lib/libkeyutils.so.1
Reading symbols from /lib/i686/cmov/libresolv.so.2...Reading symbols from 
/usr/lib/debug/lib/i686/cmov/libresolv-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libresolv.so.2
Reading symbols from /lib/i686/cmov/libpthread.so.0...Reading symbols from 
/usr/lib/debug/lib/i686/cmov/libpthread-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...Reading symbols from 
/usr/lib/debug/lib/ld-2.7.so...done.
done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libtasn1.so.3...done.
Loaded symbols for /usr/lib/libtasn1.so.3
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libgcrypt.so.11...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /lib/i686/cmov/libnss_compat.so.2...Reading symbols from 
/usr/lib/debug/lib/i686/cmov/libnss_compat-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/i686/cmov/libnsl.so.1...Reading symbols from 
/usr/lib/debug/lib/i686/cmov/libnsl-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libnsl.so.1
Reading symbols from /lib/i686/cmov/libnss_nis.so.2...Reading symbols from 
/usr/lib/debug/lib/i686/cmov/libnss_nis-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/i686/cmov/libnss_files.so.2...Reading symbols from 
/usr/lib/debug/lib/i686/cmov/libnss_files-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libnss_files.so.2
Reading symbols from /usr/lib/libnss_db.so.2...done.
Loaded symbols for /usr/lib/libnss_db.so.2
Reading symbols from /usr/lib/libdb-4.6.so...done.
Loaded symbols for /usr/lib/libdb-4.6.so
Reading symbols from /usr/lib/gconv/CP1252.so...Reading symbols from 
/usr/lib/debug/usr/lib/gconv/CP1252.so...done.
done.
Loaded symbols for /usr/lib/gconv/CP1252.so
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Core was generated by `mutt'.
Program terminated with signal 6, Aborted.
[New process 3849]
#0  0xf7790425 in __kernel_vsyscall ()
(gdb) bt
#0  0xf7790425 in __kernel_vsyscall ()
#1  0xf73f6640 in raise () from /lib/i686/cmov/libc.so.6
#2  0xf73f8018 in abort () from /lib/i686/cmov/libc.so.6
#3  0xf743334d in __libc_message () from /lib/i686/cmov/libc.so.6
#4  0xf7439624 in malloc_printerr () from /lib/i686/cmov/libc.so.6
#5  0xf743d1a1 in _int_realloc () from /lib/i686/cmov/libc.so.6
#6  0xf743db46 in realloc () from /lib/i686/cmov/libc.so.6
#7  0x080c1a85 in make_sidebar_entry (box=0x94c4790 " seg", size=5, new=0, 
flagged=0)
    at ../sidebar.c:119
#8  0x080c21cc in draw_sidebar (menu=6) at ../sidebar.c:306
#9  0x08067f83 in mutt_index_menu () at ../curs_main.c:2239
#10 0x080843a8 in main (argc=1, argv=0xff9f3614) at ../main.c:1026
(gdb) bt full
#0  0xf7790425 in __kernel_vsyscall ()
No symbol table info available.
#1  0xf73f6640 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xf73f8018 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3  0xf743334d in __libc_message () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#4  0xf7439624 in malloc_printerr () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#5  0xf743d1a1 in _int_realloc () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#6  0xf743db46 in realloc () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#7  0x080c1a85 in make_sidebar_entry (box=0x94c4790 " seg", size=5, new=0, 
flagged=0)
    at ../sidebar.c:119
        i = <value optimized out>
        entry = 0x94ab9b8 "14218(1112)[59]"
#8  0x080c21cc in draw_sidebar (menu=6) at ../sidebar.c:306
        sidebar_folder_depth = 1
        sidebar_folder_name = 0x9326753 "seg"
        lines = 28
        tmp = (BUFFY *) 0x9326740
        delim_len = 1
        color_pair = <value optimized out>
        initialized = true
        prev_show_value = 1
        saveSidebarWidth = 16
#9  0x08067f83 in mutt_index_menu () at ../curs_main.c:2239
        buf = "---Mutt: /var/mail/leveret [Msgs:838 New:93 Old:21 Flag:4 
Post:20 Inc:53 
60M]---(threads/last-date-received)-\000\237�\006\215?��fJ\t\200mJ\t\b\000\000\000NH\006\bx;.\t\001\000\000\000�fJ\t�*\237��fJ\t\001\000\000\000\000\000\000\000\004\000\000\0000{\v\b\000\000\000\000�'\237��\037R��fJ\t\204mJ\t�'\237�\006\215?��fJ\t"...
        helpstr = "q:Quit  d:Del  u:Undel  s:Save  m:Mail  r:Reply  g:Group  
?:Help\000\022v�.\000\000\000\n\023C�X#\237���t�\000\000\000\000�0R���/��\022v�x�+\t\000\t\000\000�$\237��\217t�.\000\000\000�$R�",
 '\0' <repeats 15 times>, 
"\020��/��\022v�h�+\t\000\t\000\000�$\237��\034v��\034v�\b�u�\200$\237��$\237�\000\000\000\000\b�u�\200$\237�\230$\237�\000\000\000\000�\213?�/"...
        op = 182
        done = 0
        i = <value optimized out>
        j = <value optimized out>
        tag = 0
        newcount = 53
        oldcount = <value optimized out>
        rc = 0
        menu = (MUTTMENU *) 0x94a6ce8
        cp = <value optimized out>
        index_hint = 317
        do_buffy_notify = -6347028
        close = 0
        attach_msg = 0
#10 0x080843a8 in main (argc=1, argv=0xff9f3614) at ../main.c:1026
        folder = "/var/mail/leveret", '\0' <repeats 238 times>
        subject = 0x0
        includeFile = 0x0
        draftFile = 0x0
        newMagic = 0x0
        msg = (HEADER *) 0x0
        attach = (LIST *) 0x0
        commands = (LIST *) 0x0
        queries = (LIST *) 0x0
        alias_queries = (LIST *) 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
(gdb) q

--- 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