GNU bug report logs - #12910
Gnus in stuck state with gnus-demon

Previous Next

Package: gnus;

Reported by: Haider Rizvi <harizvi <at> gmail.com>

Date: Fri, 16 Nov 2012 19:19:02 UTC

Severity: normal

Found in version 5.130006

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12910 in the body.
You can then email your comments to 12910 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#12910; Package gnus. (Fri, 16 Nov 2012 19:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Haider Rizvi <harizvi <at> gmail.com>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Fri, 16 Nov 2012 19:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Haider Rizvi <harizvi <at> gmail.com>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: Gnus in stuck state with gnus-demon
Date: Fri, 16 Nov 2012 14:15:54 -0500
For my gnus setup, I have various nntp servers, nnimap, and nnrss servers. 

I have set the following for fetching mail and news automatically: 
(gnus-demon-add-handler 'gnus-demon-scan-news 30 1)
(gnus-demon-add-handler 'gnus-demon-scan-mail 31 t)
(gnus-demon-init)

Quite often, I see gnus stuck, the last message being about nndraft. I
can break out of it by pressing ctrl-g. It doesn't seem to be just gnus
getting msgs, I have been patient and waited for a while with no
movement.

After breaking, in *Messages* I see the following:

......
nnimap read 82k from imap.gmail.com (initial sync of 3 groups; please wait) [2 times]
Reading active file from archive via nnfolder...done
Reading active file via nndraft...done


Ma Gnus v0.6
GNU Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
 of 2012-08-27 on bob.porkrind.org


Regards, 
-- 
Haider




Information forwarded to bugs <at> gnus.org:
bug#12910; Package gnus. (Tue, 25 Dec 2012 15:38:02 GMT) Full text and rfc822 format available.

Message #8 received at 12910 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Haider Rizvi <harizvi <at> gmail.com>
Cc: 12910 <at> debbugs.gnu.org
Subject: Re: bug#12910: Gnus in stuck state with gnus-demon
Date: Tue, 25 Dec 2012 16:36:49 +0100
Haider Rizvi <harizvi <at> gmail.com> writes:

> For my gnus setup, I have various nntp servers, nnimap, and nnrss servers. 
>
> I have set the following for fetching mail and news automatically: 
> (gnus-demon-add-handler 'gnus-demon-scan-news 30 1)
> (gnus-demon-add-handler 'gnus-demon-scan-mail 31 t)
> (gnus-demon-init)
>
> Quite often, I see gnus stuck, the last message being about nndraft. I
> can break out of it by pressing ctrl-g. It doesn't seem to be just gnus
> getting msgs, I have been patient and waited for a while with no
> movement.

Set `debug-on-quit' and post the backtrace you get when you `C-g' when
it hangs.

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




Information forwarded to bugs <at> gnus.org:
bug#12910; Package gnus. (Sun, 24 Feb 2013 17:35:01 GMT) Full text and rfc822 format available.

Message #11 received at 12910 <at> debbugs.gnu.org (full text, mbox):

From: Haider Rizvi <harizvi <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 12910 <at> debbugs.gnu.org
Subject: Re: bug#12910: Gnus in stuck state with gnus-demon
Date: Sun, 24 Feb 2013 12:32:53 -0500
[Message part 1 (text/plain, inline)]
Sorry, I had forgotten about posting this info. Here is an example of what I see when I break, this was showing stuck when starting up gnus normally. 


Debugger entered--Lisp error: (quit)
  signal(quit nil)
  byte-code("\204\301 \210\302\303\304\"\207" [debug-on-quit nntp-close-server signal quit nil] 3)
  byte-code("\306	\n#\210\205\307\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 "\n	;\203\306	!\202	\307\211
\2038
\211A@\211\2038	\211A@)=\203@\307\211\204\f\205T\310\f!\311>\203H\f\202T\312\313\f!!\210\314\n\"\307-\211\205_\313!\211\205r\315!\316=\205r\312!*\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 x -process -buffer] 5] ((byte-code "\203\301!\210\301\207" [-timer nnheader-cancel-timer] 2)) (funcall -bodyfun) ((quit (byte-code "\204\301 \210\302\303\304\"\207" [debug-on-quit nntp-close-server signal quit nil] 3)))] 4)
  nntp-with-open-group-function(nil "news.us.usenet-news.net" nil #[nil "\306!\307	@@	@\"\310\311r
q\210\312)
\205\347\205\347r
q\210
\211\2052\313\314!!)\203_\nb\210\315\203C\316\202D\317\312\320#\203PT\2029`W\203_\321 \210\202%\322 \210\204\225ed{rq\210\323 \210\203\324!\202\201c\210eb\210*rq\210\325\f\320#)\202\346eb\210\315\326\312\320#\203\253\310\224\311y\210`|\210\202\230ed{rq\210\323 \210\203\303\324!\202\305c\210eb\210*rq\210\327\330	@8:\203\337\330	@8\202\340\f\312\320$)),\207" [nntp-server-buffer infos last-point received method buf nntp-find-connection-buffer gnus-find-method-for-group 0 1 nil buffer-live-p get-buffer re-search-forward "^[.]" "^[0-9]" t nntp-accept-response nnheader-strip-cr erase-buffer mm-string-to-multibyte gnus-groups-to-gnus-format "^[.2-5]" gnus-active-to-gnus-format 4 nntp-retrieval-in-progress count buffer nntp-server-list-active-group string enable-multibyte-characters gnus-active-hashtb] 6])
  nntp-finish-retrieve-group-infos("news.us.usenet-news.net" (("nntp+news.us.usenet-news.net:comp.databases.ibm-db2" 3 ((1 . 122796)) ((seen (122376 . 122542) (122544 . 122570) (122572 . 122587) (122589 . 122796)) (download 122556 122739)) (nntp "news.us.usenet-news.net")) ("nntp+news.us.usenet-news.net:gnu.emacs.gnus" 3 ((1 . 64861)) ((seen (64515 . 64577) (64580 . 64581) (64584 . 64644) (64646 . 64667) (64669 . 64687) (64691 . 64693) (64695 . 64817) (64819 . 64837) (64847 . 64861)) (tick 64663 64714 64857)) (nntp "news.us.usenet-news.net")) ("nntp+news.us.usenet-news.net:gnu.emacs.help" 3 ((1 . 145351)) ((seen (142668 . 142693) (142695 . 142698) (142701 . 142710) (142712 . 142716) (142718 . 142780) (142782 . 142789) (142791 . 142809) (142811 . 142813) (142815 . 142822) (142824 . 142828) (142831 . 142841) (142843 . 142874) (142876 . 142898) (142901 . 142903) (142905 . 142906) (142908 . 142909) (142911 . 142979) (142981 . 143072) (143074 . 143146) (143148 . 143251) (143253 . 143254) 143256 (143258 . 143294) (143300 . 143301) (143305 . 143323) (143325 . 143351) (143353 . 143408) (143410 . 143424) (143426 . 143490) (143492 . 143493) (143499 . 143500) 143502 (143509 . 143609) (143611 . 143612) (143614 . 143678) (143680 . 143985) (143987 . 144002) (144004 . 144053) (144096 . 144115) (144141 . 144203) (144205 . 144407) (144410 . 144620) (144699 . 144881) (144883 . 145107) (145109 . 145228) (145230 . 145351)) (download (143547 . 143548) 143628 144418 145267) (expire 143875)) (nntp "news.us.usenet-news.net"))) 3)
  gnus-finish-retrieve-group-infos((nntp "news.us.usenet-news.net") (("nntp+news.us.usenet-news.net:comp.databases.ibm-db2" 3 ((1 . 122796)) ((seen (122376 . 122542) (122544 . 122570) (122572 . 122587) (122589 . 122796)) (download 122556 122739)) (nntp "news.us.usenet-news.net")) ("nntp+news.us.usenet-news.net:gnu.emacs.gnus" 3 ((1 . 64861)) ((seen (64515 . 64577) (64580 . 64581) (64584 . 64644) (64646 . 64667) (64669 . 64687) (64691 . 64693) (64695 . 64817) (64819 . 64837) (64847 . 64861)) (tick 64663 64714 64857)) (nntp "news.us.usenet-news.net")) ("nntp+news.us.usenet-news.net:gnu.emacs.help" 3 ((1 . 145351)) ((seen (142668 . 142693) (142695 . 142698) (142701 . 142710) (142712 . 142716) (142718 . 142780) (142782 . 142789) (142791 . 142809) (142811 . 142813) (142815 . 142822) (142824 . 142828) (142831 . 142841) (142843 . 142874) (142876 . 142898) (142901 . 142903) (142905 . 142906) (142908 . 142909) (142911 . 142979) (142981 . 143072) (143074 . 143146) (143148 . 143251) (143253 . 143254) 143256 (143258 . 143294) (143300 . 143301) (143305 . 143323) (143325 . 143351) (143353 . 143408) (143410 . 143424) (143426 . 143490) (143492 . 143493) (143499 . 143500) 143502 (143509 . 143609) (143611 . 143612) (143614 . 143678) (143680 . 143985) (143987 . 144002) (144004 . 144053) (144096 . 144115) (144141 . 144203) (144205 . 144407) (144410 . 144620) (144699 . 144881) (144883 . 145107) (145109 . 145228) (145230 . 145351)) (download (143547 . 143548) 143628 144418 145267) (expire 143875)) (nntp "news.us.usenet-news.net"))) 3)
  gnus-read-active-for-groups((nntp "news.us.usenet-news.net") (("nntp+news.us.usenet-news.net:comp.databases.ibm-db2" 3 ((1 . 122796)) ((seen (122376 . 122542) (122544 . 122570) (122572 . 122587) (122589 . 122796)) (download 122556 122739)) (nntp "news.us.usenet-news.net")) ("nntp+news.us.usenet-news.net:gnu.emacs.gnus" 3 ((1 . 64861)) ((seen (64515 . 64577) (64580 . 64581) (64584 . 64644) (64646 . 64667) (64669 . 64687) (64691 . 64693) (64695 . 64817) (64819 . 64837) (64847 . 64861)) (tick 64663 64714 64857)) (nntp "news.us.usenet-news.net")) ("nntp+news.us.usenet-news.net:gnu.emacs.help" 3 ((1 . 145351)) ((seen (142668 . 142693) (142695 . 142698) (142701 . 142710) (142712 . 142716) (142718 . 142780) (142782 . 142789) (142791 . 142809) (142811 . 142813) (142815 . 142822) (142824 . 142828) (142831 . 142841) (142843 . 142874) (142876 . 142898) (142901 . 142903) (142905 . 142906) (142908 . 142909) (142911 . 142979) (142981 . 143072) (143074 . 143146) (143148 . 143251) (143253 . 143254) 143256 (143258 . 143294) (143300 . 143301) (143305 . 143323) (143325 . 143351) (143353 . 143408) (143410 . 143424) (143426 . 143490) (143492 . 143493) (143499 . 143500) 143502 (143509 . 143609) (143611 . 143612) (143614 . 143678) (143680 . 143985) (143987 . 144002) (144004 . 144053) (144096 . 144115) (144141 . 144203) (144205 . 144407) (144410 . 144620) (144699 . 144881) (144883 . 145107) (145109 . 145228) (145230 . 145351)) (download (143547 . 143548) 143628 144418 145267) (expire 143875)) (nntp "news.us.usenet-news.net"))) 3)
  gnus-get-unread-articles(nil 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)


