Since a few months mutt hangs when the IMAP server does not respond anymore. ctrl+c is ignored, according to strace it is received but not handled. 'killall mutt' is the only way out.
This might not be a bug in mutt itself, all components will be replaced on a Tumbleweed system over the course of time. Other clients will notice that the connection does not work anymore, they do automatically reconnect. Any ideas how to deal with this? Olaf Program received signal SIGINT, Interrupt. 0x00007f5bbd2fcde0 in __read_nocancel () at ../sysdeps/unix/syscall-template.S:84 84 ../sysdeps/unix/syscall-template.S: Datei oder Verzeichnis nicht gefunden. (gdb) bt #0 0x00007f5bbd2fcde0 in __read_nocancel () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f5bbdd448be in read (__nbytes=5, __buf=0x564ed1d73363, __fd=<optimized out>) at /usr/include/bits/unistd.h:44 #2 sock_read (b=0x564ed1e43470, out=0x564ed1d73363 "\027\003\003", outl=5) at bss_sock.c:140 #3 0x00007f5bbdd42853 in BIO_read (b=0x564ed1e43470, out=out@entry=0x564ed1d73363, outl=outl@entry=5) at bio_lib.c:210 #4 0x00007f5bbe0b738a in ssl3_read_n (s=0x564ed1e89b10, n=5, max=<optimized out>, extend=<optimized out>) at s3_pkt.c:258 #5 0x00007f5bbe0b8b7d in ssl3_get_record (s=0x564ed1e89b10) at s3_pkt.c:342 #6 ssl3_read_bytes (s=0x564ed1e89b10, type=23, buf=0x564ed1e735a0 "a0106 OK NOOP completed\r\n\r\nIDNEXT 930 UIDVALIDITY 1285236335 UNSEEN 0)\r\n92 UNSEEN 1)\r\n\nS (\\Seen))\r\n* 29 FETCH (UID 108959 FLAGS (\\Seen))\r\n* 30 FETCH (UID 109130 FLAGS (\\Seen))\r\n* 31 FETCH (UID 109138 "..., len=1024, peek=0) at s3_pkt.c:1234 #7 0x00007f5bbe0b55c4 in ssl3_read_internal (s=0x564ed1e89b10, buf=0x564ed1e735a0, len=1024, peek=0) at s3_lib.c:4459 #8 0x0000564ed00f2a15 in ssl_socket_read (conn=<optimized out>, buf=<optimized out>, len=<optimized out>) at mutt_ssl.c:405 #9 0x0000564ed00f1b69 in mutt_socket_readchar (conn=0x564ed1e73390, c=0x7ffd1a85b357 "") at mutt_socket.c:173 #10 0x0000564ed00f1ca8 in mutt_socket_readln_d (buf=0x564ed1e91d40 "a0106 OK NOOP completed", buflen=512, conn=0x564ed1e73390, dbg=2) at mutt_socket.c:203 #11 0x0000564ed01006e9 in imap_cmd_step (idata=0x564ed1e6ea50) at command.c:115 #12 0x0000564ed0101c98 in imap_exec (idata=0x564ed1e6ea50, cmdstr=<optimized out>, flags=1) at command.c:247 #13 0x0000564ed0104cd4 in imap_buffy_check (force=<optimized out>, check_stats=0) at imap.c:1611 #14 0x0000564ed006d1f6 in mutt_buffy_check (force=0) at buffy.c:510 #15 0x0000564ed007dc36 in mutt_index_menu () at curs_main.c:656 #16 0x0000564ed0063d24 in main (argc=<optimized out>, argv=0x7ffd1a85d758, environ=<optimized out>) at main.c:1252 (gdb) continue Continuing. ^C Program received signal SIGINT, Interrupt. 0x00007f5bbd2fcde0 in __read_nocancel () at ../sysdeps/unix/syscall-template.S:84 84 in ../sysdeps/unix/syscall-template.S (gdb) bt #0 0x00007f5bbd2fcde0 in __read_nocancel () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f5bbdd448be in read (__nbytes=5, __buf=0x564ed1d73363, __fd=<optimized out>) at /usr/include/bits/unistd.h:44 #2 sock_read (b=0x564ed1e43470, out=0x564ed1d73363 "\027\003\003", outl=5) at bss_sock.c:140 #3 0x00007f5bbdd42853 in BIO_read (b=0x564ed1e43470, out=out@entry=0x564ed1d73363, outl=outl@entry=5) at bio_lib.c:210 #4 0x00007f5bbe0b738a in ssl3_read_n (s=0x564ed1e89b10, n=5, max=<optimized out>, extend=<optimized out>) at s3_pkt.c:258 #5 0x00007f5bbe0b8b7d in ssl3_get_record (s=0x564ed1e89b10) at s3_pkt.c:342 #6 ssl3_read_bytes (s=0x564ed1e89b10, type=23, buf=0x564ed1e735a0 "a0106 OK NOOP completed\r\n\r\nIDNEXT 930 UIDVALIDITY 1285236335 UNSEEN 0)\r\n92 UNSEEN 1)\r\n\nS (\\Seen))\r\n* 29 FETCH (UID 108959 FLAGS (\\Seen))\r\n* 30 FETCH (UID 109130 FLAGS (\\Seen))\r\n* 31 FETCH (UID 109138 "..., len=1024, peek=0) at s3_pkt.c:1234 #7 0x00007f5bbe0b55c4 in ssl3_read_internal (s=0x564ed1e89b10, buf=0x564ed1e735a0, len=1024, peek=0) at s3_lib.c:4459 #8 0x0000564ed00f2a15 in ssl_socket_read (conn=<optimized out>, buf=<optimized out>, len=<optimized out>) at mutt_ssl.c:405 #9 0x0000564ed00f1b69 in mutt_socket_readchar (conn=0x564ed1e73390, c=0x7ffd1a85b357 "") at mutt_socket.c:173 #10 0x0000564ed00f1ca8 in mutt_socket_readln_d (buf=0x564ed1e91d40 "a0106 OK NOOP completed", buflen=512, conn=0x564ed1e73390, dbg=2) at mutt_socket.c:203 #11 0x0000564ed01006e9 in imap_cmd_step (idata=0x564ed1e6ea50) at command.c:115 #12 0x0000564ed0101c98 in imap_exec (idata=0x564ed1e6ea50, cmdstr=<optimized out>, flags=1) at command.c:247 #13 0x0000564ed0104cd4 in imap_buffy_check (force=<optimized out>, check_stats=0) at imap.c:1611 #14 0x0000564ed006d1f6 in mutt_buffy_check (force=0) at buffy.c:510 #15 0x0000564ed007dc36 in mutt_index_menu () at curs_main.c:656 #16 0x0000564ed0063d24 in main (argc=<optimized out>, argv=0x7ffd1a85d758, environ=<optimized out>) at main.c:1252 (gdb) continue Continuing. ... Mutt 1.8.3 (7099) System: Linux 4.11.8-1-default (x86_64) ncurses: ncurses 6.0.20170527 (compiled with 6.0) libidn: 1.33 (compiled with 1.33) hcache backend: GDBM version 1.12. 16/05/2016 Compiler: gcc Configure options: configure_options Compilation CFLAGS: cflags 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 +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE -USE_SIDEBAR +USE_COMPRESSED ISPELL="/usr/bin/ispell" SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/mail" PKGDATADIR="/usr/share/mutt" SYSCONFDIR="/etc" EXECSHELL="/bin/sh" -MIXMASTER abort_nosubject=yes abort_unmodified=yes alias_file="~/.mutt/aliases" alias_format="%4n %2f %t %-10a %r" allow_8bit is set allow_ansi is unset arrow_cursor is unset ascii_chars is unset askbcc is unset askcc is unset assumed_charset="" attach_charset="" attach_format="%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] " attach_sep="\n" attach_split is set attribution="On %d, %n wrote:\n" attribution_locale="" auto_tag is unset autoedit is unset beep is unset beep_new is unset bounce=ask-no bounce_delivered is unset braille_friendly is unset certificate_file="~/.mutt/certificates" charset="utf-8" check_mbox_size is unset check_new is unset collapse_unread is set compose_format="-- Mutt: Compose [Approx. msg size: %l Atts: %a]%>-" config_charset="" confirmappend is set confirmcreate is set connect_timeout=30 content_type="text/plain" copy=yes crypt_autoencrypt is unset crypt_autopgp is set crypt_autosign is set crypt_autosmime is set crypt_confirmhook is set crypt_opportunistic_encrypt is unset crypt_replyencrypt is set crypt_replysign is unset crypt_replysignencrypted is unset crypt_timestamp is set crypt_use_gpgme is unset crypt_use_pka is unset crypt_verify_sig=yes date_format="!%a, %b %d" default_hook="~f %s !~P | (~P ~C %s)" delete=ask-no delete_untag is set digest_collapse is set display_filter="" dsn_notify="" dsn_return="" duplicate_threads is set edit_headers is unset editor="sed -ni~ '/^> -- $/q;p' %s ; touch -r %s~ %s ; rm -f %s~ ; vim -c 'set tw=72 et' -c ' :$ ' %s" encode_from is unset entropy_file="" envelope_from_address="u...@example.com" escape="~" fast_reply is unset fcc_attach=yes fcc_clear is unset flag_safe is unset folder="imaps://gwmail7.emea.example.com/" folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" followup_to is set force_name is unset forward_attribution_intro="----- Forwarded message from %f -----" forward_attribution_trailer="----- End forwarded message -----" forward_decode is set forward_decrypt is set forward_edit=yes forward_format="[%a: %s]" forward_quote is unset from="u...@example.com" gecos_mask="^[^,]*" hdrs is set header is unset header_cache="/dev/shm/.header_cache-u...@example.com@gwmail7.emea.example.com" header_cache_pagesize="16384" header_color_partial is unset help is set hidden_host is unset hide_limited is unset hide_missing is set hide_thread_subject is set hide_top_limited is unset hide_top_missing is set history=10 history_file="~/.mutthistory" history_remove_dups is unset honor_disposition is unset honor_followup_to=yes hostname="example.com" idn_decode is set idn_encode is set ignore_linear_white_space is unset ignore_list_reply_to is set imap_authenticators="login" imap_check_subscribed is unset imap_delim_chars="/." imap_headers="" imap_idle is unset imap_keepalive=300 imap_list_subscribed is unset imap_login="" imap_pass="" imap_passive is unset imap_peek is set imap_pipeline_depth=15 imap_servernoise is set imap_user="user" implicit_autoview is unset include=ask-yes include_onlyfirst is unset indent_string="> " index_format="%4C %5c %Z %[%d.%m %H:%M] %-15.15L %s" ispell="/usr/bin/ispell" keep_flagged is unset mail_check=5 mail_check_recent is set mail_check_stats is unset mail_check_stats_interval=60 mailcap_path="~/.mailcap:/usr/share/mutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap" mailcap_sanitize is set maildir_header_cache_verify is set maildir_trash is set maildir_check_cur is unset mark_macro_prefix="'" mark_old is unset markers is set mask="!^\\.[^.]" mbox="=.mbox" mbox_type=mbox menu_context=42 menu_move_off is set menu_scroll is set message_cache_clean is unset message_cachedir="" message_format="%s" meta_key is unset metoo is unset mh_purge is unset mh_seq_flagged="flagged" mh_seq_replied="replied" mh_seq_unseen="unseen" mime_forward=no mime_forward_decode is unset mime_forward_rest=yes move=no narrow_tree is unset net_inc=10 pager="builtin" pager_context=0 pager_format="-%Z- %C/%m: %-20.20n %s%* -- (%P)" pager_index_lines=10 pager_stop is set pgp_auto_decode is unset pgp_autoinline is unset pgp_check_exit is set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" pgp_decryption_okay="^\\[GNUPG:\\] DECRYPTION_OKAY" pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" pgp_encrypt_sign_command="pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u" pgp_export_command="gpg --no-verbose --export --armor %r" pgp_getkeys_command="" pgp_good_sign="^\\[GNUPG:\\] GOODSIG" pgp_ignore_subkeys is set pgp_import_command="gpg --no-verbose --import %f" pgp_list_pubring_command="gpg --no-verbose --batch --quiet --with-colons --with-fingerprint --with-fingerprint --list-keys %r" pgp_list_secring_command="gpg --no-verbose --batch --quiet --with-colons --with-fingerprint --with-fingerprint --list-secret-keys %r" pgp_long_ids is set pgp_mime_auto=ask-yes pgp_replyinline is unset pgp_retainable_sigs is unset pgp_self_encrypt is unset pgp_self_encrypt_as="" pgp_show_unusable is set pgp_sign_as="" pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" pgp_sort_keys=address pgp_strict_enc is set pgp_timeout=300 pgp_use_gpg_agent is unset pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f" pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r" pipe_decode is unset pipe_sep="\n" pipe_split is unset pop_auth_try_all is set pop_authenticators="" pop_checkinterval=60 pop_delete=ask-no pop_host="" pop_last is unset pop_pass="" pop_reconnect=ask-yes pop_user="" post_indent_string="" postpone=ask-yes postponed="=Drafts" postpone_encrypt is unset postpone_encrypt_as="" preconnect="" print=ask-no print_command="lpr" print_decode is set print_split is unset prompt_after is set query_command="" query_format="%4c %t %-25.25a %-25.25n %?e?(%e)?" quit=yes quote_regexp="^([ \t]*[|>:}#])+" read_inc=10 read_only is unset realname="Olaf Hering" recall=ask-yes record="=INBOX" reflow_space_quotes is set reflow_text is set reflow_wrap=78 reply_regexp="^(re([\\[0-9\\]+])*|aw):[ \t]*" reply_self is unset reply_to=ask-yes resolve is set resume_draft_files is unset resume_edited_draft_files is set reverse_alias is unset reverse_name is unset reverse_realname is set rfc2047_parameters is set save_address is unset save_empty is set save_history=0 save_name is unset score is set score_threshold_delete=-1 score_threshold_flag=9999 score_threshold_read=-1 search_context=0 send_charset="utf-8" sendmail="/usr/sbin/sendmail -oem -oi" sendmail_wait=0 shell="/bin/bash" sig_dashes is set sig_on_top is unset signature="~/.signature" simple_search="~f %s | ~s %s" sleep_time=1 smart_wrap is set smileys="(>From )|(:[-^]?[][)(><}{|/DP])" smime_ask_cert_label is set smime_ca_location="" smime_certificates="" smime_decrypt_command="" smime_decrypt_use_default_key is set smime_default_key="" smime_encrypt_command="" smime_encrypt_with="aes256" smime_get_cert_command="" smime_get_cert_email_command="" smime_get_signer_cert_command="" smime_import_cert_command="" smime_is_default is unset smime_keys="" smime_pk7out_command="" smime_self_encrypt is unset smime_self_encrypt_as="" smime_sign_command="" smime_sign_digest_alg="sha256" smime_sign_opaque_command="" smime_timeout=300 smime_verify_command="" smime_verify_opaque_command="" smtp_authenticators="" smtp_pass="" smtp_url="smtp://u...@imap.example.de" sort=threads sort_alias=alias sort_aux=date sort_browser=reverse-date sort_re is set spam_separator="," spoolfile="=INBOX" ssl_client_cert="" ssl_force_tls is unset ssl_starttls=yes ssl_use_sslv2 is unset ssl_use_sslv3 is unset ssl_use_tlsv1 is set ssl_use_tlsv1_1 is set ssl_use_tlsv1_2 is set ssl_usesystemcerts is set ssl_verify_dates is set ssl_verify_host is set ssl_verify_partial_chains is unset ssl_ciphers="" status_chars="-*%A" status_format="-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---" status_on_top is unset strict_threads is unset suspend is set text_flowed is unset thorough_search is set thread_received is unset tilde is unset time_inc=0 timeout=600 tmpdir="/dev/shm" to_chars=" +TCFL" trash="" ts_icon_format="M%?n?AIL&ail?" ts_enabled is unset ts_status_format="Mutt with %?m?%m messages&no messages?%?n? [%n NEW]?" tunnel="" uncollapse_jump is unset uncollapse_new is set use_8bitmime is unset use_domain is set use_envelope_from is set use_from is set use_ipv6 is set user_agent is set visual="vi" wait_key is set weed is set wrap=0 wrap_headers=78 wrap_search is set wrapmargin=0 write_bcc is set write_inc=10
signature.asc
Description: PGP signature