From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24201: 25.1.50; TLS connections sometimes hang Date: Thu, 27 Jun 2019 16:25:05 +0300 Message-ID: <831rzfjh3i.fsf@gnu.org> References: <83mvicebin.fsf@gnu.org> <83d1j8e9c0.fsf@gnu.org> <83shg5z32d.fsf@gnu.org> <87efrp2qw0.fsf@mouse> <83tw0lxjt3.fsf@gnu.org> <6e9f3b6c-43df-bf95-d346-56c93c61b4d7@cs.ucla.edu> <83o9kk96ez.fsf@gnu.org> <83h8qc92hc.fsf@gnu.org> <834l4en63b.fsf@gnu.org> <83h88cjoiv.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="207373"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 24201@debbugs.gnu.org, eggert@cs.ucla.edu To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 27 15:26:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgUPp-000rnG-W1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jun 2019 15:26:18 +0200 Original-Received: from localhost ([::1]:50760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgUPo-0004zq-M1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jun 2019 09:26:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34420) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgUPg-0004zc-3n for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2019 09:26:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgUPe-0004ek-3P for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2019 09:26:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52360) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hgUPb-0004d4-9L for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2019 09:26:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hgUPb-0000Ox-3v for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2019 09:26:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 13:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24201 X-GNU-PR-Package: emacs Original-Received: via spool by 24201-submit@debbugs.gnu.org id=B24201.15616419311502 (code B ref 24201); Thu, 27 Jun 2019 13:26:03 +0000 Original-Received: (at 24201) by debbugs.gnu.org; 27 Jun 2019 13:25:31 +0000 Original-Received: from localhost ([127.0.0.1]:37671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgUP4-0000OA-PO for submit@debbugs.gnu.org; Thu, 27 Jun 2019 09:25:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgUP3-0000Nx-L0 for 24201@debbugs.gnu.org; Thu, 27 Jun 2019 09:25:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hgUOx-000445-Ts; Thu, 27 Jun 2019 09:25:23 -0400 Original-Received: from [176.228.60.248] (port=4151 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hgUOu-0001nU-Tu; Thu, 27 Jun 2019 09:25:21 -0400 In-reply-to: (message from Lars Ingebrigtsen on Thu, 27 Jun 2019 12:34:28 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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:161586 Archived-At: > From: Lars Ingebrigtsen > Cc: 24201@debbugs.gnu.org, eggert@cs.ucla.edu > Date: Thu, 27 Jun 2019 12:34:28 +0200 > > > Once we identify the Lisp code which loops, we need to try to figure > > out why it loops. > > I'm pretty sure it's this: > > (while (and (memq (process-status stream) '(open run)) > (not (re-search-forward end-of-command nil t))) > (accept-process-output stream 0.05) > (goto-char start)) Any idea why this loops? Does the other end not respond or something? > But I do not understand why C-g doesn't work: I've tried to follow the > call chain, and I can see no instances of binding `inhibit-quit'... Is inhibit-quit in fact nil or not inside this loop? > If C-g worked, it'd be easier to debug... If you are running this under GDB, you can interrupt by "GDB ways", they are described in etc/DEBUG.