Subject: Re: bug#13302: Series of 'Warning - invalid active: ...' during retrieving mail

From: Tomasz Gajewski <[email-masked]>
Date: Tue, 01 Jan 2013 22:54:13 +0100

Lars Magne Ingebrigtsen <[email-masked]> writes:

> Tomasz Gajewski <[email-masked]> writes:
>
>> Do you have any ideas what I should check?
>
> Try grepping all files you have for the offending .nov data, perhaps?

What does it mean 'offending .nov data'? Should I grep for '.nov'? I
don't know what it is.

>> I have observed that it happens only if I open the summary buffer and
>> leave it without doing anything. If I reply to some mail or delete
>> some mail than after leaving buffer retrieving mail works without
>> those warnings. Does it help somehow?
>
> Huh.  That's even odder...  Perhaps the issue isn't a wrong data file
> somewhere, but something not clearing a buffer before parsing?  But if
> so, it's odd that other users aren't seeing this.
>
> Try applying this patch to gnus-start, recompile, and post the
> backtrace.  That may give us an inkling of what's going on, perhaps.
>
> diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el
> index 8278bb0..18902f9 100644
> --- a/lisp/gnus-start.el
> +++ b/lisp/gnus-start.el
> @@ -2200,6 +2200,7 @@ backend check whether the group actually exists."
>  	   (and group
>  		(symbolp group)
>  		(set group nil))
> +	   (debug)
>  	   (unless ignore-errors
>  	     (gnus-message 3 "Warning - invalid active: %s"
>  			   (buffer-substring

  byte-code("..." [group ignore-errors nil debug gnus-message 3 "Warning - invalid active: %s" point-at-bol point-at-eol] 5)
  gnus-active-to-gnus-format((nnnil "") [0 0 0 0 0 nnml+wp:wp\.scons-dev 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 nnml+wp:wp\.bitc-dev 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] nil t)
  gnus-read-active-file-1((nnnil "") nil)
  gnus-get-unread-articles(nil)
  gnus-group-get-new-news(nil)
  call-interactively(gnus-group-get-new-news nil nil)

I've removed bytecode because I got warnings about zero values in mail.

Strangely on the stack there is a call to 'gnus-active-to-gnus-format'
where in parameters there are two grups mentioned but not the one I
opened and not the one for which mails I get warnings. What do you think
about it?

Regards
Tomasz Gajewski