Gnus development mailing list
 help / color / mirror / Atom feed
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Subject: Back trace and theory for long standing foreign server bug.
Date: 19 Mar 1998 16:32:40 +0100	[thread overview]
Message-ID: <byg1kesnl3.fsf@bolzano.math.ethz.ch> (raw)


Lars,

This has been bugging me since 5.2.x or so. The symptom used to be
empty summary buffers, but now I get a true error.  I guess it is time
to post a backtrace, since I heard you are still puzzeled about it.

The version: 5.6.1
The background: I have a rlogin nttp server , rloginning to host
	rulil0.leidenunv.nl, group made with G m ages ago.
The Paramters:
 (nntp "rulil0.leidenuniv.nl"
      (nntp-open-server-function nntp-open-rlogin)
      (nntp-open-connection-function nntp-open-rlogin))
The action:
   Visiting a subscribed group from this server the first time in this 
   session, causing it to open the server.

The symptoms [note, possible cause below]:

Signaling: (wrong-type-argument number-char-or-marker-p nil)
  gnus-summary-limit-children(([1214 "Re: Stolen Sex video of Pamela Anderson, download it free here !!!!!!" "karel@earthwithoutspam.net (´¯`·.¸¸. Karel .¸¸.·´¯`)" "Sat, 14 Mar 1998 18:49:17 GMT" "<350a99e1.739765@news.worldonline.nl>" "<6edu5e$6o4$2@news.worldonline.nl>" 2104 22 "Xref: highway.leidenuniv.nl nl.markt.overig:14867 nl.markt.vervoer:3920 nl.markt.wonen:4608 nl.media.krant:4136 nl.media.radio:10791 nl.media.tv:17006 nl.misc:93691 nl.motorfiets:51169 nl.muziek:32662 nl.naturisme:1705 nl.newsgroups:28069 nl.o+w.aio:1214 nl.onderwijs.nieuwe-media:141 nl.politiek:49923 "]))
  #<compiled-function (from "gnus-sum.elc") (node) "...(50)" [node nil thread nodes gnus-thread-expunge-below gnus-thread-total-score gnus-expunge-thread gnus-summary-limit-children] 3>(<6edu5e$6o4$2@news\.worldonline\.nl>)
  mapatoms(#<compiled-function (from "gnus-sum.elc") (node) "...(50)" [node nil thread nodes gnus-thread-expunge-below gnus-thread-total-score gnus-expunge-thread gnus-summary-limit-children] 3> [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...])
  gnus-summary-initial-limit(nil)
  gnus-summary-read-group-1("nntp+rulil0.leidenuniv.nl:nl.o+w.aio" nil t nil nil)
  gnus-summary-read-group("nntp+rulil0.leidenuniv.nl:nl.o+w.aio" nil t nil nil)
  gnus-group-read-group(nil t)
  gnus-group-select-group(nil)
  gnus-topic-select-group(nil)
  call-interactively(gnus-topic-select-group)

Further info:

Stepping through with edebug (I tried this around 5.2.x time but then
edebug got confused by the heavy use of cl macros) learned that the
error comes from line 6290 in gnus-summary.el:

 (incf gnus-newsgroup-expunged-tally)

Now if I change the defvar default value for this variable from nil to 
0 then the crash goes away but the first summary buffer comes up empty 
just like I used to have before. Now this is silly since
gnus-newsgroup-expunged-tally is not really used anywhere. However
this is probably a clue.

C-h v gives 
	`gnus-newsgroup-expunged-tally' is a variable declared in Lisp.
	-- loaded from "gnus-sum"

	Value: 0

	This value is specific to the current buffer.

	Default-value: 2

Now there actualy were 2 articles expunged from this particular
newsgroup. Somehow the wrong value was set.

The theory:

For some reason (to do with rlogin servers?) gnus-summary-limit
children (and may be other critical functions are run with the wrong
current buffer.

ciao,

Jan





             reply	other threads:[~1998-03-19 15:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-19 15:32 Jan Vroonhof [this message]
1998-03-19 16:04 ` [patch] " Jan Vroonhof

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=byg1kesnl3.fsf@bolzano.math.ethz.ch \
    --to=vroonhof@math.ethz.ch \
    /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).