Regards, 
-- 
Haider



On 2012-12-25, at 10:36 AM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Haider Rizvi <harizvi <at> gmail.com> writes:
> 
>> For my gnus setup, I have various nntp servers, nnimap, and nnrss servers. 
>> 
>> I have set the following for fetching mail and news automatically: 
>> (gnus-demon-add-handler 'gnus-demon-scan-news 30 1)
>> (gnus-demon-add-handler 'gnus-demon-scan-mail 31 t)
>> (gnus-demon-init)
>> 
>> Quite often, I see gnus stuck, the last message being about nndraft. I
>> can break out of it by pressing ctrl-g. It doesn't seem to be just gnus
>> getting msgs, I have been patient and waited for a while with no
>> movement.
> 
> Set `debug-on-quit' and post the backtrace you get when you `C-g' when
> it hangs.
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen

[Message part 2 (text/html, inline)]

Information forwarded to bugs <at> gnus.org:
bug#12910; Package gnus. (Sat, 06 Jul 2013 17:47:02 GMT) Full text and rfc822 format available.

Message #14 received at 12910 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Haider Rizvi <harizvi <at> gmail.com>
Cc: 12910 <at> debbugs.gnu.org
Subject: Re: bug#12910: Gnus in stuck state with gnus-demon
Date: Sat, 06 Jul 2013 19:46:02 +0200
Haider Rizvi <harizvi <at> gmail.com> writes:

> nntp-finish-retrieve-group-infos("news.us.usenet-news.net"

So Gnus is hanging waiting for data from the NNTP server.  I could see
that happening if you're issuing interactive commands and the daemon
triggering at the same time.  There's code in there that's supposed to
make that impossible, but perhaps that code is buggy.

Have you been able to determine what triggers this bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bugs <at> gnus.org:
bug#12910; Package gnus. (Thu, 30 Jan 2014 23:43:02 GMT) Full text and rfc822 format available.

Message #17 received at 12910 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Haider Rizvi <harizvi <at> gmail.com>
Cc: 12910 <at> debbugs.gnu.org
Subject: Re: bug#12910: Gnus in stuck state with gnus-demon
Date: Thu, 30 Jan 2014 15:41:47 -0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Haider Rizvi <harizvi <at> gmail.com> writes:
>
>> nntp-finish-retrieve-group-infos("news.us.usenet-news.net"
>
> So Gnus is hanging waiting for data from the NNTP server.  I could see
> that happening if you're issuing interactive commands and the daemon
> triggering at the same time.  There's code in there that's supposed to
> make that impossible, but perhaps that code is buggy.
>
> Have you been able to determine what triggers this bug?

More data was requested a year ago, but none were giving, so I'm closing
this bug report.  Please reopen if further progress is made.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bugs <at> gnus.org:
bug#12910; Package gnus. (Thu, 30 Jan 2014 23:44:01 GMT) Full text and rfc822 format available.

Message #20 received at 12910 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Haider Rizvi <harizvi <at> gmail.com>
Cc: 12910 <at> debbugs.gnu.org
Subject: Re: bug#12910: Gnus in stuck state with gnus-demon
Date: Thu, 30 Jan 2014 15:42:34 -0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> So Gnus is hanging waiting for data from the NNTP server.  I could see
> that happening if you're issuing interactive commands and the daemon
> triggering at the same time.  There's code in there that's supposed to
> make that impossible, but perhaps that code is buggy.
>
> Have you been able to determine what triggers this bug?

I mean:

More information was requested three months ago, but none were given, so
I'm closing this bug report.  Please reopen if further progress is made.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug closed, send any further explanations to 12910 <at> debbugs.gnu.org and Haider Rizvi <harizvi <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 30 Jan 2014 23:44:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Feb 2014 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.