Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: Need help: Where to debug "Server closed connection" opening Gmane NNTP groups with many unread articles on Windows?
Date: Mon, 07 Sep 2015 21:51:23 +0200	[thread overview]
Message-ID: <87h9n6gg90.fsf@dod.no> (raw)
In-Reply-To: <upzch9vb18tu.fsf@dod.no>

>>>>> Steinar Bang <sb@dod.no>:
>>>>> Lars Ingebrigtsen <larsi@gnus.org>:
>> Steinar Bang <sb@dod.no> writes:

>>> Since May last year, or thereabouts, I have seen a problem with git
>>> Gnus on Win32, when opening Gmane NNTP groups with large number of
>>> unread articles.

>>> I plan to debug this now to find out where it actually breaks, but need
>>> some pointers:
>>> Where should I set a breakpoint? 

>> You could perhaps try `debug-on-message'...

> It seems to be fixed now, with a new emacs 24 (24.4 vs. 24.3) and a new
> gnutls.dll from ezwinports.

It wasn't fixed at all.  The issue is still present, and as annoying as
always.

The problem only occurs on news.gmane.org, I'm guessing because its TLS
upgrade fails in some mysterious way.

This was done on:
 Windows 8.1
 GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570
 gnutls-3.3.11-w32-bin from ezwinports

In scratch I evaluated:
 (setq debug-on-message ".*fatal error: The TLS connection was non-properly terminated.*")


Then I tried entering a gmane group and hit the following stack trace:

Debugger entered--Lisp error: "gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated."
  accept-process-output(#<process nntpd<1>> 1 0)
  nnheader-accept-process-output(#<process nntpd<1>>)
  nntp-accept-process-output(#<process nntpd<1>>)
  nntp-accept-response()
  nntp-send-command-nodelete(nil "XOVER" "189572-189572")
  nntp-send-xover-command(189572 189572)
  nntp-retrieve-headers-with-xover((189569 189570 189571 189572 189573 189574 189575 189576 189577 189578 189579 189580 189581 189582 189583 189584 189585 189586 189587 189588 189589 189590 189591 189592 189593 189594 189595 189596 189597 189598 189599 189600 189601 189602 189603 189604 189605 189606 189607 189608 189609 189610 189611 189612 189613 189614 189615 189616 189617 189618 ...) nil)
  #[nil "r\306\b!q\210\307 \210	\204\0\n\204\0\310\v\f\"\203\0\311\202\243\vG\v\312\211e\306\b!\313\314\x1e89:;<\x1e=\v\211A\242\211\203h\314\315\247\203L\316!\202MD>?@\204`\x0eA\204`\317\b!\210\320\321>\322#B\bCDC;\203z\323C!\202|\x0eC\314\211EFCGG\203\261\x0eG\211AG\242\211E\203\261\x0eCE\211A@\262=\203\206\x0eE@F\314\211G\204\213\x0eF\205\324\324F!\325>\203\304\x0eF\202\324\326\327F!!\210\330ED\"D\314-\211F\205\337\327F!\211C\205\354rCq\210`)HF\203\334\x0eBIJ\b?@\314KL?CMNBCCDC;\203 \323C!\202\"\x0eC\314\211EFCGG\203W\x0eG\211AG\242\211E\203W\x0eCE\211A@\262=\203,\x0eE@F\314\211G\2041\x0eF\205z\324F!\325>\203j\x0eF\202z\326\327F!!\210\330ED\"D\314-\206\202\331C!\211F\203\240\x0e8\204\231\x0e@\204\231\317\327F!!\210\332\333\334\217\202\246\335\336\337N#.\b?\204\342\x0eO\204\342\x0ePQ>\204\342\340 \210rCq\210Hb\210\341\342B!!\203\330\x0eH\343y\210\344 |\210)\202\342\335\336\345I#.\210<T<\v\203\370\346<R\246!\2035\340 \2109q\210:b\210\314f\347=\203\x02\350\351\314\313#\2037\341\352!\203,\343y\210\202\x02\341\353!\2037\354\355\314\313#\2037`:;T;\202\x02;<W\2035\x0eS\247\203b\x0e=SV\203b\346;\356\246!\203b\357\360\361;\362_=\245#\210\340 \210\202\373\x0eS\247\203{\x0e=SV\203{\357\360\363\"\210\364 \210\365 \210ed{Tr\bq\210\307 \210U\203\231\366T!\202\233\x0eTc\210eb\210.\n\367)\207" [nntp-server-buffer gnus-nov-is-evil nntp-nov-is-evil articles fetch-old article nntp-find-connection-buffer erase-buffer nntp-retrieve-headers-with-xover nov 0 t nil "HEAD" int-to-string nntp-erase-buffer mapconcat identity " " get-buffer process-status (open run) nntp-kill-buffer process-buffer delq nntp-open-connection err (byte-code "\b\203*	\b\x19\306 \n\203\0\307\n!\210\310	\n1P\"\210\311	!\312>\206(\313\314!*\2102\315=\2033\316\2072\203K\x0e3\203K\317	3452%\210\316\2073\203Q	345\3206543r\321	!q\210eb\210`f\322>\203w\323\324!\203\271\311	!\325>\203\271\323\326!\203\214\327	!\210\202\257\323\330!\203\242\331\332\333\334\335N#\210\336\334\320\"\210\202\257\323\337!\203\257`\340y\210`|\210\341	!\210eb\210\202j\323\342!\203\306\343 \210\320\202F\311	!\344>\204\324\313\314!\202Fdb\210e\32078\34538\316#\204\370\341	!\210d\346Ze]8db\210\202\335\347\350!7r9q\2107:+\3515?!\2106\204Er4q\210db\210;\203/r\321	!q\210\352\353 !)c\210\2027\354\321	!\320\211#\210<\203D\320<\355\356\357\"\210)\3166\204N\360 \210.\207\316\207" [command process string nntp-last-command-time nntp-last-command nntp-record-commands current-time nntp-record-command process-send-string process-status (open run) nntp-report "Server closed connection" ignore t nntp-async-wait nil process-buffer (50 51 52 53) looking-at "48[02]" (open run) "480" nntp-handle-authinfo "482" nnheader-report nntp "%s" nntp-authinfo-rejected error-message signal "^.*\n" 1 nntp-accept-process-output "[45]" nntp-snarf-error-message (open run) re-search-backward 1000 match-string 0 nntp-decode-text mm-string-to-multibyte buffer-string insert-buffer-substring nnheader-message 5 "" erase-buffer nntp-end-of-line ...] 6) ((nntp-authinfo-rejected (byte-code "\301\302\bA\"\207" [err signal nntp-authinfo-rejected] 3)) (error (byte-code "\302\303\304\b	$\207" [address err nnheader-report nntp "Couldn't open connection to %s: %s"] 5)) (quit (byte-code "\300\301!\210\302\303\304\"\210\304\207" [message "Quit retrieving data from nntp" signal quit nil] 3))) nnheader-report nntp "Couldn't open connection to %s" nntp-accept-response looking-at regexp-quote 1 point-at-bol "Couldn't open connection to %s." zerop 50 re-search-forward "\n\\.?\n" "^\\.?\n" "[34]" search-forward "\n" 20 nnheader-message 6 "NNTP: Receiving headers... %d%%" ...] 8]()
  funcall(#[nil "r\306\b!q\210\307 \210	\204\0\n\204\0\310\v\f\"\203\0\311\202\243\vG\v\312\211e\306\b!\313\314\x1e89:;<\x1e=\v\211A\242\211\203h\314\315\247\203L\316!\202MD>?@\204`\x0eA\204`\317\b!\210\320\321>\322#B\bCDC;\203z\323C!\202|\x0eC\314\211EFCGG\203\261\x0eG\211AG\242\211E\203\261\x0eCE\211A@\262=\203\206\x0eE@F\314\211G\204\213\x0eF\205\324\324F!\325>\203\304\x0eF\202\324\326\327F!!\210\330ED\"D\314-\211F\205\337\327F!\211C\205\354rCq\210`)HF\203\334\x0eBIJ\b?@\314KL?CMNBCCDC;\203 \323C!\202\"\x0eC\314\211EFCGG\203W\x0eG\211AG\242\211E\203W\x0eCE\211A@\262=\203,\x0eE@F\314\211G\2041\x0eF\205z\324F!\325>\203j\x0eF\202z\326\327F!!\210\330ED\"D\314-\206\202\331C!\211F\203\240\x0e8\204\231\x0e@\204\231\317\327F!!\210\332\333\334\217\202\246\335\336\337N#.\b?\204\342\x0eO\204\342\x0ePQ>\204\342\340 \210rCq\210Hb\210\341\342B!!\203\330\x0eH\343y\210\344 |\210)\202\342\335\336\345I#.\210<T<\v\203\370\346<R\246!\2035\340 \2109q\210:b\210\314f\347=\203\x02\350\351\314\313#\2037\341\352!\203,\343y\210\202\x02\341\353!\2037\354\355\314\313#\2037`:;T;\202\x02;<W\2035\x0eS\247\203b\x0e=SV\203b\346;\356\246!\203b\357\360\361;\362_=\245#\210\340 \210\202\373\x0eS\247\203{\x0e=SV\203{\357\360\363\"\210\364 \210\365 \210ed{Tr\bq\210\307 \210U\203\231\366T!\202\233\x0eTc\210eb\210.\n\367)\207" [nntp-server-buffer gnus-nov-is-evil nntp-nov-is-evil articles fetch-old article nntp-find-connection-buffer erase-buffer nntp-retrieve-headers-with-xover nov 0 t nil "HEAD" int-to-string nntp-erase-buffer mapconcat identity " " get-buffer process-status (open run) nntp-kill-buffer process-buffer delq nntp-open-connection err (byte-code "\b\203*	\b\x19\306 \n\203\0\307\n!\210\310	\n1P\"\210\311	!\312>\206(\313\314!*\2102\315=\2033\316\2072\203K\x0e3\203K\317	3452%\210\316\2073\203Q	345\3206543r\321	!q\210eb\210`f\322>\203w\323\324!\203\271\311	!\325>\203\271\323\326!\203\214\327	!\210\202\257\323\330!\203\242\331\332\333\334\335N#\210\336\334\320\"\210\202\257\323\337!\203\257`\340y\210`|\210\341	!\210eb\210\202j\323\342!\203\306\343 \210\320\202F\311	!\344>\204\324\313\314!\202Fdb\210e\32078\34538\316#\204\370\341	!\210d\346Ze]8db\210\202\335\347\350!7r9q\2107:+\3515?!\2106\204Er4q\210db\210;\203/r\321	!q\210\352\353 !)c\210\2027\354\321	!\320\211#\210<\203D\320<\355\356\357\"\210)\3166\204N\360 \210.\207\316\207" [command process string nntp-last-command-time nntp-last-command nntp-record-commands current-time nntp-record-command process-send-string process-status (open run) nntp-report "Server closed connection" ignore t nntp-async-wait nil process-buffer (50 51 52 53) looking-at "48[02]" (open run) "480" nntp-handle-authinfo "482" nnheader-report nntp "%s" nntp-authinfo-rejected error-message signal "^.*\n" 1 nntp-accept-process-output "[45]" nntp-snarf-error-message (open run) re-search-backward 1000 match-string 0 nntp-decode-text mm-string-to-multibyte buffer-string insert-buffer-substring nnheader-message 5 "" erase-buffer nntp-end-of-line ...] 6) ((nntp-authinfo-rejected (byte-code "\301\302\bA\"\207" [err signal nntp-authinfo-rejected] 3)) (error (byte-code "\302\303\304\b	$\207" [address err nnheader-report nntp "Couldn't open connection to %s: %s"] 5)) (quit (byte-code "\300\301!\210\302\303\304\"\210\304\207" [message "Quit retrieving data from nntp" signal quit nil] 3))) nnheader-report nntp "Couldn't open connection to %s" nntp-accept-response looking-at regexp-quote 1 point-at-bol "Couldn't open connection to %s." zerop 50 re-search-forward "\n\\.?\n" "^\\.?\n" "[34]" search-forward "\n" 20 nnheader-message 6 "NNTP: Receiving headers... %d%%" ...] 8])
  byte-code("\306\b	\n#\210\v\205\0\307\v\310\311#\312\216\310\313\314\217*\310\207" [-group -server -connectionless nntp-connection-timeout -timer nntp-with-open-group-internal nntp-possibly-change-group run-at-time nil #[nil "\b\n	;\203\0\306	!\202\0	\307\211\x1c\x1d\2037\211A\242\211\2037	\v\211A@\262=\203\0\v@\307\211\204\0\f\205S\310\f!\311>\203G\f\202S\312\313\f!!\210\314\v\n\"\307-\211\x0f\205^\313\x0f!\211\x10\205q\315\x10!\316=\205q\312\x10!*\207" [nntp-server-buffer buffer nntp-connection-alist entry process alist get-buffer nil process-status (open run) nntp-kill-buffer process-buffer delq buffer-size 0 -process -buffer] 5] ((byte-code "\b\203\b\301\b!\210\301\207" [-timer nnheader-cancel-timer] 2)) (funcall -bodyfun) ((quit (byte-code "\b\204\a\301 \210\302\303\304\"\207" [debug-on-quit nntp-close-server signal quit nil] 3)))] 4)
  nntp-with-open-group-function("gmane.emacs.devel" "news.gmane.org" nil #[nil "r\306\b!q\210\307 \210	\204\0\n\204\0\310\v\f\"\203\0\311\202\243\vG\v\312\211e\306\b!\313\314\x1e89:;<\x1e=\v\211A\242\211\203h\314\315\247\203L\316!\202MD>?@\204`\x0eA\204`\317\b!\210\320\321>\322#B\bCDC;\203z\323C!\202|\x0eC\314\211EFCGG\203\261\x0eG\211AG\242\211E\203\261\x0eCE\211A@\262=\203\206\x0eE@F\314\211G\204\213\x0eF\205\324\324F!\325>\203\304\x0eF\202\324\326\327F!!\210\330ED\"D\314-\211F\205\337\327F!\211C\205\354rCq\210`)HF\203\334\x0eBIJ\b?@\314KL?CMNBCCDC;\203 \323C!\202\"\x0eC\314\211EFCGG\203W\x0eG\211AG\242\211E\203W\x0eCE\211A@\262=\203,\x0eE@F\314\211G\2041\x0eF\205z\324F!\325>\203j\x0eF\202z\326\327F!!\210\330ED\"D\314-\206\202\331C!\211F\203\240\x0e8\204\231\x0e@\204\231\317\327F!!\210\332\333\334\217\202\246\335\336\337N#.\b?\204\342\x0eO\204\342\x0ePQ>\204\342\340 \210rCq\210Hb\210\341\342B!!\203\330\x0eH\343y\210\344 |\210)\202\342\335\336\345I#.\210<T<\v\203\370\346<R\246!\2035\340 \2109q\210:b\210\314f\347=\203\x02\350\351\314\313#\2037\341\352!\203,\343y\210\202\x02\341\353!\2037\354\355\314\313#\2037`:;T;\202\x02;<W\2035\x0eS\247\203b\x0e=SV\203b\346;\356\246!\203b\357\360\361;\362_=\245#\210\340 \210\202\373\x0eS\247\203{\x0e=SV\203{\357\360\363\"\210\364 \210\365 \210ed{Tr\bq\210\307 \210U\203\231\366T!\202\233\x0eTc\210eb\210.\n\367)\207" [nntp-server-buffer gnus-nov-is-evil nntp-nov-is-evil articles fetch-old article nntp-find-connection-buffer erase-buffer nntp-retrieve-headers-with-xover nov 0 t nil "HEAD" int-to-string nntp-erase-buffer mapconcat identity " " get-buffer process-status (open run) nntp-kill-buffer process-buffer delq nntp-open-connection err (byte-code "\b\203*	\b\x19\306 \n\203\0\307\n!\210\310	\n1P\"\210\311	!\312>\206(\313\314!*\2102\315=\2033\316\2072\203K\x0e3\203K\317	3452%\210\316\2073\203Q	345\3206543r\321	!q\210eb\210`f\322>\203w\323\324!\203\271\311	!\325>\203\271\323\326!\203\214\327	!\210\202\257\323\330!\203\242\331\332\333\334\335N#\210\336\334\320\"\210\202\257\323\337!\203\257`\340y\210`|\210\341	!\210eb\210\202j\323\342!\203\306\343 \210\320\202F\311	!\344>\204\324\313\314!\202Fdb\210e\32078\34538\316#\204\370\341	!\210d\346Ze]8db\210\202\335\347\350!7r9q\2107:+\3515?!\2106\204Er4q\210db\210;\203/r\321	!q\210\352\353 !)c\210\2027\354\321	!\320\211#\210<\203D\320<\355\356\357\"\210)\3166\204N\360 \210.\207\316\207" [command process string nntp-last-command-time nntp-last-command nntp-record-commands current-time nntp-record-command process-send-string process-status (open run) nntp-report "Server closed connection" ignore t nntp-async-wait nil process-buffer (50 51 52 53) looking-at "48[02]" (open run) "480" nntp-handle-authinfo "482" nnheader-report nntp "%s" nntp-authinfo-rejected error-message signal "^.*\n" 1 nntp-accept-process-output "[45]" nntp-snarf-error-message (open run) re-search-backward 1000 match-string 0 nntp-decode-text mm-string-to-multibyte buffer-string insert-buffer-substring nnheader-message 5 "" erase-buffer nntp-end-of-line ...] 6) ((nntp-authinfo-rejected (byte-code "\301\302\bA\"\207" [err signal nntp-authinfo-rejected] 3)) (error (byte-code "\302\303\304\b	$\207" [address err nnheader-report nntp "Couldn't open connection to %s: %s"] 5)) (quit (byte-code "\300\301!\210\302\303\304\"\210\304\207" [message "Quit retrieving data from nntp" signal quit nil] 3))) nnheader-report nntp "Couldn't open connection to %s" nntp-accept-response looking-at regexp-quote 1 point-at-bol "Couldn't open connection to %s." zerop 50 re-search-forward "\n\\.?\n" "^\\.?\n" "[34]" search-forward "\n" 20 nnheader-message 6 "NNTP: Receiving headers... %d%%" ...] 8])
  nntp-retrieve-headers((189569 189570 189571 189572 189573 189574 189575 189576 189577 189578 189579 189580 189581 189582 189583 189584 189585 189586 189587 189588 189589 189590 189591 189592 189593 189594 189595 189596 189597 189598 189599 189600 189601 189602 189603 189604 189605 189606 189607 189608 189609 189610 189611 189612 189613 189614 189615 189616 189617 189618 ...) "gmane.emacs.devel" "news.gmane.org" nil)
  gnus-retrieve-headers((189569 189570 189571 189572 189573 189574 189575 189576 189577 189578 189579 189580 189581 189582 189583 189584 189585 189586 189587 189588 189589 189590 189591 189592 189593 189594 189595 189596 189597 189598 189599 189600 189601 189602 189603 189604 189605 189606 189607 189608 189609 189610 189611 189612 189613 189614 189615 189616 189617 189618 ...) "nntp+news.gmane.org:gmane.emacs.devel")
  gnus-agent-retrieve-headers((132743 132791 132797 132799 132802 132804 132805 132818 132822 132843 132854 132857 132858 132859 132927 133024 133067 133068 138659 138668 138682 138684 138685 138686 138687 138688 138693 138694 138697 138728 138729 138741 138743 138746 138747 138751 138752 138756 138760 138764 138780 138786 138945 138946 138947 138948 138952 138954 138962 138977 ...) "nntp+news.gmane.org:gmane.emacs.devel" nil)
  gnus-retrieve-headers((132743 132791 132797 132799 132802 132804 132805 132818 132822 132843 132854 132857 132858 132859 132927 133024 133067 133068 138659 138668 138682 138684 138685 138686 138687 138688 138693 138694 138697 138728 138729 138741 138743 138746 138747 138751 138752 138756 138760 138764 138780 138786 138945 138946 138947 138948 138952 138954 138962 138977 ...) "nntp+news.gmane.org:gmane.emacs.devel" nil)
  gnus-cache-retrieve-headers((132743 132791 132797 132799 132802 132804 132805 132818 132822 132843 132854 132857 132858 132859 132927 133024 133067 133068 138659 138668 138682 138684 138685 138686 138687 138688 138693 138694 138697 138728 138729 138741 138743 138746 138747 138751 138752 138756 138760 138764 138780 138786 138945 138946 138947 138948 138952 138954 138962 138977 ...) "nntp+news.gmane.org:gmane.emacs.devel" nil)
  gnus-retrieve-headers((132743 132791 132797 132799 132802 132804 132805 132818 132822 132843 132854 132857 132858 132859 132927 133024 133067 133068 138659 138668 138682 138684 138685 138686 138687 138688 138693 138694 138697 138728 138729 138741 138743 138746 138747 138751 138752 138756 138760 138764 138780 138786 138945 138946 138947 138948 138952 138954 138962 138977 ...) "nntp+news.gmane.org:gmane.emacs.devel" nil)
  gnus-fetch-headers((132743 132791 132797 132799 132802 132804 132805 132818 132822 132843 132854 132857 132858 132859 132927 133024 133067 133068 138659 138668 138682 138684 138685 138686 138687 138688 138693 138694 138697 138728 138729 138741 138743 138746 138747 138751 138752 138756 138760 138764 138780 138786 138945 138946 138947 138948 138952 138954 138962 138977 ...))
  gnus-select-newsgroup("nntp+news.gmane.org:gmane.emacs.devel" nil nil)
  gnus-summary-read-group-1("nntp+news.gmane.org:gmane.emacs.devel" nil t nil nil nil)
  gnus-summary-read-group("nntp+news.gmane.org:gmane.emacs.devel" nil t nil nil nil nil)
  gnus-group-read-group(nil t)
  gnus-group-select-group(nil)
  gnus-topic-select-group(nil)
  call-interactively(gnus-topic-select-group nil nil)
  command-execute(gnus-topic-select-group)




  reply	other threads:[~2015-09-07 19:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-16  7:06 Steinar Bang
2015-01-28  6:29 ` Lars Ingebrigtsen
2015-01-28 10:46   ` Steinar Bang
2015-09-07 19:51     ` Steinar Bang [this message]
2015-09-07 20:50       ` Andreas Schwab
2015-09-08 10:40         ` Steinar Bang
2015-09-08 17:47           ` Andreas Schwab
2015-09-10 20:24             ` Steinar Bang
2015-09-10 21:33               ` Andreas Schwab
2015-09-11  7:28                 ` Steinar Bang
2015-09-11  8:42                   ` Andreas Schwab
2015-09-11 10:54                     ` Steinar Bang
2015-09-11 15:20                       ` Eric Abrahamsen
2015-09-12  7:14                       ` Steinar Bang
2015-11-07  9:27                       ` Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9n6gg90.fsf@dod.no \
    --to=sb@dod.no \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).