From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79396 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: how to debug Date: Thu, 07 Jul 2011 08:52:33 +0200 Message-ID: <878vsa60r2.fsf@member.fsf.org> References: <87oc166h9p.fsf@yun.yagibdah.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310021603 3738 80.91.229.12 (7 Jul 2011 06:53:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2011 06:53:23 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27692@lists.math.uh.edu Thu Jul 07 08:53:19 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 1QeiSc-0003EC-Ms for ding-account@gmane.org; Thu, 07 Jul 2011 08:53:19 +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 1QeiS1-0006TZ-Rg; Thu, 07 Jul 2011 01:52:41 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QeiRy-0006TI-Ef for ding@lists.math.uh.edu; Thu, 07 Jul 2011 01:52:38 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QeiRw-0003AC-Lu for ding@lists.math.uh.edu; Thu, 07 Jul 2011 01:52:38 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QeiRu-0005Xv-Vi for ding@gnus.org; Thu, 07 Jul 2011 08:52:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 821301A406F for ; Thu, 7 Jul 2011 08:52:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CUnuFBI5VDbS for ; Thu, 7 Jul 2011 08:52:34 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 2CD641A4061 for ; Thu, 7 Jul 2011 08:52:33 +0200 (CEST) In-Reply-To: <87oc166h9p.fsf@yun.yagibdah.de> (lee@yun.yagibdah.de's message of "Thu, 07 Jul 2011 02:55:46 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79396 Archived-At: 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. > Is there a way to find out what gnus or emacs are doing when emacs is > busy? I've already "(setq debug-on-error t)" in ~/.emacs. A bug > report like this probably isn't useful at all, so it would be nice if > I could provide some more information. Set debug-on-quit instead. Then you are put into the debugger on C-g and you can figure out what function was executing when the freeze occured. > As to the TLS error: I'm not aware of using TLS. I have an ~/.authinfo > file for one of the news servers, though. I think Gnus uses TLS by default if the server supports it. Bye, Tassilo -- Sent from my Emacs