Your message dated Sun, 21 Jun 2020 13:17:05 +0200
with message-id <20200621111705.GY390@sarastro>
and subject line Re: Bug#903930: mutt: segfaults during piping an IMAP mail 
(stretch)
has caused the Debian Bug report #903930,
regarding mutt: segfaults during piping an IMAP mail (stretch)
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.)


-- 
903930: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903930
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mutt
Version: 1.7.2-1
Severity: normal

Dear Maintainer,

mutt 1.7.2-1 occasionally segfaults during piping an IMAP message.

I have the following line in ~/.muttrc:

macro index Z "|ssh localhost /bin/cat >/tmp/a<enter>"

When I press 'Z' on an IMAP message, mutt segfaults (backtrace attached).

The problem is reproducible on i386 and amd64. Not reproducible with 1.10.

A backport would be great.

With kind regards,
Baurzhan.


-- Package-specific info:
NeoMutt 20170113 (1.7.2)
Copyright (C) 1996-2016 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 4.9.0-6-amd64 (x86_64)
libidn: 1.33 (compiled with 1.33)
hcache backends: tokyocabinet

Compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-2' 
--with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs 
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared 
--enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--with-default-libstdcxx-abi=new --enable-gnu-unique-object 
--disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie 
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk 
--enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre 
--enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--with-!
 target-system-zlib --enable-objc-gc=auto --enable-multiarch 
--with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 
--enable-multilib --with-tune=generic --enable-checking=release 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20161229 (Debian 6.3.0-2) 

Configure options: '--build=x86_64-linux-gnu' '--prefix=/usr' 
'--includedir=\${prefix}/include' '--mandir=\${prefix}/share/man' 
'--infodir=\${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' 
'--disable-silent-rules' '--libdir=\${prefix}/lib/x86_64-linux-gnu' 
'--libexecdir=\${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' 
'--disable-dependency-tracking' '--with-mailpath=/var/mail' 
'--enable-compressed' '--enable-debug' '--enable-fcntl' '--enable-hcache' 
'--enable-gpgme' '--enable-imap' '--enable-smtp' '--enable-pop' 
'--enable-sidebar' '--enable-nntp' '--enable-notmuch' '--disable-fmemopen' 
'--with-curses' '--with-gnutls' '--with-gss' '--with-idn' '--with-mixmaster' 
'--with-sasl' '--without-gdbm' '--without-bdb' '--without-qdbm' 
'--with-tokyocabinet' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 
-fdebug-prefix-map=/build/mutt-K2ak0h/mutt-1.7.2=. -fstack-protector-strong 
-Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 
'CPPFLAGS=-Wdat!
 e-time -D_FORTIFY_SOURCE=2'

Compilation CFLAGS: -Wall -pedantic -Wno-long-long -g -O2 
-fdebug-prefix-map=/build/mutt-K2ak0h/mutt-1.7.2=. -fstack-protector-strong 
-Wformat -Werror=format-security -fno-delete-null-pointer-checks

Compile options:
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME +CRYPT_BACKEND_GPGME 
+DEBUG +DL_STANDALONE +ENABLE_NLS -EXACT_ADDRESS -HOMESPOOL -LOCALES_HACK 
-SUN_ATTACHMENT +HAVE_BKGDSET +HAVE_COLOR +HAVE_CURS_SET +HAVE_FUTIMENS 
+HAVE_GETADDRINFO +HAVE_GETSID +HAVE_ICONV +HAVE_LANGINFO_CODESET 
+HAVE_LANGINFO_YESEXPR +HAVE_LIBIDN +HAVE_META +HAVE_REGCOMP +HAVE_RESIZETERM 
+HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_WC_FUNCS +ICONV_NONTRANS 
+USE_COMPRESSED +USE_DOTLOCK +USE_FCNTL -USE_FLOCK -USE_FMEMOPEN -USE_GNU_REGEX 
+USE_GSS +USE_HCACHE +USE_IMAP +USE_NOTMUCH +USE_NNTP +USE_POP +USE_SASL 
+USE_SETGID +USE_SIDEBAR +USE_SMTP +USE_SSL_GNUTLS -USE_SSL_OPENSSL 
-DOMAIN
MIXMASTER="mixmaster"
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"

patch-attach-headers-color-neomutt
patch-compose-to-sender-neomutt
patch-compress-neomutt
patch-cond-date-neomutt
patch-encrypt-to-self-neomutt
patch-fmemopen-neomutt
patch-forgotten-attachments-neomutt
patch-forwref-neomutt
patch-ifdef-neomutt
patch-index-color-neomutt
patch-initials-neomutt
patch-keywords-neomutt
patch-kyoto-neomutt
patch-limit-current-thread-neomutt
patch-lmdb-neomutt
patch-multiple-fcc-neomutt
patch-nested-if-neomutt
patch-new-mail-neomutt
patch-nntp-neomutt
patch-notmuch-neomutt
patch-progress-neomutt
patch-quasi-delete-neomutt
patch-reply-with-xorig-neomutt
patch-sensible-browser-neomutt
patch-sidebar-neomutt
patch-skip-quoted-neomutt
patch-status-color-neomutt
patch-timeout-neomutt
patch-tls-sni-neomutt
patch-trash-neomutt

To learn more about NeoMutt, visit: http://www.neomutt.org/
If you find a bug in NeoMutt, please raise an issue at:
    https://github.com/neomutt/neomutt/issues
or send an email to: <[email protected]>


