Package: neomutt
Version: 20201120+dfsg.1-1
Severity: important

Repro:

$ grep alias .muttrc
set alias_file=~/.mail_aliases  # where I keep my aliases
source ~/.mail_aliases
set reverse_alias               # attempt to look up my names for people

Open neomutt, navigate to some gmail address.
Press a, confirm the parts of the alias.
Confirm with Y.

Result:

neomutt crashes on some assertion, before asking for the target path
confirmation. See below.

Vanilla mutt does not crash.

Related stack:

Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50      ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht 
gefunden.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007faa195d5537 in __GI_abort () at abort.c:79
#2  0x00007faa195d540f in __assert_fail_base
    (fmt=0x7faa183753ad "%s%s%s:%u: %s%sZusicherung »%s« nicht erfüllt.\n%n", 
assertion=0x5650afbecbeb "DTYPE(he->type) == DT_STRING", file=0x5650afbecac0 
"../config/helpers.c", line=248, function=<optimized out>) at assert.c:92
#3  0x00007faa195e4602 in __GI___assert_fail
    (assertion=assertion@entry=0x5650afbecbeb "DTYPE(he->type) == DT_STRING", 
file=file@entry=0x5650afbecac0 "../config/helpers.c", line=line@entry=248, 
function=function@entry=0x5650afbecc10 <__PRETTY_FUNCTION__.0> 
"cs_subset_string")
    at assert.c:101
#4  0x00005650afba7536 in cs_subset_string (sub=sub@entry=0x5650b0b10420, 
name=name@entry=0x5650afbcbfb9 "alias_file") at ../config/helpers.c:248
#5  0x00005650afb8c00f in alias_create (al=<optimized out>, sub=0x5650b0b10420) 
at ../alias/alias.c:485
#6  0x00005650afb10570 in mutt_pager (banner=banner@entry=0x0, fname=<optimized 
out>, flags=flags@entry=66, extra=extra@entry=0x7ffd72dfbf00) at ../pager.c:3020
#7  0x00005650afad0def in mutt_display_message
    (win_index=win_index@entry=0x5650b1c18bb0, 
win_ibar=win_ibar@entry=0x5650b1c18c50, 
win_pager=win_pager@entry=0x5650b25a38b0, 
win_pbar=win_pbar@entry=0x5650b25a3950, m=<optimized out>, e=0x5650b1058f00) at 
../commands.c:377
#8  0x00005650afaeb7f8 in mutt_index_menu (dlg=0x5650b1c18a70) at 
../index.c:2579
#9  0x00005650afacb14a in main (argc=1, argv=0x7ffd72dff1c8, envp=<optimized 
out>) at ../main.c:1236

Best regards,
Eduard.

-- Package-specific info:
NeoMutt 20201120
Copyright (C) 1996-2020 Michael R. Elkins and others.
NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'.
NeoMutt is free software, and you are welcome to redistribute it
under certain conditions; type 'neomutt -vv' for details.

System: Linux 5.9.0-4-amd64 (x86_64)
ncurses: ncurses 6.2.20201114 (compiled with 6.2.20201114)
libidn: 1.33 (compiled with 1.33)
GPGME: 1.14.0-unknown
GnuTLS: 3.6.15
libnotmuch: 5.3.0
storage: tokyocabinet

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-option-checking --disable-silent-rules 
{--libdir=${prefix}/lib/x86_64-linux-gnu} 
{--libexecdir=${prefix}/lib/x86_64-linux-gnu} --disable-maintainer-mode 
--disable-dependency-tracking --mandir=/usr/share/man --libexecdir=/usr/libexec 
--with-mailpath=/var/mail --gpgme --lua --notmuch --with-ui --gnutls --gss 
--idn --mixmaster --sasl --tokyocabinet --sqlite --autocrypt

Compilation CFLAGS: -g -O2 
-fdebug-prefix-map=/build/neomutt-Ulxxh7/neomutt-20201120+dfsg.1=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 
-D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -I/usr/include 
-I/usr/include/lua5.4 -DNCURSES_WIDECHAR -isystem /usr/include/mit-krb5

Default options:
  +attach_headers_color +compose_to_sender +compress +cond_date +debug
  +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color
  +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop
  +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar
  +skip_quoted +smtp +status_color +timeout +tls_sni +trash

Compile options:
  +autocrypt +bkgdset +color +curs_set +fcntl -flock -fmemopen +futimens
  +getaddrinfo +gnutls +gpgme +gss +hcache -homespool +idn +inotify
  -locales_hack +lua +meta +mixmaster +nls +notmuch -openssl +pgp +regex +sasl
  +smime +sqlite +start_color +sun_attachment +typeahead
MAILPATH="/var/mail"
MIXMASTER="mixmaster"
PKGDATADIR="/usr/share/neomutt"
SENDMAIL="/usr/sbin/sendmail"
SYSCONFDIR="/etc"

To learn more about NeoMutt, visit: https://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: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-4-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages neomutt depends on:
ii  libc6             2.31-5
ii  libgnutls30       3.6.15-4
ii  libgpg-error0     1.38-2
ii  libgpgme11        1.14.0-1+b1
ii  libgssapi-krb5-2  1.18.3-4
ii  libidn11          1.33-2.4
ii  liblua5.4-0       5.4.2-1
ii  libncursesw6      6.2+20201114-1
ii  libnotmuch5       0.31.2-3
ii  libsasl2-2        2.1.27+dfsg-2
ii  libsqlite3-0      3.34.0-1
ii  libtinfo6         6.2+20201114-1
ii  libtokyocabinet9  1.4.48-13
ii  sensible-utils    0.0.12+nmu1

Versions of packages neomutt recommends:
ii  libsasl2-modules  2.1.27+dfsg-2
ii  locales           2.31-5
ii  mime-support      3.66

Versions of packages neomutt suggests:
ii  aspell                                     0.60.8-1
ii  ca-certificates                            20200601
ii  exim4-daemon-light [mail-transport-agent]  4.94-9+b1
ii  gnupg                                      2.2.20-1
ii  ispell                                     3.4.00-8
pn  mixmaster                                  <none>
ii  openssl                                    1.1.1h-1
ii  urlview                                    0.9-21+b1

Versions of packages neomutt is related to:
ii  neomutt  20201120+dfsg.1-1

-- no debconf information

--
Als wenn man, um dem Sohn, der in der Wiege liegt, beizeiten
Vorteil zu bringen, den Vater totschlagen wollte.
                -- Goethe, Maximen und Reflektionen, Nr. 1301

Reply via email to