From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#22789: 25.1.50; In last master build https connections stop working Date: Sat, 05 Mar 2016 13:26:50 +0100 Message-ID: References: <864mcyo14y.fsf@Lenovo-PC.i-did-not-set--mail-host-address--so-tickle-me> <871t7xhj7t.fsf@gnus.org> <86oab1vjm9.fsf@realize.ch> <86d1rhpvcq.fsf@realize.ch> <834mctbitq.fsf@gnu.org> <868u25p3m2.fsf@realize.ch> <83io18ahya.fsf@gnu.org> <86y4a3on6f.fsf@realize.ch> <87oaazg7fv.fsf@gnus.org> <86twkro0vr.fsf@realize.ch> <87mvqjgqqg.fsf@gnus.org> <86k2lnnlwy.fsf@realize.ch> <831t7u9826.fsf@gnu.org> <87vb56vkti.fsf@gnus.org> <83ziui6w1s.fsf@gnu.org> <87d1rcrc36.fsf@gnus.org> <83twko64y7.fsf@gnu.org> <87lh60nnh4.fsf@gnus.org> <83egbqzkvd.fsf@gnu.org> <87a8me32ah.fsf@gnus.org> <831t7qz4c3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457180922 9555 80.91.229.3 (5 Mar 2016 12:28:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2016 12:28:42 +0000 (UTC) Cc: j_l_domenech@yahoo.com, a.s@realize.ch, 22789@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 13:28:30 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1acBJs-00007f-FY for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Mar 2016 13:28:28 +0100 Original-Received: from localhost ([::1]:46156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acBJr-0003Sc-NC for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Mar 2016 07:28:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acBJW-00037r-0T for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 07:28:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acBJS-0002SN-KP for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 07:28:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acBJS-0002Rr-I4 for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 07:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1acBJS-0007Oy-Au for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 07:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Mar 2016 12:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22789-submit@debbugs.gnu.org id=B22789.145718083628392 (code B ref 22789); Sat, 05 Mar 2016 12:28:02 +0000 Original-Received: (at 22789) by debbugs.gnu.org; 5 Mar 2016 12:27:16 +0000 Original-Received: from localhost ([127.0.0.1]:34331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acBIh-0007Ns-Ro for submit@debbugs.gnu.org; Sat, 05 Mar 2016 07:27:16 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:46659) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acBIg-0007Nh-07 for 22789@debbugs.gnu.org; Sat, 05 Mar 2016 07:27:14 -0500 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1acBII-0007AI-Lw; Sat, 05 Mar 2016 13:26:50 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEUKAwk+LitRSEqMiGwd ExjN+SSyAAACXElEQVQ4jVWUYZasKgyEw0wWYJAFDOACWnEBiWb/a3oVtM+5jz+tfiQkVaGptRGr j9NY1jF2vXcnJXrAMcZ5pQCnDgDiF2BtjaVjS5nA6ft9bLsbfhAFwP+A5XRDRBkv6P0F+pnAJtBE s6I4nhf2PHaAA2DF4e9KyixSfgCItH9BPy5iLkovkAdEqgt50dc9QVSF3XHMIcr4wHjZKdazv48d aYjkggZ/X9A64O6qxHIhkz1AnlN2RoTl3Id0iRj5goiwXO5jHbIA1PyA08eB52WNmO09I8Afo4aW cx7r/4E6wJ5zG7lJgR/XrKo/oOarD7NK9Ev86q7uyiZXr7SK0g0Vfqe+8AzlSmobd6l8UaH7qOtR Z1Nu1oybbABSXCk9KqAraw2pFja6T0f29zvZ1XeIgVbJNheROUkQ1yyflGeE+FyhFGRPdp+EcuHH qOOWZUZ05SSiadTY1GXcBieh27qIiekPPIsKHVNEM9W6NLb0d7Wp7tib2cIA3Fqh9PNBuigEjq3r p8cc166aEnEuE6xHWz8DadnapuuOgfBpbS7hOTalum/az2+vITb8wfvv1U7tnyjoBZsawbMkXrQf AfRxcFOnE0UX8lyhj/IcsVJi6gHggOIwNn0ijg1KoZMAdNVi4tEf9RGt2wndJCwslmVOKy4X1Adw wwMKMAkbGuGa4iCU617JisftMe+D5lXMMWKoxeKju2G06dgMQy7Vp44iKTK13mlsTsVLpsfaEsBq RBTlgugJwl+AKwE0158JuM3y4+biL+Kg6n7FNKCHB8RLwj1E3+0B/651/w9TpJEEpmYuXwAAAABJ RU5ErkJggg== In-Reply-To: <831t7qz4c3.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 04 Mar 2016 16:48:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1acBII-0007AI-Lw MailScanner-NULL-Check: 1457785610.78986@y0IA6/lgTKL8WlZXTjMa7g 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114445 Archived-At: This is probably totally unrelated, but I saw a "hang" in Emacs for the first time in weeks. shr was downloading an image over https, and Emacs became unresponsive. strace showed the following: [pid 12890] pselect6(39, [3 6 7 12 13 14 15 16 17 18 19 20 38], [], NULL, {0, 0}, {NULL, 8}) = 2 (in [18 19], left {0, 0}) [pid 12890] pselect6(39, [3 6 7 12 13 14 15 16 17 18 19 20 38], [], NULL, {0, 0}, {NULL, 8}) = 2 (in [18 19], left {0, 0}) [pid 12890] pselect6(39, [3 6 7 12 13 14 15 16 17 18 19 20 38], [], NULL, {0, 0}, {NULL, 8}) = 2 (in [18 19], left {0, 0}) [pid 12890] pselect6(39, [3 6 7 12 13 14 15 16 17 18 19 20 38], [], NULL, {0, 0}, {NULL, 8}) = 2 (in [18 19], left {0, 0}) [pid 12890] pselect6(39, [3 6 7 12 13 14 15 16 17 18 19 20 38], [], NULL, {0, 0}, {NULL, 8}) = 2 (in [18 19], left {0, 0}) [pid 12890] pselect6(39, [3 6 7 12 13 14 15 16 17 18 19 20 38], [], NULL, {0, 0}, {NULL, 8}) = 2 (in [18 19], left {0, 0}) [pid 12890] pselect6(39, [3 6 7 12 13 14 15 16 17 18 19 20 38], [], NULL, {0, 0}, {NULL, 8}) = 2 (in [18 19], left {0, 0}) [pid 12890] pselect6(39, [3 6 7 12 13 14 15 16 17 18 19 20 38], [], NULL, {0, 0}, {NULL, 8}) = 2 (in [18 19], left {0, 0}) [pid 12890] pselect6(39, [3 6 7 12 13 14 15 16 17 18 19 20 38], [], NULL, {0, 0}, {NULL, 8}) = 2 (in [18 19], left {0, 0}) This went on for perhaps 30 seconds? (Hm. Which is what I have `url-queue-timeout' set to... Hm...) Then it stopped without downloading the image. Now, the pselect6 call has a timeout of {0, 0}? If I'm reading the man page right. I think it's probably this code? /* If status of something has changed, and no input is available, notify the user of the change right away. After this explicit check, we'll let the SIGCHLD handler zap timeout to get our attention. */ if (update_tick != process_tick) { fd_set Atemp; fd_set Ctemp; if (kbd_on_hold_p ()) FD_ZERO (&Atemp); else Atemp = input_wait_mask; Ctemp = write_mask; timeout = make_timespec (0, 0); if ((pselect (max (max_process_desc, max_input_desc) + 1, &Atemp, #ifdef NON_BLOCKING_CONNECT (num_pending_connects > 0 ? &Ctemp : NULL), #else NULL, #endif NULL, &timeout, NULL) <= 0)) I'm not quite sure what it's trying to do... Hm... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no