From unknown Sat Jun 21 17:33:17 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#30325 <30325@debbugs.gnu.org> To: bug#30325 <30325@debbugs.gnu.org> Subject: Status: 25.3; Emacs hang attempting erc-tls reconnect Reply-To: bug#30325 <30325@debbugs.gnu.org> Date: Sun, 22 Jun 2025 00:33:17 +0000 retitle 30325 25.3; Emacs hang attempting erc-tls reconnect reassign 30325 emacs submitter 30325 Neil Okamoto severity 30325 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 02 12:35:10 2018 Received: (at submit) by debbugs.gnu.org; 2 Feb 2018 17:35:10 +0000 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 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 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 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 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 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 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) 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) From: Neil Okamoto Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: 25.3; Emacs hang attempting erc-tls reconnect Message-Id: Date: Fri, 2 Feb 2018 09:09:01 -0800 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3445.5.20) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::229 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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)) From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 14 14:26:26 2018 Received: (at 30325) by debbugs.gnu.org; 14 Apr 2018 18:26:26 +0000 Received: from localhost ([127.0.0.1]:52587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7PsY-0007Kc-9T for submit@debbugs.gnu.org; Sat, 14 Apr 2018 14:26:26 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:55729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7PsW-0007KS-NG for 30325@debbugs.gnu.org; Sat, 14 Apr 2018 14:26:25 -0400 Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f7PsT-0002gp-Mo; Sat, 14 Apr 2018 20:26:23 +0200 Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f7PsO-0006mZ-0j; Sat, 14 Apr 2018 20:26:16 +0200 From: Lars Ingebrigtsen To: Neil Okamoto Subject: Re: bug#30325: 25.3; Emacs hang attempting erc-tls reconnect References: Date: Sat, 14 Apr 2018 20:26:15 +0200 In-Reply-To: (Neil Okamoto's message of "Fri, 2 Feb 2018 09:09:01 -0800") Message-ID: <87efjh4pbs.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30325 Cc: 30325@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Neil Okamoto writes: > When done, I left the erc connection open and closed the laptop lid. Does closing the laptop lid do anything? > 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 do= n=E2=80=99t > 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 SI= GSTOP > * frame #0: 0x00000001008f7a2b libgnutls.30.dylib`_gnutls_handshake_io_= recv_int + 250 > frame #1: 0x00000001008f8feb libgnutls.30.dylib`_gnutls_recv_handshak= e + 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 Did it hang there or was it looping and calling this function repeatedly? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 14 16:33:51 2018 Received: (at 30325) by debbugs.gnu.org; 14 Apr 2018 20:33:51 +0000 Received: from localhost ([127.0.0.1]:52780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7Rrn-0003Qz-I4 for submit@debbugs.gnu.org; Sat, 14 Apr 2018 16:33:51 -0400 Received: from mail-ot0-f171.google.com ([74.125.82.171]:35745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7Rrh-0003Qe-W3 for 30325@debbugs.gnu.org; Sat, 14 Apr 2018 16:33:45 -0400 Received: by mail-ot0-f171.google.com with SMTP id f47-v6so13439688oth.2 for <30325@debbugs.gnu.org>; Sat, 14 Apr 2018 13:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rL5ZECeuM1ChhdqXcz4uV0CadQn482OHChR2IEypKAQ=; b=qlY/zg12AWDXnwUa79AeNU8l+PGhRR5nGuZthGYMBy27EVBDMxJQoEoFKJKChPSUtG ZZs+wF3/kzn16LFjoit8YeeZDDcA6bilZpIB6U/3nOrRL2LnuLxNcqtx7/Knnbqg9rPc PyOZfz6Wm7Emdb7reqUfqDnoa6yLBMe0I4q9MEM3A8k1kbvfR9Y7zvV/UC0oPBxAlB4f nGSYZT6d/nisctLEj1jSnd5k4C1U30DrJVv5lhWcAcvTm6hRuxg/aqD7/t0dpv1NoSEe pZyVt2A1NbnM9xd1yx8SzbRQkmwmpUSoLy9MH432bbtdHJQ+feX/dxcG1bCTf+l0oDsp 19gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rL5ZECeuM1ChhdqXcz4uV0CadQn482OHChR2IEypKAQ=; b=NEqHPiP4xLlDcFpIsHA9Q9qNSrtswJ7LODy+jjkVW3LTjnUVZngOOW9pe+eisykb8n wNVMmPjgI6e4s65RtNUoVpdPiaEGpDcL9NT+9lJwIBbxu9mp4yqDAG6iFr18mCtL2Xn4 G+MnkmUXE9OMo/Ht6V0r3vwiIJTrTNS2b63lbhtFTgPdOA6W3B6/gUTnjQvb+8P0aEm2 eIiq83GLpP/pocxl8bU38acH64AR+H83duQ9m0vBhD311FGtBSN5HzhPRKQiXv2cgAmR PIWy3lQY8Hc/JPlN/Yb2eIi+4+ju1U/ceJ91d0hu0oJb1K7LznXGaq8hFLgFNyE/cPB0 xcMg== X-Gm-Message-State: ALQs6tCBMs+3zqUqycMNmY8D4O+lEE8fKHv+CytJoqc5fGBEOZTOo+j6 TFw95VmneLiY6mN2dOdYIfy/N3/a X-Google-Smtp-Source: AIpwx4/uulcd/ZHxNy7DqrlBFzHEhvJL7pgwLDDH8UyqQ2D1Kgx59bD1GEzTImR6AKAiSO5ywLGWbg== X-Received: by 2002:a9d:3056:: with SMTP id w22-v6mr7306457otd.105.1523738016283; Sat, 14 Apr 2018 13:33:36 -0700 (PDT) Received: from [10.194.68.150] (adsl-99-23-242-93.dsl.chi2ca.sbcglobal.net. [99.23.242.93]) by smtp.gmail.com with ESMTPSA id t83-v6sm5989306oij.46.2018.04.14.13.33.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Apr 2018 13:33:35 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: bug#30325: 25.3; Emacs hang attempting erc-tls reconnect From: Neil Okamoto In-Reply-To: <87efjh4pbs.fsf@mouse.gnus.org> Date: Sat, 14 Apr 2018 13:33:33 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8CCA5F8D-6213-40B9-99BB-812EC644B9B0@gmail.com> References: <87efjh4pbs.fsf@mouse.gnus.org> To: Lars Ingebrigtsen X-Mailer: Apple Mail (2.3445.6.18) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30325 Cc: 30325@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Apr 14, 2018, at 11:26 AM, Lars Ingebrigtsen = wrote: >=20 > Neil Okamoto writes: >=20 >> When done, I left the erc connection open and closed the laptop lid. >=20 > Does closing the laptop lid do anything? Ordinarily closing the lid causes the mac to =E2=80=9Csleep=E2=80=9D. >=20 >> 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=99t >> recall the exact wording of the message. >>=20 >> I attached lldb and got a backtrace, see below. >>=20 >> (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 >=20 > Did it hang there or was it looping and calling this > function repeatedly? I=E2=80=99m sorry, I didn=E2=80=99t notice. >=20 > --=20 > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 14 16:40:50 2018 Received: (at 30325) by debbugs.gnu.org; 14 Apr 2018 20:40:50 +0000 Received: from localhost ([127.0.0.1]:52796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7Ryc-0003bd-Ej for submit@debbugs.gnu.org; Sat, 14 Apr 2018 16:40:50 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:56984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7Rya-0003bU-L6 for 30325@debbugs.gnu.org; Sat, 14 Apr 2018 16:40:49 -0400 Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f7RyX-0004T6-Bu; Sat, 14 Apr 2018 22:40:47 +0200 Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f7RyR-0008Kh-Gg; Sat, 14 Apr 2018 22:40:39 +0200 From: Lars Ingebrigtsen To: Neil Okamoto Subject: Re: bug#30325: 25.3; Emacs hang attempting erc-tls reconnect References: <87efjh4pbs.fsf@mouse.gnus.org> <8CCA5F8D-6213-40B9-99BB-812EC644B9B0@gmail.com> Date: Sat, 14 Apr 2018 22:40:39 +0200 In-Reply-To: <8CCA5F8D-6213-40B9-99BB-812EC644B9B0@gmail.com> (Neil Okamoto's message of "Sat, 14 Apr 2018 13:33:33 -0700") Message-ID: <874lkdfrnc.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30325 Cc: 30325@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Neil Okamoto writes: > Ordinarily closing the lid causes the mac to =E2=80=9Csleep=E2=80=9D. Ok, you put the laptop to sleep, and when it woke up the TLS connection erc tried to establish hung? Do you know whether the laptop was assigned a new IP address when it woke up or not? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 14 17:01:18 2018 Received: (at 30325) by debbugs.gnu.org; 14 Apr 2018 21:01:18 +0000 Received: from localhost ([127.0.0.1]:52800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7SIM-00045u-5h for submit@debbugs.gnu.org; Sat, 14 Apr 2018 17:01:18 -0400 Received: from mail-oi0-f54.google.com ([209.85.218.54]:39726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7SIH-00045e-4f for 30325@debbugs.gnu.org; Sat, 14 Apr 2018 17:01:13 -0400 Received: by mail-oi0-f54.google.com with SMTP id q71-v6so11311451oic.6 for <30325@debbugs.gnu.org>; Sat, 14 Apr 2018 14:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Q9LSVMZxuVhLnr66yfyc2vVJHl5BC8LJq8EY0AOxPew=; b=H2Vm4QI8ZI9jplZ+UlTCZlUEZp7jcTSHVoZ5ck4PTeiUXxvQW3WbSJUfNe0wB1Ke7x nhX4TkaBmzqSW6JcnkbhyYT8pW6H9aZH5i54SEwO1oguLVGAsF6SUA33EJF95Ig063YV //NTb/eQFrt4ew+FatilxSOoGssUg25T1YqzgBWYq+7jPF5iJ2CNa/UMf3IZO5Z1NQJL WEya+ESuFzYovtss77IFuZH2cFavRTHqSfhs6uUPgAWyQLhZ9fO27XCpZ4KoeYssfGsa Bbwh7loCgBt/WNH1q8yReuRkl22wzsfd2GkOqSanHvo3W+RngGPMWgCfTf3z/mvW/EJf 67lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Q9LSVMZxuVhLnr66yfyc2vVJHl5BC8LJq8EY0AOxPew=; b=mDJ5KEa3Lz5N6AzeZZoASf9a9eySzskFVAPogMLj+pubjzmFd8ozkuEYNLST/l6lVH AQMFdBhIiBzjm/0m0UYOtIrWaO5P9eD+A58ZJ67/ZOANRLxzu/GH6H3gbteGIfJQzcXF JiZS8L/u0phAvTBPxoLVTB56TaMe1yL40zX99OsQpKEXaUpuXVukWVVlvqJmlEe8HP1i vbDQ4IPr2Gf91vPiu+lI7KbXFmeFyqTjUg2IEU2lEiUABcXXI6b9fqTMhQ2Yk6tSj1By QRCULkZs0XoiTdEe3eOQhx28BVGUMyLcvN+ua9ywCSgShZLBPr9Cwb8OjbIT3/Epd4nV SHYA== X-Gm-Message-State: ALQs6tA6+vRTJj31xv7Kk0DVaPqp3mXF+A1JFeHqiUG87oGHa5/f97Ck xNsfrGFVkpxauLpyV7iIq2M= X-Google-Smtp-Source: AIpwx487YfEMm1Y4qxeUsNgt6//Pa9GRqebvpJWpzCxDHGGIZjQMqPz2UjP7VKuP7SPIria4qmLpCw== X-Received: by 2002:aca:5685:: with SMTP id k127-v6mr10898226oib.221.1523739663576; Sat, 14 Apr 2018 14:01:03 -0700 (PDT) Received: from [10.194.68.143] (adsl-99-23-242-93.dsl.chi2ca.sbcglobal.net. [99.23.242.93]) by smtp.gmail.com with ESMTPSA id w8-v6sm5420754oth.19.2018.04.14.14.01.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Apr 2018 14:01:02 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: bug#30325: 25.3; Emacs hang attempting erc-tls reconnect From: Neil Okamoto X-Mailer: iPhone Mail (15E216) In-Reply-To: <874lkdfrnc.fsf@mouse.gnus.org> Date: Sat, 14 Apr 2018 14:01:01 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <369BD079-4AFA-45CD-BC5A-2AF86C58FC6E@gmail.com> References: <87efjh4pbs.fsf@mouse.gnus.org> <8CCA5F8D-6213-40B9-99BB-812EC644B9B0@gmail.com> <874lkdfrnc.fsf@mouse.gnus.org> To: Lars Ingebrigtsen X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30325 Cc: 30325@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Apr 14, 2018, at 1:40 PM, Lars Ingebrigtsen wrote: >=20 > Neil Okamoto writes: >=20 >> Ordinarily closing the lid causes the mac to =E2=80=9Csleep=E2=80=9D. >=20 > Ok, you put the laptop to sleep, and when it woke up the TLS connection > erc tried to establish hung? =20 Yes as far as I could see.=20 > Do you know whether the laptop was > assigned a new IP address when it woke up or not? It seems unlikely, but the best answer is I don=E2=80=99t know.=20 Sorry I can=E2=80=99t be more helpful... From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 23 05:18:52 2019 Received: (at 30325) by debbugs.gnu.org; 23 Oct 2019 09:18:52 +0000 Received: from localhost ([127.0.0.1]:60849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNCn5-0003qs-QU for submit@debbugs.gnu.org; Wed, 23 Oct 2019 05:18:52 -0400 Received: from quimby.gnus.org ([80.91.231.51]:33406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNCn3-0003qi-Rn for 30325@debbugs.gnu.org; Wed, 23 Oct 2019 05:18:50 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNCn0-000192-NR; Wed, 23 Oct 2019 11:18:49 +0200 From: Lars Ingebrigtsen To: Neil Okamoto Subject: Re: bug#30325: 25.3; Emacs hang attempting erc-tls reconnect References: <87efjh4pbs.fsf@mouse.gnus.org> <8CCA5F8D-6213-40B9-99BB-812EC644B9B0@gmail.com> <874lkdfrnc.fsf@mouse.gnus.org> <369BD079-4AFA-45CD-BC5A-2AF86C58FC6E@gmail.com> Date: Wed, 23 Oct 2019 11:18:46 +0200 In-Reply-To: <369BD079-4AFA-45CD-BC5A-2AF86C58FC6E@gmail.com> (Neil Okamoto's message of "Sat, 14 Apr 2018 14:01:01 -0700") Message-ID: <87k18vkefd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Neil Okamoto writes: >> Ok, you put the laptop to sleep, and when it woke up the TLS connection >> erc tried to establish hung? > > Yes as far as I could see. > >> Do you know whether the laptop was >> assigned a new IP a [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30325 Cc: 30325@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Neil Okamoto writes: >> Ok, you put the laptop to sleep, and when it woke up the TLS connection >> erc tried to establish hung?=20=20 > > Yes as far as I could see.=20 > >> Do you know whether the laptop was >> assigned a new IP address when it woke up or not? > > It seems unlikely, but the best answer is I don=E2=80=99t know.=20 > > Sorry I can=E2=80=99t be more helpful... Without a reproducible test case I think it's unlikely that we'll make further progress on this bug report, and I'm closing it. If this happens again, please reopen. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 23 05:18:59 2019 Received: (at control) by debbugs.gnu.org; 23 Oct 2019 09:18:59 +0000 Received: from localhost ([127.0.0.1]:60852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNCnD-0003rL-39 for submit@debbugs.gnu.org; Wed, 23 Oct 2019 05:18:59 -0400 Received: from quimby.gnus.org ([80.91.231.51]:33430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNCn9-0003r8-Ba for control@debbugs.gnu.org; Wed, 23 Oct 2019 05:18:57 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNCn6-00019B-Md for control@debbugs.gnu.org; Wed, 23 Oct 2019 11:18:54 +0200 Date: Wed, 23 Oct 2019 11:18:52 +0200 Message-Id: <87imofkef7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #30325 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 30325 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 30325 quit From unknown Sat Jun 21 17:33:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 20 Nov 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator