From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79403 Path: news.gmane.org!not-for-mail From: Leonidas Tsampros Newsgroups: gmane.emacs.gnus.general Subject: Re: how to debug Date: Thu, 07 Jul 2011 11:57:59 +0300 Message-ID: <87vcvexsln.fsf@kepler.lan> References: <87oc166h9p.fsf@yun.yagibdah.de> <878vsa60r2.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310036535 26857 80.91.229.12 (7 Jul 2011 11:02:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2011 11:02:15 +0000 (UTC) Cc: ding@gnus.org To: Tassilo Horn Original-X-From: ding-owner+M27699@lists.math.uh.edu Thu Jul 07 13:02:11 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QemLS-0003Zt-Qu for ding-account@gmane.org; Thu, 07 Jul 2011 13:02:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QemKu-0007jU-Tm; Thu, 07 Jul 2011 06:01:36 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QemKs-0007jB-0Z for ding@lists.math.uh.edu; Thu, 07 Jul 2011 06:01:34 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QemKg-0008Qy-0I for ding@lists.math.uh.edu; Thu, 07 Jul 2011 06:01:33 -0500 Original-Received: from mail-fx0-f42.google.com ([209.85.161.42]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QemKe-0003Le-8h for ding@gnus.org; Thu, 07 Jul 2011 13:01:20 +0200 Original-Received: by fxe23 with SMTP id 23so941419fxe.15 for ; Thu, 07 Jul 2011 04:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:lines:references:user-agent :message-id:mime-version:content-type; bh=xn1wG+W/W1+EnJEEih8TDJOUSb2ttUyaEmd6Jd5gBJY=; b=fom1vYCbIAU7wrQuX/497KHgWb3Gw8zPfxY6MiWFmEuqT2X0bJONDUycUq4n7icFMY a/dcH40bE2m9llxIuP2zc+/PUWEnYdghC1rtbe1lwU9mEpYOkowrefn+qPD1pL5cImUB Bd5jEgVrxu/3+wpomq/J/PLcNxtrGnhN9L4mw= Original-Received: by 10.223.92.146 with SMTP id r18mr1010651fam.135.1310036463973; Thu, 07 Jul 2011 04:01:03 -0700 (PDT) Original-Received: from kepler.lan ([195.74.237.94]) by mx.google.com with ESMTPS id b3sm6642536fao.44.2011.07.07.04.01.00 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Jul 2011 04:01:03 -0700 (PDT) Original-Lines: 92 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79403 Archived-At: Tassilo Horn writes: > lee writes: > > Hi! > >> with emacs 24 from tonight, gnus sometimes keeps emacs busy >> indefinitely when checking for new news (pressing `g' in the group >> buffer). I'm getting messages like: >> >> ,---- [ *Messages* ] >> | Checking new news... >> | Reading active file from diary via nndiary... >> | Opening nndiary server on diary...done >> | Reading incoming mail from file... >> | nndiary: Reading incoming mail (no new mail)...done >> | Reading active file from diary via nndiary...done >> | gnutls.c: [0] (Emacs) fatal error: A TLS packet with unexpected length was received. > > I get that error twice a day, too. But it doesn't seem to have any bad > effect... > >> | Reading active file from yun via nnml... >> | Reading incoming mail from file... [2 times] >> | Reading incoming mail from maildir... >> | Wrote /home/lee/Mail/mail/lists/mythtv-users/9043 >> | Wrote /home/lee/Mail/mail/lists/mythtv-users/9044 >> | Wrote /home/lee/Mail/mail/lists/debian-user/96166 >> | [...] >> | Wrote /home/lee/Mail/mail/lists/debian-user/96168 >> | nnml: Reading incoming mail (21 new)...done >> | Reading active file from yun via nnml...done >> | Quit >> `---- >> >> When I press Ctrl-g, emacs isn't busy anymore. I can even check for >> news again, and it eventually works fine. > > I can observe a similar behavior since month. Usually, the last output > is "nnimap read 78k" and then it stalls until I hit C-g. After that, > all works fine again. I can confirm this too! Using yesterday's emacs 24, and a pop3 mail source I can confirm the exact same behaviour. It randomly stays stuck while reading mail from the pop3 server. Pressing C-g and g to get the news again eventually works fine with no bad side effects. Setting debug-on-quit to t, I caught this but it's probably not enough: Debugger entered--Lisp error: (quit) pop3-accept-process-output(#) pop3-wait-for-messages(# 22 175976) pop3-send-streaming-command(# "RETR" 22 175976) pop3-movemail("~/.emacs-mail-crash-box") mail-source-fetch-pop((pop :server "mail.popserver.com" :user "ltsampros" :password "password") #[(file orig-file) "\303\304\305 \206\n\232?\205\306\n\307\"\310%\207" [file in-group orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (pop :server "mail.popserver.com" :user "ltsampros" :password "password") nnml-active-number] 7]) mail-source-fetch((pop :server "mail.popserver.com" :user "ltsampros" :password "password") #[(file orig-file) "\303\304\305 \206\n\232?\205\306\n\307\"\310%\207" [file in-group orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (pop :server "mail.popserver.com" :user "ltsampros" :password "password") nnml-active-number] 7]) nnmail-get-new-mail-1(nnml nnml-save-incremental-nov "~/Mail.Gnus" nil nil nil) nnmail-get-new-mail(nnml nnml-save-incremental-nov "~/Mail.Gnus" nil) nnml-request-scan(nil "") gnus-request-scan(nil (nnml "")) gnus-read-active-file-1((nnml "") nil) gnus-read-active-for-groups((nnml "") (many-many-many data here) gnus-get-unread-articles(nil) gnus-setup-news(nil nil nil) byte-code("\204 \204\306 \210\202L\307\310!\210\311\n!\f\204\203!\312 \210\313\314#\210\307\315!\210\2036\316\317\320\"\210\321 \210\322!\210\323 \210\324\325!\210\326 \210\307\327!\210\314\207" [dont-connect did-connect gnus-startup-file gnus-current-startup-file gnus-slave gnus-use-dribble-file gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file gnus-setup-news nil gnus-setup-news-hook gnus-request-create-group "queue" (nndraft "") gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-group gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook level gnus-agent] 4) gnus-1(nil nil nil) gnus(nil) call-interactively(gnus t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) Best Regards, Leonidas Tsampros [...]