-- System Information:
Debian Release: 9.4
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=kk_KZ.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (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.3-2
ii  libc6             2.24-11+deb9u3
ii  libcomerr2        1.43.4-2
ii  libgnutls30       3.5.8-5+deb9u3
ii  libgpg-error0     1.26-2
ii  libgpgme11        1.8.0-3+b2
ii  libgssapi-krb5-2  1.15-1+deb9u1
ii  libidn11          1.33-1
ii  libk5crypto3      1.15-1+deb9u1
ii  libkrb5-3         1.15-1+deb9u1
ii  libncursesw5      6.0+20161126-1+deb9u2
ii  libnotmuch4       0.23.7-3
ii  libsasl2-2        2.1.27~101-g0780600+dfsg-3
ii  libtinfo5         6.0+20161126-1+deb9u2
ii  libtokyocabinet9  1.4.48-11+b1

Versions of packages mutt recommends:
ii  libsasl2-modules  2.1.27~101-g0780600+dfsg-3
ii  locales           2.24-11+deb9u3
ii  mime-support      3.60

Versions of packages mutt suggests:
ii  aspell                               0.60.7~20110707-3+b2
ii  ca-certificates                      20161130+nmu1
ii  gnupg                                2.1.18-8~deb9u1
ii  ispell                               3.4.00-5
pn  mixmaster                            <none>
ii  openssl                              1.1.0f-3+deb9u1
ii  sendmail-bin [mail-transport-agent]  8.15.2-8
pn  urlview                              <none>

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

-- no debconf information
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff5940da8 in _IO_vfprintf_internal (s=s@entry=0x7fffffffb750,
    format=<optimized out>, format@entry=0x555555634fb9 "%s %s/%s (%d%%)",
    ap=ap@entry=0x7fffffffb8c8) at vfprintf.c:1637
#2  0x00007ffff59eeab6 in ___vsnprintf_chk (s=s@entry=0x7fffffffb8e0 "",
    maxlen=<optimized out>, maxlen@entry=0x100, flags=flags@entry=0x1,
    slen=slen@entry=0x100,
    format=format@entry=0x555555634fb9 "%s %s/%s (%d%%)",
    args=args@entry=0x7fffffffb8c8) at vsnprintf_chk.c:63
#3  0x0000555555587436 in vsnprintf (__ap=0x7fffffffb8c8,
    __fmt=<optimized out>, __n=0x100, __s=0x7fffffffb8e0 "")
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:77
#4  message_bar (percent=percent@entry=0x0,
    fmt=fmt@entry=0x555555634fb9 "%s %s/%s (%d%%)") at ../../curs_lib.c:445
#5  0x0000555555587755 in mutt_progress_update (
    progress=progress@entry=0x7fffffffbd40, pos=pos@entry=0x0,
    percent=percent@entry=0xffffffff) at ../../curs_lib.c:541
#6  0x0000555555628270 in imap_read_literal (fp=0x5555575e38d0,
    idata=idata@entry=0x555555961cf0, bytes=0x2ece,
    pbar=pbar@entry=0x7fffffffbd40) at ../../../imap/imap.c:236
#7  0x000055555562e9c8 in imap_fetch_message (ctx=0x5555559a3b90,
    msg=0x555557616ac0, msgno=<optimized out>) at ../../../imap/message.c:511
#8  0x00005555555b8ee3 in mx_open_message (ctx=ctx@entry=0x5555559a3b90,
    msgno=0x314e) at ../../mx.c:1378
---Type <return> to continue, or q <return> to quit---
#9  0x0000555555584b46 in mutt_copy_message (fpout=0x555557616de0,
    src=0x5555559a3b90, hdr=hdr@entry=0x555557912800, flags=0x0, chflags=0x10)
    at ../../copy.c:781
#10 0x000055555557c0be in pipe_msg (h=h@entry=0x555557912800,
    fp=<optimized out>, decode=decode@entry=0x0, print=print@entry=0x0)
    at ../../commands.c:386
#11 0x000055555557c188 in _mutt_pipe_message (h=h@entry=0x555557912800,
    cmd=cmd@entry=0x7fffffffc520 "ssh localhost /bin/cat >/tmp/a", decode=0x0,
    print=print@entry=0x0, split=<optimized out>, sep=<optimized out>)
    at ../../commands.c:428
#12 0x000055555557d2ae in mutt_pipe_message (h=0x555557912800)
    at ../../commands.c:509
#13 0x000055555558ac88 in mutt_index_menu () at ../../curs_main.c:2865
#14 0x000055555556cf16 in main (argc=0x1, argv=<optimized out>,
    environ=<optimized out>) at ../../main.c:896

--- End Message ---
--- Begin Message ---
Control: fixed -1 1.14.4-2

On Mon, Jul 16, 2018 at 10:06:51PM +0200, Baurzhan Ismagulov wrote:
> Package: mutt
> Version: 1.7.2-1
> Severity: normal
> 
> Dear Maintainer,
> 
> mutt 1.7.2-1 occasionally segfaults during piping an IMAP message.
> 
> I have the following line in ~/.muttrc:
> 
> macro index Z "|ssh localhost /bin/cat >/tmp/a<enter>"
> 
> When I press 'Z' on an IMAP message, mutt segfaults (backtrace attached).
> 
> The problem is reproducible on i386 and amd64. Not reproducible with 1.10.
> 
> A backport would be great.

Stretch is no longer supported, buster and sid should not exibit this problem.

--- End Message ---

Reply via email to