From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24201: 25.1.50; TLS connections sometimes hang Date: Mon, 19 Feb 2018 20:32:36 +0200 Message-ID: <83o9kk96ez.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1519065135 23371 195.159.176.226 (19 Feb 2018 18:32:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2018 18:32:15 +0000 (UTC) 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 Mon Feb 19 19:32:11 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 1enqEG-0004qg-BV for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Feb 2018 19:31:56 +0100 Original-Received: from localhost ([::1]:51796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enqGI-0000mt-Dw for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Feb 2018 13:34:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enqFN-0000HS-W7 for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 13:33:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enqFK-0001Jy-1i for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 13:33:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43704) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enqFJ-0001Jl-Ub for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 13:33:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1enqFJ-0006rT-L2 for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 13:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Feb 2018 18:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24201 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24201-submit@debbugs.gnu.org id=B24201.151906516526353 (code B ref 24201); Mon, 19 Feb 2018 18:33:01 +0000 Original-Received: (at 24201) by debbugs.gnu.org; 19 Feb 2018 18:32:45 +0000 Original-Received: from localhost ([127.0.0.1]:51601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enqEz-0006qw-FH for submit@debbugs.gnu.org; Mon, 19 Feb 2018 13:32:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enqEv-0006qh-KD for 24201@debbugs.gnu.org; Mon, 19 Feb 2018 13:32:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enqEm-0000v1-Eq for 24201@debbugs.gnu.org; Mon, 19 Feb 2018 13:32:32 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enqEm-0000uu-Bn; Mon, 19 Feb 2018 13:32:28 -0500 Original-Received: from [176.228.60.248] (port=2715 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1enqEl-0001XF-OJ; Mon, 19 Feb 2018 13:32:28 -0500 In-reply-to: (message from Lars Ingebrigtsen on Mon, 19 Feb 2018 19:16:50 +0100) 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: 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:143468 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , 24201@debbugs.gnu.org > Date: Mon, 19 Feb 2018 19:16:50 +0100 > > Paul Eggert writes: > > > Lars Ingebrigtsen wrote: > >> #0 pthread_sigmask (how=0, newmask=, oldmask=0x7fffffff8a60) > >> at ../sysdeps/unix/sysv/linux/pthread_sigmask.c:50 > > > > When you say that Emacs "hangs" surely you don't mean that the call to > > pthread_sigmask is hanging. So, can we assume that Emacs is > > busy-waiting for something? Is the CPU pegged? What does the busy-wait > > loop look like? > > It's using 100% CPU, so it's busy-waiting, but every time I stop it, > it's in that pthread_sigmask, as far as I'm able to tell... And if you then say "continue" or "finish", does it exit from the pthread_sigmask call? If not, some other thread is spinning.