From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76803 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: Tue, 15 Feb 2011 22:28:51 +0100 Organization: TKE Message-ID: <87d3mtng18.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297805394 14752 80.91.229.12 (15 Feb 2011 21:29:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2011 21:29:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25142@lists.math.uh.edu Tue Feb 15 22:29:47 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 1PpSSw-0002VW-IL for ding-account@gmane.org; Tue, 15 Feb 2011 22:29:46 +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 1PpSSR-0003DF-T4; Tue, 15 Feb 2011 15:29:15 -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 1PpSSP-0003Cw-Ti for ding@lists.math.uh.edu; Tue, 15 Feb 2011 15:29:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PpSSK-0005c0-Os for ding@lists.math.uh.edu; Tue, 15 Feb 2011 15:29:13 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PpSSK-0001cb-0a for ding@gnus.org; Tue, 15 Feb 2011 22:29:08 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PpSSF-00027K-Pe for ding@gnus.org; Tue, 15 Feb 2011 22:29:03 +0100 Original-Received: from 101.red-79-146-160.dynamicip.rima-tde.net ([79.146.160.101]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Feb 2011 22:29:03 +0100 Original-Received: from egallego by 101.red-79-146-160.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Feb 2011 22:29:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 64 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 101.red-79-146-160.dynamicip.rima-tde.net X-Url: https://babel.ls.fi.upm.es/~egallego/ User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:wyvCj6K2E+cO/NDVOV8HVyUDJSI= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76803 Archived-At: After a pull today I'm getting fairly similar hangs, I'm not using daemon or anything fancy, the hang just happens when starting gnus. I'm using current git master, I've bisected and this commit seems the culprit: $ git bisect bad 894b2ac5b356510bd62b23597abc20badb7b27e8 is the first bad commit commit 894b2ac5b356510bd62b23597abc20badb7b27e8 Author: Lars Ingebrigtsen Date: Thu Feb 3 07:36:03 2011 -0800 Request active files from primary/secondary methods that have no groups (yet). :040000 040000 b309a842a98585ed43219e9e944ffb753506d9f7 4a2ea41728c86e5a3beb3fe8203d5dbb82ee0428 M lisp Backing out that particular change in top of current head fixes the hang for me. This happens in a dovecot server using nnimap. It happens at start and whenever I press g or M-g. Then I need to press C-g in order to get out of the hang. debug-on-quit does not work. Regarding the buffer contents: ,----[ imap log: ] | 22:16:07 679 EXAMINE "#mailman.slam" | 22:16:07 680 EXAMINE "#mailman.mtp-dev" `---- ,----[ *nnimap buffer*: ] | 679 OK [READ-ONLY] Select completed. | * OK [CLOSED] Previous mailbox closed. | * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) | * OK [PERMANENTFLAGS ()] Read-only mailbox. | * 3350 EXISTS | * 0 RECENT | * OK [UIDVALIDITY 1257814760] UIDs valid | * OK [UIDNEXT 3351] Predicted next UID | * OK [HIGHESTMODSEQ 2] Highest | 680 OK [READ-ONLY] Select completed. | | Process *nnimap* terminado (killed) `---- ,----[ relevant gnus config: ] | | (setq gnus-select-method '(nntp "news.gmane.org" | (nntp-address "news.gmane.org"))) | | (setq gnus-secondary-select-methods | '((nnimap "dovecot" | (nnimap-address "dovecot") | (nnimap-stream ssl)))) | | (setq nnimap-inbox "INBOX") | (setq nnimap-split-crosspost t) | (setq nnimap-split-methods 'default) | (setq nnmail-split-methods 'nnmail-split-fancy) | (setq nnmail-split-fancy ...) `---- Regards, Emilio