GNU bug report logs - #9108
wrong type argument

Previous Next

Package: gnus;

Reported by: Dave Abrahams <dave <at> boostpro.com>

Date: Sun, 17 Jul 2011 14:20:02 UTC

Severity: normal

Tags: fixed

Found in version 5.110018

Fixed in version 24.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Dave Abrahams <dave <at> boostpro.com>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 9108 <at> debbugs.gnu.org
Subject: Re: wrong type argument
Date: Thu, 21 Jul 2011 21:18:30 -0400
on Tue Jul 19 2011, Lars Magne Ingebrigtsen <larsi-AT-gnus.org> wrote:

> Dave Abrahams <dave <at> boostpro.com> writes:
>
>> When I hit `/ n' in the summary and it fails to open the server (not
>> sure why it would have that problem with gmane; it appears to be up),
>> the error message I get looks like a programming bug: "wrong type
>> argument number-or-marker-p nil"
>
> Could you send a backtrace?

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  >(nil nil)
  (while (> i old-high) (push i new) (decf i))
  (let ((old ...) (old-high gnus-newsgroup-highest) (nnmail-fetched-sources ...) i new) (setq gnus-newsgroup-active (gnus-copy-sequence ...)) (setq i (cdr gnus-newsgroup-active) gnus-newsgroup-highest i) (while (> i old-high) (push i new) (decf i)) (if (not new) (message "No gnus is bad news") (gnus-summary-insert-articles new) (setq gnus-newsgroup-unreads ...) (gnus-summary-limit ...)))
  (prog1 (let (... ... ... i new) (setq gnus-newsgroup-active ...) (setq i ... gnus-newsgroup-highest i) (while ... ... ...) (if ... ... ... ... ...)) (gnus-summary-position-point))
  gnus-summary-insert-new-articles()
  call-interactively(gnus-summary-insert-new-articles nil nil)

To reproduce: 

1. set a breakpoint in gnus-open-server on the sexp following
   this comment

    ;; If this method was previously denied, we just return nil.

2. (setq debug-on-error t)

3. Execute `/ N' in your summary buffer

4. When the breakpoint is hit, pretend the server had been denied:

    (setq elem (list (car elem) 'denied))

5. continue

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




This bug report was last modified 13 years and 296 days ago.

Previous Next


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