Gnus development mailing list
 help / color / mirror / Atom feed
From: Kevin Greiner <kevin.greiner@vignette.com>
Subject: Re: Variable binding depth exceeds max-specpdl-size
Date: Sat, 02 Oct 2004 00:50:06 -0500	[thread overview]
Message-ID: <u4qldzn1t.fsf@vignette.com> (raw)
In-Reply-To: <877jqaukbe.fsf@dod.no>

Steinar Bang <sb@dod.no> writes:

>>>>>> Steinar Bang <sb@dod.no>:
>
>> It's hard to debug into the new nnagent-request-type, though,
>> because I have to step throught a lot of debug stuff, that's
>> probably releated to what made the debugger break there in the first
>> place.
>
> Bug if I do
>  M-x cancel-debug-on-entry RET nnagent-request-type RET
> after ending up in the debugger, I can step into nnagent-request-type
> again, and it looks a lot like infinite recursion.  A bit of stack
> trace: 
>
> * nnagent-request-type("INBOX" nil)
> * funcall(nnagent-request-type "INBOX" nil)
> * (if (not (gnus-check-backend-function ... ...)) (quote unknown) (funcall (gnus-get-function gnus-command-method ...) (gnus-group-real-name group) article))
> * (let ((gnus-plugged t)) (if (not ...) (quote unknown) (funcall ... ... article)))
> * (if (stringp article) nil (let (...) (if ... ... ...)))
> * (unless (stringp article) (let (...) (if ... ... ...)))
> * nnagent-request-type("INBOX" nil)
> * funcall(nnagent-request-type "INBOX" nil)
> * (if (not (gnus-check-backend-function ... ...)) (quote unknown) (funcall (gnus-get-function gnus-command-method ...) (gnus-group-real-name group) article))
> * (let ((gnus-plugged t)) (if (not ...) (quote unknown) (funcall ... ... article)))
> * (if (stringp article) nil (let (...) (if ... ... ...)))
> * (unless (stringp article) (let (...) (if ... ... ...)))
> * nnagent-request-type("INBOX" nil)
> * funcall(nnagent-request-type "INBOX" nil)
> * (if (not (gnus-check-backend-function ... ...)) (quote unknown) (funcall (gnus-get-function gnus-command-method ...) (gnus-group-real-name group) article))
> * (let ((gnus-plugged t)) (if (not ...) (quote unknown) (funcall ... ... article)))
> * (if (stringp article) nil (let (...) (if ... ... ...)))
> * (unless (stringp article) (let (...) (if ... ... ...)))
> * nnagent-request-type("INBOX" nil)

Thanks for the detailed analysis.  It makes this much easier.  I just
checked in a patch to nnagent.  Instead of binding gnus-plugged to t,
it binds gnus-agent to nil.  The gnus-get-function call will now
return the real backend even though it is offline.

Kevin



  reply	other threads:[~2004-10-02  5:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05 18:16 Steinar Bang
2004-07-05 22:29 ` Kevin Greiner
2004-07-06 16:16   ` Steinar Bang
2004-07-06 19:42     ` Steinar Bang
2004-07-08 14:47       ` Kevin Greiner
2004-10-01 20:59         ` Steinar Bang
2004-10-01 22:17           ` Steinar Bang
2004-10-01 22:38             ` Steinar Bang
2004-10-01 22:48               ` Steinar Bang
2004-10-02  5:50                 ` Kevin Greiner [this message]
2004-10-02  6:50                   ` Steinar Bang
2012-12-13  8:30 Rémi Letot
2012-12-14  0:08 ` Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u4qldzn1t.fsf@vignette.com \
    --to=kevin.greiner@vignette.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).