From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Neil Okamoto Newsgroups: gmane.emacs.bugs Subject: bug#30325: 25.3; Emacs hang attempting erc-tls reconnect Date: Fri, 2 Feb 2018 09:09:01 -0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1517595236 24546 195.159.176.226 (2 Feb 2018 18:13:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2018 18:13:56 +0000 (UTC) To: 30325@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 02 19:13:52 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehfqB-0005Bp-0L for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Feb 2018 19:13:35 +0100 Original-Received: from localhost ([::1]:46062 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehfsC-000346-40 for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Feb 2018 13:15:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehfGv-0001cJ-H1 for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 12:38:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehfFr-00082L-Dp for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 12:37:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehfFq-00081b-Bu for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 12:36:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ehfFq-0004y1-1g for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 12:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Neil Okamoto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Feb 2018 17:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30325 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151759291018930 (code B ref -1); Fri, 02 Feb 2018 17:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Feb 2018 17:35:10 +0000 Original-Received: from localhost ([127.0.0.1]:54354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehfEz-0004vG-Ja for submit@debbugs.gnu.org; Fri, 02 Feb 2018 12:35:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehes3-0004KW-4Q for submit@debbugs.gnu.org; Fri, 02 Feb 2018 12:11:27 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:40389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eherw-0003Zg-UO for submit@debbugs.gnu.org; Fri, 02 Feb 2018 12:11:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eheqr-0002OX-OK for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 12:11:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehepm-0000HR-Uf for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 12:10:13 -0500 Original-Received: from mail-it0-x229.google.com ([2607:f8b0:4001:c0b::229]:39598) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehepm-0000Ea-2v for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 12:09:06 -0500 Original-Received: by mail-it0-x229.google.com with SMTP id c80so2570723itb.4 for ; Fri, 02 Feb 2018 09:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=eZaSgyQnyNUjwtYBUmuV7st0teyEkpfJAEGYTMTMhwQ=; b=ilxhTV56staceNzoGv+FOYuE0FvdJZelxuFeCOVn/pZB0itc8s2gAqJr+QXSRpBesJ hKBimDwO/DE4veGYU9NFQVu/caJ84mc5sBskHTKiz4VirkLzeII3AvpyEoOF6E5NtHTR qeCtOoWrFNiOtJ0PPlDv9VyrB4kWKoSun6Yzc8dsFY3DyHeFFRv+1Yk8cwhfjJVQa2A9 tDdc8Z6N8Bo/MPtyOsqkCeB30DaZqOrHCySKfp/0Gz0kLSGU1Nnd8QFL7G/Y+nSwPQ9M /LHV/jl5jcKZocJPXBplKWEagpEyRBPAwTr32u5sRrBxuoL4hxjM+/qppaVFjLYEEL/4 raLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=eZaSgyQnyNUjwtYBUmuV7st0teyEkpfJAEGYTMTMhwQ=; b=Z5FdclofUhmiYh4nJKMaD4HoKEbowDAYur5RxZK3Rdz7lkUtpiPB6j9dyyDXFImL7b 8FvBKoQ9oNezLhckq0mH3u6ih+f9PAJfNK0WyPkjRBEJCq6uzOqKeDblHOscu9V4DPxS +zLzi/Grfa/qowcHUoHmHEXaq5ErFEd0uBBxw2Fv+nXNutT74aEKinb7kNsdTDh+gmNe hIktTK3TjLmXAPxMAOlogd313Ha67SMKQh673dsTs0+dQQ273x2pgCbe+6CqaihXBSsP 9sXMbWDFlKjJwhUDKAZ2JkVMOlXWdtkeTLHhYutUI+muXNM6y7Bz/TkxBMOABzFeyt76 2vpg== X-Gm-Message-State: AKwxytfM8ncserK+PMCmXM8/0auum5pNoGcJ11DOYm4655rcjqplHJJS fI0nSvW1p04Sup98SMA7S40DrMDC X-Google-Smtp-Source: AH8x225gexM30+yhXKicAgluUdhLcbnRd2Ln8dUCrXWDVPePNIjpmajA47VznMt6puiBWfVMYdXIcA== X-Received: by 10.36.85.84 with SMTP id e81mr7269270itb.121.1517591344427; Fri, 02 Feb 2018 09:09:04 -0800 (PST) Original-Received: from neils-mbp.attlocal.net (adsl-99-23-242-93.dsl.chi2ca.sbcglobal.net. [99.23.242.93]) by smtp.gmail.com with ESMTPSA id d202sm1510577iod.73.2018.02.02.09.09.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 09:09:03 -0800 (PST) X-Mailer: Apple Mail (2.3445.5.20) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Fri, 02 Feb 2018 12:35:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -4.0 (----) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142808 Archived-At: Last night I opened an ERC connection to irc.gitter.im via `erc-tls`. This was my first ever connection to gitter's IRC bridge at irc.gitter.im, and also my first attempt using `erc-tls` versus `erc` to connect to a remote server. When done, I left the erc connection open and closed the laptop lid. In the morning I opened the laptop lid and found Emacs hanging with the dreaded beachball mouse pointer, and a message in the minibuffer stating something like "reconnecting to irc.gitter.im:6697=E2=80=9D, I don=E2=80=99= t recall the exact wording of the message. I attached lldb and got a backtrace, see below. (lldb) bt * thread #1, queue =3D 'com.apple.main-thread', stop reason =3D signal = SIGSTOP * frame #0: 0x00000001008f7a2b = libgnutls.30.dylib`_gnutls_handshake_io_recv_int + 250 frame #1: 0x00000001008f8feb = libgnutls.30.dylib`_gnutls_recv_handshake + 56 frame #2: 0x00000001008fb2ce libgnutls.30.dylib`gnutls_handshake + = 333 frame #3: 0x000000010013fbff Emacs`emacs_gnutls_handshake + 100 frame #4: 0x0000000100141414 Emacs`Fgnutls_boot + 1993 frame #5: 0x0000000100103d02 Emacs`Ffuncall + 950 frame #6: 0x0000000100133829 Emacs`exec_byte_code + 2027 frame #7: 0x00000001001046fd Emacs`funcall_lambda + 732 frame #8: 0x0000000100103bcf Emacs`Ffuncall + 643 frame #9: 0x0000000100133829 Emacs`exec_byte_code + 2027 frame #10: 0x00000001001046fd Emacs`funcall_lambda + 732 frame #11: 0x0000000100103bcf Emacs`Ffuncall + 643 frame #12: 0x0000000100133829 Emacs`exec_byte_code + 2027 frame #13: 0x00000001001046fd Emacs`funcall_lambda + 732 frame #14: 0x0000000100103bcf Emacs`Ffuncall + 643 frame #15: 0x0000000100133829 Emacs`exec_byte_code + 2027 frame #16: 0x00000001001046fd Emacs`funcall_lambda + 732 frame #17: 0x0000000100103bcf Emacs`Ffuncall + 643 frame #18: 0x0000000100133829 Emacs`exec_byte_code + 2027 frame #19: 0x0000000100103bcf Emacs`Ffuncall + 643 frame #20: 0x0000000100133829 Emacs`exec_byte_code + 2027 frame #21: 0x00000001001046fd Emacs`funcall_lambda + 732 frame #22: 0x0000000100103bcf Emacs`Ffuncall + 643 frame #23: 0x0000000100133829 Emacs`exec_byte_code + 2027 frame #24: 0x0000000100103bcf Emacs`Ffuncall + 643 frame #25: 0x0000000100133829 Emacs`exec_byte_code + 2027 frame #26: 0x00000001001046fd Emacs`funcall_lambda + 732 frame #27: 0x0000000100103bcf Emacs`Ffuncall + 643 frame #28: 0x0000000100133829 Emacs`exec_byte_code + 2027 frame #29: 0x00000001001046fd Emacs`funcall_lambda + 732 frame #30: 0x0000000100103bcf Emacs`Ffuncall + 643 frame #31: 0x000000010010387f Emacs`Fapply + 573 frame #32: 0x0000000100103c84 Emacs`Ffuncall + 824 frame #33: 0x0000000100133829 Emacs`exec_byte_code + 2027 frame #34: 0x00000001001046fd Emacs`funcall_lambda + 732 frame #35: 0x0000000100103bcf Emacs`Ffuncall + 643 frame #36: 0x0000000100104156 Emacs`call1 + 46 frame #37: 0x00000001000a504f Emacs`timer_check + 789 frame #38: 0x00000001000a3dbb Emacs`readable_events + 18 frame #39: 0x00000001000a4d2c Emacs`get_input_pending + 113 frame #40: 0x00000001000a3be6 Emacs`detect_input_pending_run_timers = + 50 frame #41: 0x000000010013bde0 Emacs`wait_reading_process_output + = 3293 frame #42: 0x00000001000a2a78 Emacs`read_char + 7223 frame #43: 0x000000010009f4d1 Emacs`read_key_sequence + 1402 frame #44: 0x000000010009e12d Emacs`command_loop_1 + 742 frame #45: 0x0000000100102924 Emacs`internal_condition_case + 70 frame #46: 0x00000001000aa37c Emacs`command_loop_2 + 37 frame #47: 0x0000000100102510 Emacs`internal_catch + 54 frame #48: 0x000000010009d751 Emacs`command_loop + 156 frame #49: 0x000000010009d673 Emacs`recursive_edit_1 + 113 frame #50: 0x000000010009d888 Emacs`Frecursive_edit + 219 frame #51: 0x000000010009c903 Emacs`main + 5110 frame #52: 0x00007fff68a38115 libdyld.dylib`start + 1 frame #53: 0x00007fff68a38115 libdyld.dylib`start + 1 (lldb)=20 In GNU Emacs 25.3.1 (x86_64-apple-darwin17.3.0, NS appkit-1561.20 = Version 10.13.2 (Build 17C88)) of 2018-01-02 built on Neils-MBP.attlocal.net Windowing system distributor 'Apple', version 10.3.1561 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=3D/usr/local/share/emacs/site-lisp --infodir=3D/usr/local/Cellar/emacs/25.3/share/info/emacs --prefix=3D/usr/local/Cellar/emacs/25.3 --without-x --with-xml2 --without-dbus --with-gnutls --with-imagemagick --with-ns --disable-ns-self-contained' Configured features: JPEG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: paredit-mode: t rainbow-delimiters-mode: t display-time-mode: t winner-mode: t global-hl-line-mode: t which-key-mode: t docker-global-mode: t docker-mode: t dimmer-mode: t override-global-mode: t show-paren-mode: t save-place-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /Users/neilo/.emacs.d/lisp/neo-dev-lisp.el (source)...done Loading /Users/neilo/.emacs.d/lisp/neo-games.el (source)...done Loading /Users/neilo/.emacs.d/lisp/neo-messaging.el (source)... Loading /Users/neilo/.emacs.d/.erc-auth...done Loading /Users/neilo/.emacs.d/lisp/neo-messaging.el (source)...done Loading /Users/neilo/.emacs.d/lisp/neo-navigation.el (source)...done Loading /Users/neilo/.emacs.d/lisp/neo-org.el (source)...done Loading /Users/neilo/.emacs.d/lisp/neo-shell.el (source)...done Loading /Users/neilo/.emacs.d/lisp/neo-ux.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /Users/neilo/.emacs.d/elpa/magit-2.11.0/magit-popup hides = /Users/neilo/.emacs.d/elpa/magit-popup-20180119.111/magit-popup /Users/neilo/.emacs.d/elpa/seq-2.20/seq hides = /usr/local/Cellar/emacs/25.3/share/emacs/25.3/lisp/emacs-lisp/seq Features: (shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils colir counsel dired compile comint ansi-color esh-util etags xref project swiper ivy delsel ivy-overlay ffap thingatpt url-parse auth-source eieio eieio-core gnus-util mm-util help-fns mail-prsvr password-cache url-vars paredit rainbow-delimiters time smart-mode-line rich-minority winner ring hl-line which-key advice zenburn-theme clojure-mode align imenu docker better-defaults dimmer subr-x face-remap color cl-macs cl-seq diminish use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf paren edmacro kmacro saveplace ido rx info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 388793 13057) (symbols 48 31823 0) (miscs 40 86 231) (strings 32 68125 10987) (string-bytes 1 2003268) (vectors 16 48840) (vector-slots 8 857158 7209) (floats 8 512 302) (intervals 56 249 29) (buffers 976 17))