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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9108 in the body.
You can then email your comments to 9108 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 owner <at> debbugs.gnu.org, bugs <at> gnus.org:
bug#9108; Package gnus. (Sun, 17 Jul 2011 14:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dave Abrahams <dave <at> boostpro.com>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Sun, 17 Jul 2011 14:20:03 GMT) Full text and rfc822 format available.

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

From: Dave Abrahams <dave <at> boostpro.com>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: wrong type argument
Date: Sun, 17 Jul 2011 10:19:25 -0400
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"

*gnus trace* contains:
10:09:40 (nntp "news.gmane.org")

*Messages* contains:
Opening nntp server on news.gmane.org...
Denied server nntp+news.gmane.org
Opening nntp server on news.gmane.org...failed: 
Wrong type argument: number-or-marker-p, nil


No Gnus v0.18
GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35)
 of 2011-03-09 on black.porkrind.org

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





Information forwarded to owner <at> debbugs.gnu.org, bugs <at> gnus.org:
bug#9108; Package gnus. (Tue, 19 Jul 2011 18:09:01 GMT) Full text and rfc822 format available.

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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Dave Abrahams <dave <at> boostpro.com>
Cc: 9108 <at> debbugs.gnu.org
Subject: Re: wrong type argument
Date: Tue, 19 Jul 2011 20:08:16 +0200
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?

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




Information forwarded to owner <at> debbugs.gnu.org, bugs <at> gnus.org:
bug#9108; Package gnus. (Fri, 22 Jul 2011 01:19:01 GMT) Full text and rfc822 format available.

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




Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 31 Jul 2011 15:14:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.1, send any further explanations to 9108 <at> debbugs.gnu.org and Dave Abrahams <dave <at> boostpro.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 31 Jul 2011 15:14:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bugs <at> gnus.org:
bug#9108; Package gnus. (Sun, 31 Jul 2011 15:16:01 GMT) Full text and rfc822 format available.

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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Dave Abrahams <dave <at> boostpro.com>
Cc: 9108 <at> debbugs.gnu.org
Subject: Re: wrong type argument
Date: Sun, 31 Jul 2011 17:13:04 +0200
Dave Abrahams <dave <at> boostpro.com> writes:

> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>   >(nil nil)
>   (while (> i old-high) (push i new) (decf i))

I've now fixed this bug.

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 29 Aug 2011 11:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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