Mutt crashed in mutt_pattern_exec just after sending a message
I replied to a message (successfully), but Mutt crashed immediately
after. The mailbox was an IMAP one.
dixsept:~> mutt -v
Mutt 1.5.7i (2005-01-28)
Copyright (C) 1996-2002 Michael R. Elkins et autres.
Mutt ne fournit ABSOLUMENT AUCUNE GARANTIE ; pour les détails tapez `mutt -vv'.
Mutt est un logiciel libre, et vous êtes libre de le redistribuer
sous certaines conditions ; tapez `mutt -vv' pour les détails.
System: Linux 2.6.10 (i686) [using ncurses 5.4]
Options de compilation :
-DOMAIN
-DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
+USE_FCNTL -USE_FLOCK +USE_INODESORT
+USE_POP +USE_IMAP -USE_GSS +USE_SSL -USE_GNUTLS -USE_SASL -USE_SASL2
+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
-BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_GETSID +HAVE_GETADDRINFO
-USE_HCACHE
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/home/vlefevre/share/mutt"
SYSCONFDIR="/home/vlefevre/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
Pour contacter les développeurs, veuillez écrire à <mutt-dev@xxxxxxxx>.
Pour signaler un bug, veuillez utiliser l'utilitaire flea(1).
patch-1.5.1.vl.savehist.1
patch-1.5.5.1.tt.compat.1-cl
patch-1.3.24.ats.parent_match.1
Note: this version was checked out from CVS, patched (see above) and
compiled on 2005-02-07 12:48:13 UTC.
dixsept:~> gdb =mutt core
[...]
Core was generated by `mutt'.
Program terminated with signal 11, Segmentation fault.
[...]
#0 0x0808decc in mutt_pattern_exec (pat=0x8201b00, flags=0, ctx=0x820d228,
h=0x837e040) at pattern.c:1034
1034 return (pat->not ^ (h->env->message_id && regexec (pat->rx,
h->env->message_id, 0, NULL, 0) == 0));
(gdb) backtrace
#0 0x0808decc in mutt_pattern_exec (pat=0x8201b00, flags=0, ctx=0x820d228,
h=0x837e040) at pattern.c:1034
#1 0x0808d8b7 in perform_and (pat=0x8201b00, flags=M_MATCH_FULL_ADDRESS,
ctx=0x820d228, hdr=0x837e040) at pattern.c:882
#2 0x0808dc60 in mutt_pattern_exec (pat=0x8202278,
flags=M_MATCH_FULL_ADDRESS, ctx=0x820d228, h=0x837e040) at pattern.c:983
#3 0x0806644c in mutt_set_header_color (ctx=0x820d228, curhdr=0x837e040)
at curs_main.c:2118
#4 0x0806961c in _mutt_set_flag (ctx=0x820d228, h=0x837e040, flag=8, bf=1,
upd_ctx=1) at flags.c:269
#5 0x0809c7be in ci_send_message (flags=1, msg=0x8293330, tempfile=0x0,
ctx=0x820d228, cur=0x837e040) at send.c:1725
#6 0x080882f3 in mutt_pager (banner=0x0, fname=0xbfffb9f0 "(Ò \b@à7\b",
flags=66, extra=0xbfffb9f0) at pager.c:2400
#7 0x08056d46 in mutt_display_message (cur=0x837e040) at commands.c:211
#8 0x08061083 in mutt_index_menu () at curs_main.c:1142
#9 0x08079576 in main (argc=1, argv=0xbfffcdc4) at main.c:934
(gdb)
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA