From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#24201: 25.1.50; TLS connections sometimes hang Date: Mon, 19 Feb 2018 17:52:03 +0100 Message-ID: References: <83mvicebin.fsf@gnu.org> <83d1j8e9c0.fsf@gnu.org> <83shg5z32d.fsf@gnu.org> <87efrp2qw0.fsf@mouse> <83tw0lxjt3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519059082 10371 195.159.176.226 (19 Feb 2018 16:51:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2018 16:51:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 24201@debbugs.gnu.org, eggert@cs.ucla.edu To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 19 17:51:17 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 1enoeg-0001oS-Vv for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Feb 2018 17:51:07 +0100 Original-Received: from localhost ([::1]:51222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enogj-0003EO-5y for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Feb 2018 11:53:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enogc-0003Dn-Hs for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 11:53:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enogY-0002hC-8c for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 11:53:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43617) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enogY-0002h4-3m for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 11:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1enogX-0004BA-Nf for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 11:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Feb 2018 16:53: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.151905913116007 (code B ref 24201); Mon, 19 Feb 2018 16:53:01 +0000 Original-Received: (at 24201) by debbugs.gnu.org; 19 Feb 2018 16:52:11 +0000 Original-Received: from localhost ([127.0.0.1]:51514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enofj-0004A7-B6 for submit@debbugs.gnu.org; Mon, 19 Feb 2018 11:52:11 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:40640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enofh-00049t-Bi for 24201@debbugs.gnu.org; Mon, 19 Feb 2018 11:52:10 -0500 Original-Received: from cm-84.209.240.67.getinternet.no ([84.209.240.67] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1enofc-0000nn-1o; Mon, 19 Feb 2018 17:52:06 +0100 In-Reply-To: (Lars Ingebrigtsen's message of "Sun, 18 Feb 2018 18:57:57 +0100") 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:143461 Archived-At: It seems more difficult to reproduce the bug in a non-optimised build, but it finally happened: #0 pthread_sigmask (how=0, newmask=, oldmask=0x7fffffff8a60) at ../sysdeps/unix/sysv/linux/pthread_sigmask.c:50 #1 0x00000000005800ec in block_interrupt_signal (oldset=0x7fffffff8a60) at sysdep.c:843 #2 0x00000000006898fc in really_call_select (arg=0x7fffffff8bb0) at thread.c:575 #3 0x00000000005e08ed in flush_stack_call_func (func=0x689853 , arg=0x7fffffff8bb0) at alloc.c:5218 #4 0x000000000068999e in thread_select (func=0x7fffefb02420 <__pselect>, max_fds=16, rfds=0x7fffffff90e0, wfds=0x7fffffff9060, efds=0x0, timeout=0x7fffffff9380, sigmask=0x0) at thread.c:602 #5 0x00000000006b2ce1 in xg_select (fds_lim=16, rfds=0x7fffffff9420, wfds=0x7fffffff93a0, efds=0x0, timeout=0x7fffffff9380, sigmask=0x0) at xgselect.c:117 #6 0x000000000065f6c5 in wait_reading_process_output (time_limit=0, nsecs=50000000, read_kbd=0, do_display=false, wait_for_cell=XIL(0), wait_proc=0x150084d0, just_wait_proc=0) at process.c:5379 #7 0x000000000065da81 in Faccept_process_output (process=XIL(0x150084d5), seconds=XIL(0xd44b7f), millisec=make_number(50), just_this_one=XIL(0)) at process.c:4667 #8 0x00000000006081b1 in funcall_subr (subr=0xc46580 , numargs=3, args=0x7fffffff9768) at eval.c:2901 #9 0x0000000000607d46 in Ffuncall (nargs=4, args=0x7fffffff9760) at eval.c:2818 #10 0x000000000065096e in exec_byte_code (bytestr=XIL(0x43d1f04), vector=XIL(0x414c3a5), maxdepth=make_number(7), args_template=make_number(771), nargs=3, args=0x7fffffff9cb0) at bytecode.c:632 #11 0x000000000060877c in funcall_lambda (fun=XIL(0x414c3f5), nargs=3, arg_vector=0x7fffffff9c98) at eval.c:3019 #12 0x0000000000607d8a in Ffuncall (nargs=4, args=0x7fffffff9c90) at eval.c:2820 #13 0x000000000065096e in exec_byte_code (bytestr=XIL(0x43d1d04), vector=XIL(0x42e7be5), maxdepth=make_number(28), args_template=make_number(1285), nargs=5, args=0x7fffffffa400) at bytecode.c:632 #14 0x000000000060877c in funcall_lambda (fun=XIL(0x414c325), nargs=5, arg_vector=0x7fffffffa3d8) at eval.c:3019 #15 0x0000000000607d8a in Ffuncall (nargs=6, args=0x7fffffffa3d0) at eval.c:2820 #16 0x000000000065096e in exec_byte_code (bytestr=XIL(0x43d6684), vector=XIL(0x414c015), maxdepth=make_number(22), args_template=make_number(1156), nargs=14, args=0x7fffffffa990) at bytecode.c:632 #17 0x000000000060877c in funcall_lambda (fun=XIL(0x414c175), nargs=14, arg_vector=0x7fffffffa970) at eval.c:3019 #18 0x0000000000607d8a in Ffuncall (nargs=15, args=0x7fffffffa968) at eval.c:2820 #19 0x000000000065096e in exec_byte_code (bytestr=XIL(0x4235df4), vector=XIL(0x42361a5), maxdepth=make_number(15), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #20 0x0000000000608b04 in funcall_lambda (fun=XIL(0x4235b35), nargs=1, arg_vector=0x42361a5) at eval.c:3101 #21 0x0000000000607d8a in Ffuncall (nargs=2, args=0x7fffffffb088) at eval.c:2820 #22 0x000000000065096e in exec_byte_code (bytestr=XIL(0x4230074), vector=XIL(0x422f5b5), maxdepth=make_number(4), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #23 0x0000000000608b04 in funcall_lambda (fun=XIL(0x422f685), nargs=3, arg_vector=0x422f5b5) at eval.c:3101 #24 0x0000000000607d8a in Ffuncall (nargs=4, args=0x7fffffffb5b8) at eval.c:2820 #25 0x000000000065096e in exec_byte_code (bytestr=XIL(0x42373c4), vector=XIL(0x4236965), maxdepth=make_number(8), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #26 0x0000000000608b04 in funcall_lambda (fun=XIL(0x4236cb5), nargs=3, arg_vector=0x4236965) at eval.c:3101 #27 0x0000000000607d8a in Ffuncall (nargs=4, args=0x7fffffffbeb8) at eval.c:2820 #28 0x000000000065096e in exec_byte_code (bytestr=XIL(0x4226f24), vector=XIL(0x4228785), maxdepth=make_number(4), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #29 0x0000000000608b04 in funcall_lambda (fun=XIL(0x4227ee5), nargs=4, arg_vector=0x4228785) at eval.c:3101 #30 0x0000000000607d8a in Ffuncall (nargs=5, args=0x7fffffffc388) at eval.c:2820 #31 0x000000000065096e in exec_byte_code (bytestr=XIL(0x422e994), vector=XIL(0x422db75), maxdepth=make_number(5), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #32 0x0000000000608b04 in funcall_lambda (fun=XIL(0x422dba5), nargs=4, arg_vector=0x422db75) at eval.c:3101 #33 0x0000000000607d8a in Ffuncall (nargs=5, args=0x7fffffffc828) at eval.c:2820 #34 0x000000000065096e in exec_byte_code (bytestr=XIL(0x3b09454), vector=XIL(0x3f7ec65), maxdepth=make_number(5), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #35 0x0000000000608b04 in funcall_lambda (fun=XIL(0x3eef535), nargs=2, arg_vector=0x3f7ec65) at eval.c:3101 #36 0x0000000000607d8a in Ffuncall (nargs=3, args=0x7fffffffcce8) at eval.c:2820 #37 0x000000000065096e in exec_byte_code (bytestr=XIL(0x4e49874), vector=XIL(0x42f70d5), maxdepth=make_number(7), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #38 0x0000000000608b04 in funcall_lambda (fun=XIL(0x42d4fd5), nargs=3, arg_vector=0x42f70d5) at eval.c:3101 #39 0x0000000000607d8a in Ffuncall (nargs=4, args=0x7fffffffd2a0) at eval.c:2820 #40 0x000000000060716c in Fapply (nargs=2, args=0x7fffffffd488) at eval.c:2438 #41 0x0000000000608049 in funcall_subr (subr=0xc42a00 , numargs=2, args=0x7fffffffd488) at eval.c:2873 #42 0x0000000000607d46 in Ffuncall (nargs=3, args=0x7fffffffd480) at eval.c:2818 #43 0x000000000065096e in exec_byte_code (bytestr=XIL(0xa6864c), vector=XIL(0xa6866d), maxdepth=make_number(10), args_template=make_number(257), nargs=1, args=0x7fffffffd9f0) at bytecode.c:632 #44 0x000000000060877c in funcall_lambda (fun=XIL(0xa6861d), nargs=1, arg_vector=0x7fffffffd9e8) at eval.c:3019 #45 0x0000000000607d8a in Ffuncall (nargs=2, args=0x7fffffffd9e0) at eval.c:2820 #46 0x0000000000607744 in call1 (fn=XIL(0xc480), arg1=XIL(0x11d06665)) at eval.c:2669 #47 0x000000000056763e in timer_check_2 (timers=XIL(0x9cd82a3), idle_timers=XIL(0x9cd82d3)) at keyboard.c:4330 #48 0x000000000056776c in timer_check () at keyboard.c:4392 #49 0x0000000000565989 in readable_events (flags=1) at keyboard.c:3349 #50 0x000000000056bed8 in get_input_pending (flags=1) at keyboard.c:6805 #51 0x00000000005723a2 in detect_input_pending_run_timers (do_display=true) at keyboard.c:9943 #52 0x000000000065fb9d in wait_reading_process_output (time_limit=30, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=XIL(0), wait_proc=0x0, just_wait_proc=0) at process.c:5516 #53 0x0000000000425fd4 in sit_for (timeout=make_number(30), reading=true, display_option=1) at dispnew.c:5804 #54 0x00000000005640ac in read_char (commandflag=1, map=XIL(0xb4357a3), prev_event=XIL(0), used_mouse_menu=0x7fffffffe39f, end_time=0x0) at keyboard.c:2723 #55 0x0000000000570b12 in read_key_sequence (keybuf=0x7fffffffe560, bufsize=30, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9137 #56 0x0000000000560d38 in command_loop_1 () at keyboard.c:1370 #57 0x00000000006046ce in internal_condition_case (bfun=0x560902 , handlers=XIL(0x5280), hfun=0x5600b8 ) at eval.c:1332 #58 0x00000000005605ec in command_loop_2 (ignore=XIL(0)) at keyboard.c:1111 #59 0x0000000000603fa0 in internal_catch (tag=XIL(0xc750), func=0x5605bf , arg=XIL(0)) at eval.c:1097 #60 0x000000000056058a in command_loop () at keyboard.c:1090 #61 0x000000000055fc87 in recursive_edit_1 () at keyboard.c:696 #62 0x000000000055fe0b in Frecursive_edit () at keyboard.c:767 #63 0x000000000055da7c in main (argc=1, argv=0x7fffffffea18) at emacs.c:1724 Lisp Backtrace: "accept-process-output" (0xffff9768) "network-stream-get-response" (0xffff9c98) "network-stream-open-starttls" (0xffffa3d8) "open-network-stream" (0xffffa970) "nntp-open-connection" (0xffffb090) "nntp-open-server" (0xffffb5c0) "nntp-possibly-change-group" (0xffffbec0) "nntp-with-open-group-function" (0xffffc390) "nntp-request-article" (0xffffc830) "gnus-request-article" (0xffffccf0) "gnus-async-prefetch-article" (0xffffd2a8) "apply" (0xffffd488) "timer-event-handler" (0xffffd9e8) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no