[Pkg-mutt-maintainers] Bug#834024: mutt: "double free or corruption" when closing a compressed mbox

Alberto Garcia berto at igalia.com
Thu Aug 11 13:25:35 UTC 2016


Package: mutt
Version: 1.6.2-1
Severity: normal

Hi,

mutt is crashing with compressed mbox files. I think this is quite
recent since I use these often and I only noticed the crash now.

1) Take a mailbox in mbox format and compress it using gzip or bzip2
2) Open it with 'mutt -f mbox.gz'
3) Press 'q' to close mutt

Program received signal SIGABRT, Aborted

(gdb) bt
#0  0x00007ffff59781c8 in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff597964a in __GI_abort () at abort.c:89
#2  0x00007ffff59b3f4a in __libc_message (do_abort=do_abort at entry=2, fmt=fmt at entry=0x7ffff5aacb30 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff59b96b6 in malloc_printerr (action=3, str=0x7ffff5aacc88 "double free or corruption (fasttop)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5004
#4  0x00007ffff59b9e9e in _int_free (av=0x7ffff5ce0b20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:3865
#5  0x00005555555e3064 in safe_free (ptr=ptr at entry=0x555555943d08) at ../../lib.c:198
#6  0x00005555555b370b in mx_fastclose_mailbox (ctx=ctx at entry=0x555555943d00) at ../../mx.c:834
#7  0x00005555555b41df in mx_close_mailbox (ctx=0x555555943d00, index_hint=0x7fffffffc814) at ../../mx.c:1151
#8  0x00005555555b3b69 in mx_close_mailbox (ctx=<optimized out>, index_hint=index_hint at entry=0x7fffffffc814) at ../../mx.c:1220
#9  0x000055555558d3e2 in mutt_index_menu () at ../../curs_main.c:1408
#10 0x000055555556c297 in main (argc=1, argv=<optimized out>) at ../../main.c:873

Regards,

Berto

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mutt depends on:
ii  libassuan0        2.4.2-3
ii  libc6             2.23-4
ii  libcomerr2        1.43.1-1
ii  libgnutls30       3.5.2-2
ii  libgpg-error0     1.23-1
ii  libgpgme11        1.6.0-3
ii  libgssapi-krb5-2  1.14.2+dfsg-1
ii  libidn11          1.32-3.1
ii  libk5crypto3      1.14.2+dfsg-1
ii  libkrb5-3         1.14.2+dfsg-1
ii  libncursesw5      6.0+20160319-1
ii  libnotmuch4       0.22.1-2
ii  libsasl2-2        2.1.26.dfsg1-15
ii  libtinfo5         6.0+20160319-1
ii  libtokyocabinet9  1.4.48-10

Versions of packages mutt recommends:
ii  libsasl2-modules  2.1.26.dfsg1-15
ii  locales           2.23-4
ii  mime-support      3.60

Versions of packages mutt suggests:
ii  aspell                                     0.60.7~20110707-3+b1
ii  ca-certificates                            20160104
ii  exim4-daemon-light [mail-transport-agent]  4.87-3
ii  gnupg                                      1.4.20-6
ii  ispell                                     3.4.00-5
pn  mixmaster                                  <none>
ii  openssl                                    1.0.2h-1
pn  urlview                                    <none>

Versions of packages mutt is related to:
ii  mutt  1.6.2-1

-- no debconf information



More information about the Pkg-mutt-maintainers mailing list