From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77252 Path: news.gmane.org!not-for-mail From: egallego@babel.ls.fi.upm.es (Emilio =?utf-8?Q?Jes=C3=BAs?= Gallego Arias) Newsgroups: gmane.emacs.gnus.general Subject: Re: How to debug hangs during message fetching Date: Thu, 24 Feb 2011 03:18:30 +0100 Organization: TKE Message-ID: <87fwredvk9.fsf@babel.ls.fi.upm.es> References: <87ipww6pzc.fsf@member.fsf.org> <87ei7k9ii7.fsf@gnus.org> <87aai86ov2.fsf@member.fsf.org> <87mxm8838o.fsf@gnus.org> <8762sw6nuc.fsf@member.fsf.org> <87fws0827j.fsf@gnus.org> <87oc6o588z.fsf@member.fsf.org> <87hbcg57e5.fsf@member.fsf.org> <87sjvre1a5.fsf@gnus.org> <87oc6fvunf.fsf@member.fsf.org> <87d3mtng18.fsf@babel.ls.fi.upm.es> <87vd0jpr27.fsf@gnus.org> <87pqqr8vyk.fsf@babel.ls.fi.upm.es> <87ipwjpqhf.fsf@gnus.org> <87fwrnfqtl.fsf@babel.ls.fi.upm.es> <87tyg28bp0.fsf@gnus.org> <87zkpnv6hl.fsf@babel.ls.fi.upm.es> <874o7v3yw9.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298513950 7067 80.91.229.12 (24 Feb 2011 02:19:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 02:19:10 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25581@lists.math.uh.edu Thu Feb 24 03:19:06 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 1PsQnJ-0006Km-10 for ding-account@gmane.org; Thu, 24 Feb 2011 03:19:05 +0100 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 1PsQn5-00082H-LA; Wed, 23 Feb 2011 20:18:51 -0600 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 1PsQn3-00081z-O7 for ding@lists.math.uh.edu; Wed, 23 Feb 2011 20:18:49 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PsQmz-000544-Dm for ding@lists.math.uh.edu; Wed, 23 Feb 2011 20:18:49 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PsQmy-0005ma-N2 for ding@gnus.org; Thu, 24 Feb 2011 03:18:44 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsQmy-00068S-C9 for ding@gnus.org; Thu, 24 Feb 2011 03:18:44 +0100 Original-Received: from 151.red-79-146-195.dynamicip.rima-tde.net ([79.146.195.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Feb 2011 03:18:44 +0100 Original-Received: from egallego by 151.red-79-146-195.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Feb 2011 03:18:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 151.red-79-146-195.dynamicip.rima-tde.net X-Url: https://babel.ls.fi.upm.es/~egallego/ User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:zX6tsGmOxuQ6jZIXQFJEMII+LGc= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77252 Archived-At: Lars Ingebrigtsen writes: > Ah, right. I think I (sort of) see why this may be happening, and it > may be fixed by some recent changes, but it may not be. > > If this still isn't working for you, what are the values of your > gnus-select-method and gnus-secondary-select-methods variables? No luck :( If at least I could debug this, but no luck ATM. I added some debug to the culprit code and got this: > (with-current-buffer nntp-server-buffer > (message "DEBUG: going to gnus-read-active-file-1 %s" method) > (gnus-read-active-file-1 method nil)))) ,---- | nnimap babel splitting mail... | DEBUG: going to gnus-read-active-file-1 (nnimap babel (nnimap-address babel.ls.fi.upm.es) (nnimap-stream ssl)) | Reading active file from babel via nnimap... | nnimap babel splitting mail... | Reading active file from babel via nnimap...done | nnimap read 25k [224 times] `---- Note it seems to do two times the same thing. Of course if I disable the code the hang seems to stop. How could I check that the are no duplicate methods? Note the confusion about methods gnus has because of archive methods, that could have something to do with this problem. Maybe we should fix the confusion first and then see what happens. (setq gnus-save-newsrc-file nil) (setq gnus-read-newsrc-file nil) (setq gnus-save-killed-list t) (setq gnus-check-new-newsgroups 'ask-server) (setq gnus-use-dribble-file nil) (setq gnus-select-method '(nntp "news.gmane.org" (nntp-address "news.gmane.org"))) (setq gnus-secondary-select-methods '((nnimap "babel" (nnimap-address "babel.ls.fi.upm.es") (nnimap-stream ssl)))) (setq gnus-message-archive-method '(nnimap "babel")) (setq gnus-message-archive-group "nnimap+babel:archive.mail")