Package: mutt Version: 1.5.21-6.2 Severity: normal Hi - I use mutt with IMAP daily to an Exchange 2010 account. It occasionally segfaults. I don't think this is exactly the same as #626294 or #626879 or the others, so I'm filing anew - please accept my apologies if I am mistaken and it turns out to be the same issue.
I got a backtrace - attached. I'm also attaching as much of my configuration as I can do so. -- Package-specific info: Mutt 1.5.21 (2010-09-15) Copyright (C) 1996-2009 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 3.2.0-3-amd64 (x86_64) ncurses: ncurses 5.9.20110404 (compiled with 5.9) libidn: 1.25 (compiled with 1.25) hcache backend: tokyocabinet 1.4.47 Compile options: -DOMAIN +DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK +USE_POP +USE_IMAP +USE_SMTP -USE_SSL_OPENSSL +USE_SSL_GNUTLS +USE_SASL +USE_GSS +HAVE_GETADDRINFO +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 -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE -ISPELL SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/mail" PKGDATADIR="/usr/share/mutt" SYSCONFDIR="/etc" EXECSHELL="/bin/sh" MIXMASTER="mixmaster" To contact the developers, please mail to <[email protected]>. To report a bug, please visit http://bugs.mutt.org/. misc/am-maintainer-mode features/ifdef features/xtitles features/trash-folder features/purge-message features/imap_fast_trash features/sensible_browser_position features-old/patch-1.5.4.vk.pgp_verbose_mime features/compressed-folders features/compressed-folders.debian debian-specific/Muttrc debian-specific/Md.etc_mailname_gethostbyname.diff debian-specific/use_usr_bin_editor.diff debian-specific/correct_docdir_in_man_page.diff debian-specific/dont_document_not_present_features.diff debian-specific/document_debian_defaults debian-specific/assumed_charset-compat debian-specific/467432-write_bcc.patch debian-specific/566076-build_doc_adjustments.patch misc/define-pgp_getkeys_command.diff misc/gpg.rc-paths misc/smime.rc upstream/531430-imapuser.patch upstream/537818-emptycharset.patch upstream/543467-thread-segfault.patch upstream/542817-smimekeys-tmpdir.patch upstream/548577-gpgme-1.2.patch upstream/553321-ansi-escape-segfault.patch upstream/568295-references.patch upstream/547980-smime_keys-chaining.patch upstream/528233-readonly-open.patch upstream/228671-pipe-mime.patch upstream/383769-score-match.patch upstream/578087-header-strchr.patch upstream/603288-split-fetches.patch upstream/537061-dont-recode-saved-attachments.patch upstream/608706-fix-spelling-errors.patch upstream/620854-pop3-segfault.patch upstream/611412-bts-regexp.patch upstream/624058-gnutls-deprecated-set-priority.patch upstream/624085-gnutls-deprecated-verify-peers.patch upstream/584138-mx_update_context-segfault.patch upstream/619216-gnutls-CN-validation.patch upstream/611410-no-implicit_autoview-for-text-html.patch upstream/path_max misc/579967-fixes-german-translation.patch mutt.org -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (750, 'testing'), (700, 'stable'), (600, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mutt depends on: ii libc6 2.13-35 ii libcomerr2 1.42.5-1 ii libgnutls26 2.12.20-1 ii libgpg-error0 1.10-3.1 ii libgpgme11 1.2.0-1.4 ii libgssapi-krb5-2 1.10.1+dfsg-2 ii libidn11 1.25-2 ii libk5crypto3 1.10.1+dfsg-2 ii libkrb5-3 1.10.1+dfsg-2 ii libncursesw5 5.9-10 ii libsasl2-2 2.1.25.dfsg1-5 ii libtinfo5 5.9-10 ii libtokyocabinet9 1.4.47-2 Versions of packages mutt recommends: ii exim4-daemon-light [mail-transport-agent] 4.80-5 ii libsasl2-modules 2.1.25.dfsg1-5 ii locales 2.13-35 ii mime-support 3.52-1 Versions of packages mutt suggests: ii ca-certificates 20120623 ii gnupg 1.4.12-4+b1 ii ispell 3.3.02-5 pn mixmaster <none> ii openssl 1.0.1c-4 pn urlview <none> Versions of packages mutt is related to: ii mutt 1.5.21-6.2 ii mutt-dbg 1.5.21-6.2 pn mutt-patched <none> -- no debconf information
$ gdb $(which mutt) core btGNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 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 "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/mutt...Reading symbols from /usr/lib/debug/usr/bin/mutt-org... done. done. [New LWP 12937] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `mutt -f = -F mail/muttrc.ncl.imap'. Program terminated with signal 11, Segmentation fault. #0 0x00000000004a3f49 in snprintf (__fmt=0x4c04e0 "%u-%u", __n=256, __s=0x7fff872b3f20 "") at /usr/include/x86_64-linux-gnu/bits/stdio2.h:65 65 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, (gdb) bt #0 0x00000000004a3f49 in snprintf (__fmt=0x4c04e0 "%u-%u", __n=256, __s=0x7fff872b3f20 "") at /usr/include/x86_64-linux-gnu/bits/stdio2.h:65 #1 imap_cache_del (idata=idata@entry=0x149e7e0, h=0x17ea790) at ../../imap/message.c:978 #2 0x00000000004a52f8 in imap_fetch_message (msg=0x17d4570, ctx=ctx@entry=0x1478da0, msgno=msgno@entry=97) at ../../imap/message.c:602 #3 0x00000000004486f5 in mx_open_message (ctx=ctx@entry=0x1478da1, msgno=<optimized out>) at ../mx.c:1497 #4 0x00000000004530b7 in msg_search (ctx=ctx@entry=0x1478da0, pat=pat@entry=0x1484600, msgno=<optimized out>) at ../pattern.c:158 #5 0x0000000000455311 in mutt_pattern_exec (pat=0x1484600, flags=flags@entry=M_MATCH_FULL_ADDRESS, ctx=ctx@entry=0x1478da0, h=h@entry=0x17ea790) at ../pattern.c:1144 #6 0x0000000000427c6d in mutt_set_header_color (ctx=ctx@entry=0x1478da0, curhdr=curhdr@entry=0x17ea790) at ../curs_main.c:2273 #7 0x000000000042b212 in _mutt_set_flag (ctx=ctx@entry=0x1478da0, h=h@entry=0x17ea790, flag=flag@entry=6, bf=<optimized out>, upd_ctx=upd_ctx@entry=1) at ../flags.c:285 #8 0x00000000004a4cd0 in imap_set_flags (idata=idata@entry=0x149e7e0, h=h@entry=0x17ea790, s=0x1751021 ")", s@entry=0x175100c "tion is closed. 13") at ../../imap/message.c:1068 #9 0x000000000049db32 in cmd_parse_fetch (s=0x175100c "tion is closed. 13", idata=0x149e7e0) at ../../imap/command.c:667 #10 cmd_handle_untagged (idata=0x149e7e0) at ../../imap/command.c:508 #11 imap_cmd_step (idata=idata@entry=0x149e7e0) at ../../imap/command.c:141 #12 0x000000000049db68 in imap_exec (idata=idata@entry=0x149e7e0, cmdstr=cmdstr@entry=0x4bfc1b "NOOP", flags=flags@entry=0) at ../../imap/command.c:245 #13 0x00000000004a087a in imap_check_mailbox (ctx=ctx@entry=0x1478da0, index_hint=index_hint@entry=0x7fff872b4ca4, force=force@entry=0) at ../../imap/imap.c:1427 #14 0x000000000044854a in mx_check_mailbox (ctx=0x1478da0, index_hint=index_hint@entry=0x7fff872b4ca4, lock=<optimized out>, lock@entry=0) at ../mx.c:1443 #15 0x0000000000421020 in mutt_index_menu () at ../curs_main.c:491 #16 0x000000000040901c in main (argc=1, argv=<optimized out>) at ../main.c:1026 (gdb) ^Z
source ~/mail/muttrc.main source ~/mail/extra.colours macro index,pager a "<save-message>=ncl/archive/2012/<return>" macro index,pager p "<save-message>=ncl/pending/<return>" macro index,pager x "<save-message>=ncl/tmpweb<return>" bind index A create-alias bind pager A create-alias set from = "[email protected]" folder-hook . my_hdr "Bcc: [email protected]" unset record # fcc macro pager "1" "<enter-command>set pager_index_lines=1<enter>" # Change PIL size macro pager "2" "<enter-command>set pager_index_lines=2<enter>" # Change PIL size macro pager "3" "<enter-command>set pager_index_lines=3<enter>" # Change PIL size macro pager "4" "<enter-command>set pager_index_lines=4<enter>" # Change PIL size macro pager "5" "<enter-command>set pager_index_lines=5<enter>" # Change PIL size macro pager "6" "<enter-command>set pager_index_lines=6<enter>" # Change PIL size macro pager "7" "<enter-command>set pager_index_lines=7<enter>" # Change PIL size macro pager "8" "<enter-command>set pager_index_lines=8<enter>" # Change PIL size macro pager "9" "<enter-command>set pager_index_lines=9<enter>" # Change PIL size macro pager "0" "<enter-command>set pager_index_lines=0<enter>" # Change PIL size macro index <F8> \ "<enter-command>unset wait_key<enter><shell-escape>~/bin/mutt-notmuch --prompt search<enter><change-folder-readonly>~/.cache/mutt_results<enter>" \ "search mail (using notmuch)" macro index <F9> \ "<enter-command>unset wait_key<enter><pipe-message>~/bin/mutt-notmuch thread<enter><change-folder-readonly>~/.cache/mutt_results<enter><enter-command>set wait_key<enter>" \ "search and reconstruct owning thread (using notmuch)" my_hdr X-attached: ? alternates '^[email protected]$' set folder = imaps://[email protected]/ macro index,pager a "<save-message>imaps://[email protected]/archive/2012<return>"
# Edward Bloch's colourschemes source ~/mail/edward-bloch-colours.rc color normal default default color index brightdefault default "~N" # indicate new messages in bold color index brightdefault default "~O" # " " color index black yellow "~T" # tagged messages in yellow color index brightyellow default "~F" # flagged messages in magenta color index brightblue default "~h UNSURE" color index brightmagenta default "~h spambox" color index red default "~D" # deleted messages in red
# Jon's muttrc # Wed Jan 5 11:52:02 GMT 2005 # generic stuff (appropriate to any use of mutt) # ## mailbox types and locations # set mbox_type = Maildir unset record # ^ = current folder (http://home.worldonline.dk/byrial/mutt/patches/) # via http://wiki.mutt.org/index.cgi?MuttFaq/Folder #folder-hook . 'set record="^"' set folder = /home/jon/Maildir set spoolfile = = set mbox = = set postponed = =postponed # Wed Sep 21 12:07:35 BST 2005 - using Old to determine which ones I've # seen for spam filtering purposes #set nomark_old # new messages until read (no 'old') # set xterm_set_titles = yes set xterm_title = "mutt: %f: %?m?%m messages&no messages?%?n? [%n NEW]?" # ## displaying mail: index ## we try and use colour to indicate as much as possible, which frees up ## as much horizontal screen estate as possible. Display by thread, ## fallback to date, thraeads considered as old as the newest post. # # message status flags: O/N/D/* not needed (bold); how to express 'r'eplied, 's'igned... %Z set strict_threads = no # don't group common-subjects folder-hook . set sort=threads set sort_aux=last-date # bump old threads bind index <Left> collapse-thread # easily hide threads bind index <Right> collapse-thread macro index i '<change-folder>?<toggle-mailboxes>' # http://www.davidpashley.com/cgi/pyblosxom.cgi/2004/12/10#mutt-argh bind index x noop # don't like accidentally quitting and having to feed my GPG pass in again set quit=ask-no folder-hook . "set index_format=\"\ %?M?\ [%3M# %{%b-%d}-%-15.15F %s%> ]\ &\ %4C %{%b %d} %-15.15F %s?\"" # collapsed threads vs. normal mail folder-hook . exec collapse-all # collapse threads by default unset help # remove help bar # ## displaying mail: pager # set smart_wrap # don't break words set nomarkers # to copy urls across multilines folder-hook . set menu_scroll ignore * unignore From: unignore Subject: unignore Date: unignore To: unignore X-CRM114-Status: unignore X-DSAFilter-Result: unignore X-DSAFilter-Originally-From: unignore Cc: unhdr_order * hdr_order From: Subject: Date: To: Cc: X-CRM114-Status: X-DSAFilter-Result: X-DSAFilter-Originally-From: bind pager x noop # ## composing mail: prompts # set noconfirmappend set edit_headers # ## unsorted # set followup_to set honor_followup_to=yes bind index G last-entry bind pager G bottom bind generic ? search-reverse bind generic <Esc>? help bind generic <Esc>/ help # we may set this to list-reply in mailing list hooks folder-hook . macro index r <reply> folder-hook . macro pager r <reply> # ## destroy smime # set crypt_replysign=no set crypt_replyencrypt=no set crypt_verify_sig=no # aliases source ~/.mutt/aliases set alias_file=~/.mutt/aliases #set attribution="At %{%s} past the epoch, %n wrote:" # set display_filter="t-prot -cemt -M=mutt --pgp-short" # set ascii_chars=yes alternative_order text/plain text/html set implicit_autoview # steve's sendmail wrapper for attachments set sendmail="/home/jon/bin/mutt-sendmail" set header_cache = /home/jon/.mutt/hcache

