Package: mutt Version: 1.5.21-6.2 Severity: important After saving a message from one IMAP folder to another (i.e. save-message), mutt crashes with a segmentation fault.
A full backtrace is attached. The relevant bit is Program terminated with signal 11, Segmentation fault. #0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:260 260 ../sysdeps/x86_64/multiarch/strcmp.S: No such file or directory. (gdb) bacr^H^[[Kktrace full #0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:260 No locals. #1 0x0000000000475369 in set_buffystats (Context=0x12b5cd0) at ../sidebar.c:368 tmp = 0x1594b50 #2 0x0000000000421693 in mutt_index_menu () at ../curs_main.c:583 buf = "---MAIN: (no mailbox) [Msgs:0 Post:15 Inc:10]---(threads/date)", '-' <repeats 249 times>, "(all)---\000\000\020\000\000\000\000\000\000C\000\000\000\000\000\000\000pܾ\274\341\177\000\000Q\000\000\000\000\000\000\000P\000\000\000\000\000\000\000\365=\371\272\341\177\000\000\240W*\273\341\177\000\000\bF\371\272\341\177\000\000\240W*\273\341\177\000\000ڐ\370\272\341\177\000\000Q\000\000\000\000\000\000\000\005\035\301\274\341\177\000\000\000\017 \000\000\000\000\000.", '\000' <repeats 31 times>, ".", '\000' <repeats 23 times>"\262, \023n\000\000\000\000\000\022\342\070\325\377\177\000\000\355", '\000' <repeats 15 times>... helpstr = "q:Quit d:Del u:Undel s:Save m:Mail r:Reply g:Group ?:Help\000\344\070\325\377\177\000\000Ln\365\272\341\177\000\000\000\000\000\000\000\000\000\000@\362F\000\000\000\000\000\200\345\070\325\377\177\000\000\v\000\000\000\000\000\000\000\b", '\000' <repeats 15 times>, "(\342b\001\000\000\000\000\321\006\000\000\001\000\000\000`n*\273\341\177\000\000(\342b\001\000\000\000\000\340\345\070\325\377\177\000\000\v\000\000\000\000\000\000\000\320\341b\001\000\000\000\000x\342b\001\000\000\000\000\330\344\070\325\377\177\000\000Ln\365\272\341\177\000\000\000\000\000\000\000\000\000\000@\362F\000\000\000\000\000\200\345\070\325\377\177\000\000\026\000\000\000\000\000\000\000"... op = 154 done = 0 i = 0 j = <optimized out> tag = 0 newcount = 10 oldcount = <optimized out> rc = <optimized out> menu = 0x162cd60 cp = <optimized out> index_hint = 13 do_buffy_notify = 1 close = 0 attach_msg = 0 #3 0x000000000040910c in main (argc=1, argv=<optimized out>) at ../main.c:1026 folder = "imap://localhost/INBOX", '\000' <repeats 233 times> subject = 0x0 includeFile = 0x0 draftFile = 0x0 newMagic = 0x0 msg = 0x0 attach = 0x0 commands = 0x0 queries = 0x0 alias_queries = 0x0 sendflags = 0 flags = <optimized out> version = 0 i = <optimized out> explicit_folder = 0 dump_variables = 0 double_dash = <optimized out> nargc = <optimized out> This crash seems to be related to the following error messages: tls_socket_read (A TLS fatal alert has been received.) imap_copy_messages []? This first error message, tls_socket_read (A TLS fatal alert has been received.) also occurs after any sync-mailbox command. Oddly enough, nowhere in my mutt configuration do I connect to localhost over imaps. Also, I have no clue as to what may be causing this TLS fatal alert; I see no mention of it in my mail logs, and this setup has been running perfectly for years. My mutt configuration can be found under https://github.com/ryanakca/ryanakca-dotfiles/tree/fc45c4a8d7d1ac898647cb7c2c186236a19db1fa (see .muttrc and .mutt/*) -- 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-4-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 <mutt-...@mutt.org>. 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 mutt-patched/sidebar mutt-patched/sidebar-dotted mutt-patched/sidebar-sorted mutt-patched/sidebar-utf8 mutt-patched/multiple-fcc -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mutt depends on: ii libc6 2.13-38 ii libcomerr2 1.42.5-1 ii libgnutls26 2.12.20-4 ii libgpg-error0 1.10-3.1 ii libgpgme11 1.2.0-1.4 ii libgssapi-krb5-2 1.10.1+dfsg-4 ii libidn11 1.25-2 ii libk5crypto3 1.10.1+dfsg-4 ii libkrb5-3 1.10.1+dfsg-4 ii libncursesw5 5.9-10 ii libsasl2-2 2.1.25.dfsg1-6 ii libtinfo5 5.9-10 ii libtokyocabinet9 1.4.47-2 Versions of packages mutt recommends: ii libsasl2-modules 2.1.25.dfsg1-6 ii locales 2.13-38 ii mime-support 3.52-2 ii postfix [mail-transport-agent] 2.9.6-1 Versions of packages mutt suggests: ii aspell 0.60.7~20110707-1 ii ca-certificates 20130119 ii gnupg 1.4.12-7 ii ispell 3.3.02-6 pn mixmaster <none> ii openssl 1.0.1e-1 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 ii mutt-patched 1.5.21-6.2 -- no debconf information -- |_)|_/ Ryan Kavanagh | Debian Developer | \| \ http://ryanak.ca/ | GPG Key 4A11C97A
GNU 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-patched...done. done. [New LWP 9186] 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'. Program terminated with signal 11, Segmentation fault. #0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:260 260 ../sysdeps/x86_64/multiarch/strcmp.S: No such file or directory. (gdb) backtrace full #0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:260 No locals. #1 0x0000000000475369 in set_buffystats (Context=0x12b5cd0) at ../sidebar.c:368 tmp = 0x1594b50 #2 0x0000000000421693 in mutt_index_menu () at ../curs_main.c:583 buf = "---MAIN: (no mailbox) [Msgs:0 Post:15 Inc:10]---(threads/date)", '-' <repeats 249 times>, "(all)---\000\000\020\000\000\000\000\000\000C\000\000\000\000\000\000\000pܾ\274\341\177\000\000Q\000\000\000\000\000\000\000P\000\000\000\000\000\000\000\365=\371\272\341\177\000\000\240W*\273\341\177\000\000\bF\371\272\341\177\000\000\240W*\273\341\177\000\000ڐ\370\272\341\177\000\000Q\000\000\000\000\000\000\000\005\035\301\274\341\177\000\000\000\017 \000\000\000\000\000.", '\000' <repeats 31 times>, ".", '\000' <repeats 23 times>"\262, \023n\000\000\000\000\000\022\342\070\325\377\177\000\000\355", '\000' <repeats 15 times>... helpstr = "q:Quit d:Del u:Undel s:Save m:Mail r:Reply g:Group ?:Help\000\344\070\325\377\177\000\000Ln\365\272\341\177\000\000\000\000\000\000\000\000\000\000@\362F\000\000\000\000\000\200\345\070\325\377\177\000\000\v\000\000\000\000\000\000\000\b", '\000' <repeats 15 times>, "(\342b\001\000\000\000\000\321\006\000\000\001\000\000\000`n*\273\341\177\000\000(\342b\001\000\000\000\000\340\345\070\325\377\177\000\000\v\000\000\000\000\000\000\000\320\341b\001\000\000\000\000x\342b\001\000\000\000\000\330\344\070\325\377\177\000\000Ln\365\272\341\177\000\000\000\000\000\000\000\000\000\000@\362F\000\000\000\000\000\200\345\070\325\377\177\000\000\026\000\000\000\000\000\000\000"... op = 154 done = 0 i = 0 j = <optimized out> tag = 0 newcount = 10 oldcount = <optimized out> rc = <optimized out> menu = 0x162cd60 cp = <optimized out> index_hint = 13 do_buffy_notify = 1 close = 0 attach_msg = 0 #3 0x000000000040910c in main (argc=1, argv=<optimized out>) at ../main.c:1026 folder = "imap://localhost/INBOX", '\000' <repeats 233 times> subject = 0x0 includeFile = 0x0 draftFile = 0x0 newMagic = 0x0 msg = 0x0 attach = 0x0 commands = 0x0 queries = 0x0 alias_queries = 0x0 sendflags = 0 flags = <optimized out> version = 0 i = <optimized out> explicit_folder = 0 dump_variables = 0 double_dash = <optimized out> nargc = <optimized out> (gdb) info registers rax 0x10 16 rbx 0x1594b50 22629200 rcx 0x0 0 rdx 0x20 32 rsi 0x0 0 rdi 0x1594b50 22629200 rbp 0x12b5cd0 0x12b5cd0 rsp 0x7fffd538ddb8 0x7fffd538ddb8 r8 0x20 32 r9 0x1000 4096 r10 0xf7 247 r11 0x0 0 r12 0xa 10 r13 0x0 0 r14 0x1 1 r15 0xf 15 rip 0x7fe1bb0330ea 0x7fe1bb0330ea <__strcmp_sse42+26> eflags 0x10283 [ CF SF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/16i $pc => 0x7fe1bb0330ea <__strcmp_sse42+26>: movdqu (%rsi),%xmm2 0x7fe1bb0330ee <__strcmp_sse42+30>: pxor %xmm0,%xmm0 0x7fe1bb0330f2 <__strcmp_sse42+34>: pcmpeqb %xmm1,%xmm0 0x7fe1bb0330f6 <__strcmp_sse42+38>: pcmpeqb %xmm2,%xmm1 0x7fe1bb0330fa <__strcmp_sse42+42>: psubb %xmm0,%xmm1 0x7fe1bb0330fe <__strcmp_sse42+46>: pmovmskb %xmm1,%edx 0x7fe1bb033102 <__strcmp_sse42+50>: sub $0xffff,%edx 0x7fe1bb033108 <__strcmp_sse42+56>: jne 0x7fe1bb033f40 <__strcmp_sse42+3696> 0x7fe1bb03310e <__strcmp_sse42+62>: add $0x10,%rsi 0x7fe1bb033112 <__strcmp_sse42+66>: add $0x10,%rdi 0x7fe1bb033116 <__strcmp_sse42+70>: nopw %cs:0x0(%rax,%rax,1) 0x7fe1bb033120 <__strcmp_sse42+80>: and $0xfffffffffffffff0,%rsi 0x7fe1bb033124 <__strcmp_sse42+84>: and $0xfffffffffffffff0,%rdi 0x7fe1bb033128 <__strcmp_sse42+88>: mov $0xffff,%edx 0x7fe1bb03312d <__strcmp_sse42+93>: xor %r8d,%r8d 0x7fe1bb033130 <__strcmp_sse42+96>: and $0xf,%ecx (gdb) thread apply all backtrace Thread 1 (Thread 0x7fe1bd010720 (LWP 9186)): #0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:260 #1 0x0000000000475369 in set_buffystats (Context=0x12b5cd0) at ../sidebar.c:368 #2 0x0000000000421693 in mutt_index_menu () at ../curs_main.c:583 #3 0x000000000040910c in main (argc=1, argv=<optimized out>) at ../main.c:1026 (gdb) quit
signature.asc
Description: Digital signature