Gnus development mailing list
 help / color / mirror / Atom feed
* Error: Wrong type argument: processp, nil
@ 2001-07-22 16:35 Henrik Hansen
  2001-07-22 19:32 ` Kai Großjohann
  0 siblings, 1 reply; 10+ messages in thread
From: Henrik Hansen @ 2001-07-22 16:35 UTC (permalink / raw)



I get the message: 
Wrong type argument: processp, nil

when I try to get new mail / news (I get it every second time I
check).

I use cvs gnus and the message has been coming for approx 1-2 weeks as
far as i remember.

I made a M-x backtrace (if it helps :)

nnml: Reading incoming mail (3 new)...done
Wrong type argument: processp, nil
Checking new news...
nnml: Reading incoming mail from pop... [2 times]
nnml: Reading incoming mail (no new mail)...done
Opening nntp server on news.worldonline.dk...

Opening nntp server on news.php.net...

Wrong type argument: processp, nil
Making completion list...
Loading view...
Loading view...done
Making completion list...
  backtrace()
  call-interactively(backtrace)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)


Hope you can fix it.

-- 
Henrik Hansen



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error: Wrong type argument: processp, nil
  2001-07-22 16:35 Error: Wrong type argument: processp, nil Henrik Hansen
@ 2001-07-22 19:32 ` Kai Großjohann
  2001-07-23 16:18   ` Henrik Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2001-07-22 19:32 UTC (permalink / raw)
  Cc: ding

On Sun, 22 Jul 2001, Henrik Hansen wrote:

> I made a M-x backtrace (if it helps :)

No, that doesn't help.  Instead, C-u 1 M-x toggle-debug-on-error RET,
then repeat the error, then look at the backtrace that pops up.

kai
-- 
~/.signature: No such file or directory


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error: Wrong type argument: processp, nil
  2001-07-22 19:32 ` Kai Großjohann
@ 2001-07-23 16:18   ` Henrik Hansen
  2001-07-23 19:28     ` Henrik Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: Henrik Hansen @ 2001-07-23 16:18 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) wrote:

 > On Sun, 22 Jul 2001, Henrik Hansen wrote:
 > 
>> I made a M-x backtrace (if it helps :)
 > 
 > No, that doesn't help.  Instead, C-u 1 M-x toggle-debug-on-error RET,
 > then repeat the error, then look at the backtrace that pops up.

now when I sent the msg it stopes, thats just typical :) (maybe the
cvs update helped).

-- 
Henrik Hansen



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error: Wrong type argument: processp, nil
  2001-07-23 16:18   ` Henrik Hansen
@ 2001-07-23 19:28     ` Henrik Hansen
  2001-07-23 21:03       ` Kai Großjohann
  0 siblings, 1 reply; 10+ messages in thread
From: Henrik Hansen @ 2001-07-23 19:28 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 553 bytes --]

Henrik Hansen <hh@mailserver.dk> wrote:

 > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) wrote:
 > 
> > On Sun, 22 Jul 2001, Henrik Hansen wrote:
> > 
>>> I made a M-x backtrace (if it helps :)
> > 
> > No, that doesn't help.  Instead, C-u 1 M-x toggle-debug-on-error RET,
> > then repeat the error, then look at the backtrace that pops up.
 > 
 > now when I sent the msg it stopes, thats just typical :) (maybe the
 > cvs update helped).

now i am getting irritated it came again afterall, the backtrace is
atached to the mail


[-- Attachment #2: the backtrace --]
[-- Type: application/octet-stream, Size: 3171 bytes --]

[-- Attachment #3: Type: text/plain, Size: 19 bytes --]


-- 
Henrik Hansen

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error: Wrong type argument: processp, nil
  2001-07-23 19:28     ` Henrik Hansen
@ 2001-07-23 21:03       ` Kai Großjohann
  2001-07-24 17:31         ` Henrik Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2001-07-23 21:03 UTC (permalink / raw)
  Cc: ding

On Mon, 23 Jul 2001, Henrik Hansen wrote:

> now i am getting irritated it came again afterall, the backtrace is
> atached to the mail
> 
> 
> Signaling: (wrong-type-argument processp nil)
>   process-buffer(nil)[...]
>   nntp-retrieve-groups(("dk.edb.database" "dk.edb.sikkerhed"

I'm afraid that too much is missing which is in the byte-code.  Can
you M-x load-library RET nntp.el RET (the .el is important), then
repeat the backtrace?  If that still contains byte-code, can you load
more *.el files, until all the byte-code is gone?

Sorry I'm pestering you so much.  I don't know if I'll see anything
from the backtrace, but maybe someone else will.

Thanks,
kai
-- 
~/.signature: No such file or directory


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error: Wrong type argument: processp, nil
  2001-07-23 21:03       ` Kai Großjohann
@ 2001-07-24 17:31         ` Henrik Hansen
  2001-07-26 13:45           ` Kai Großjohann
  0 siblings, 1 reply; 10+ messages in thread
From: Henrik Hansen @ 2001-07-24 17:31 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) wrote:

 > On Mon, 23 Jul 2001, Henrik Hansen wrote:
 > 
>> now i am getting irritated it came again afterall, the backtrace is
>> atached to the mail
>> 
>> 
>> Signaling: (wrong-type-argument processp nil)
>>   process-buffer(nil)[...]
>>   nntp-retrieve-groups(("dk.edb.database" "dk.edb.sikkerhed"
 > 
 > I'm afraid that too much is missing which is in the byte-code.  Can
 > you M-x load-library RET nntp.el RET (the .el is important), then
 > repeat the backtrace?  If that still contains byte-code, can you load
 > more *.el files, until all the byte-code is gone?

ok I made a make clean on my gnus cvs sources and made the error come
again, so now it's clean of bytecode

-- 
Henrik Hansen


[-- Attachment #2: backtrace --]
[-- Type: application/octet-stream, Size: 6024 bytes --]

Signaling: (wrong-type-argument processp nil)
  process-buffer(nil)
  (let* ((command ...) (buffer ...) (pos ...)) (prog1 (nntp-retrieve-data command nntp-address nntp-port-number nntp-server-buffer wait-for nnheader-callback-function) (unless wait-for ... ...)))
  nntp-send-command(nil "LIST ACTIVE" "dk.edb.sikkerhed")
  (while groups (nntp-send-command nil command (pop groups)) (incf count) (when (or ... ...) (nntp-accept-response) (while ... ...)))
  (let ((count 0) (received 0) (last-point ...) (nntp-inhibit-erase t) (buf ...) (command ...)) (while groups (nntp-send-command nil command ...) (incf count) (when ... ... ...)) (unless (gnus-buffer-live-p buf) (nnheader-report ... "Connection to %s is closed." server) (throw ... nil)) (set-buffer buf) (goto-char (point-max)) (re-search-backward "^[0-9]" nil t) (when (looking-at "^[23]") (while ... ...)) (unless (gnus-buffer-live-p buf) (nnheader-report ... "Connection to %s is closed." server) (throw ... nil)) (set-buffer buf) (goto-char (point-min)) (while (search-forward "\r" nil t) (replace-match "" t t)) (if (not nntp-server-list-active-group) (progn ... ...) (goto-char ...) (while ... ...) (copy-to-buffer nntp-server-buffer ... ...) (quote active)))
  (save-excursion (set-buffer nntp-server-buffer) (erase-buffer) (set-buffer (nntp-find-connection-buffer nntp-server-buffer)) (when (eq nntp-server-list-active-group ...) (nntp-try-list-active ...)) (erase-buffer) (let (... ... ... ... ... ...) (while groups ... ... ...) (unless ... ... ...) (set-buffer buf) (goto-char ...) (re-search-backward "^[0-9]" nil t) (when ... ...) (unless ... ... ...) (set-buffer buf) (goto-char ...) (while ... ...) (if ... ... ... ... ... ...)))
  (catch (quote done) (save-excursion (set-buffer nntp-server-buffer) (erase-buffer) (set-buffer ...) (when ... ...) (erase-buffer) (let ... ... ... ... ... ... ... ... ... ... ... ...)))
  (progn (catch (quote done) (save-excursion ... ... ... ... ... ...)))
  (if (nntp-find-connection-buffer nntp-server-buffer) (progn (catch ... ...)))
  (when (nntp-find-connection-buffer nntp-server-buffer) (catch (quote done) (save-excursion ... ... ... ... ... ...)))
  nntp-retrieve-groups(("dk.edb.database" "dk.edb.sikkerhed" "gnu.emacs.gnus" "gnu.emacs" "comp.emacs" "netscape.public.mozilla.seamonkey" "alt.php" "dk.edb.internet.webdesign.serverside" "dk.edb.internet.webdesign.serverside.php") "news.worldonline.dk")
  funcall(nntp-retrieve-groups ("dk.edb.database" "dk.edb.sikkerhed" "gnu.emacs.gnus" "gnu.emacs" "comp.emacs" "netscape.public.mozilla.seamonkey" "alt.php" "dk.edb.internet.webdesign.serverside" "dk.edb.internet.webdesign.serverside.php") "news.worldonline.dk")
  gnus-retrieve-groups(("dk.edb.database" "dk.edb.sikkerhed" "gnu.emacs.gnus" "gnu.emacs" "comp.emacs" "netscape.public.mozilla.seamonkey" "alt.php" "dk.edb.internet.webdesign.serverside" "dk.edb.internet.webdesign.serverside.php") (nntp "news.worldonline.dk"))
  (let ((list-type ...)) (cond (... ...) (... ...) (t ...)))
  (save-excursion (set-buffer nntp-server-buffer) (gnus-check-server method) (let (...) (cond ... ... ...)))
  (progn (save-excursion (set-buffer nntp-server-buffer) (gnus-check-server method) (let ... ...)))
  (if groups (progn (save-excursion ... ... ...)))
  (when groups (save-excursion (set-buffer nntp-server-buffer) (gnus-check-server method) (let ... ...)))
  gnus-read-active-file-2(("dk.edb.database" "dk.edb.sikkerhed" "gnu.emacs.gnus" "gnu.emacs" "comp.emacs" "netscape.public.mozilla.seamonkey" "alt.php" "dk.edb.internet.webdesign.serverside" "dk.edb.internet.webdesign.serverside.php") (nntp "news.worldonline.dk"))
  (progn (when (gnus-check-backend-function ... ...) (gnus-request-scan nil method)) (gnus-read-active-file-2 (mapcar ... groups) method) (dolist (group groups) (cond ... ...)))
  (if (gnus-check-server method) (progn (when ... ...) (gnus-read-active-file-2 ... method) (dolist ... ...)))
  (when (gnus-check-server method) (when (gnus-check-backend-function ... ...) (gnus-request-scan nil method)) (gnus-read-active-file-2 (mapcar ... groups) method) (dolist (group groups) (cond ... ...)))
  (let ((method ...) (groups ...)) (when (gnus-check-server method) (when ... ...) (gnus-read-active-file-2 ... method) (dolist ... ...)))
  (while --dolist-temp--102143 (setq rg (car --dolist-temp--102143)) (let (... ...) (when ... ... ... ...)) (setq --dolist-temp--102143 (cdr --dolist-temp--102143)))
  (let ((--dolist-temp--102143 retrieve-groups) rg) (while --dolist-temp--102143 (setq rg ...) (let ... ...) (setq --dolist-temp--102143 ...)) nil)
  (catch (quote --cl-block-nil--) (let (... rg) (while --dolist-temp--102143 ... ... ...) nil))
  (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil)))
  (block nil (let (... rg) (while --dolist-temp--102143 ... ... ...) nil))
  (dolist (rg retrieve-groups) (let (... ...) (when ... ... ... ...)))
  (let* ((newsrc ...) (level ...) (foreign-level ...) scanned-methods info group active method retrieve-groups) (gnus-message 5 "Checking new news...") (while newsrc (setq active ...) (if ... ... ...) (cond ... ... ...)) (dolist (rg retrieve-groups) (let ... ...)) (gnus-message 5 "Checking new news...done"))
  gnus-get-unread-articles(nil)
  (let ((gnus-read-active-file ...)) (gnus-get-unread-articles arg))
  (if (and gnus-read-active-file (not arg)) (progn (gnus-read-active-file) (gnus-get-unread-articles arg)) (let (...) (gnus-get-unread-articles arg)))
  (let ((gnus-inhibit-demon t) (nnmail-fetched-sources ...)) (gnus-run-hooks (quote gnus-get-new-news-hook)) (unless gnus-slave (gnus-master-read-slave-newsrc)) (when (and gnus-use-nocem ...) (gnus-nocem-scan-groups)) (when (and arg ...) (let ... ...) (setq arg nil) (when ... ...)) (setq arg (gnus-group-default-level arg t)) (if (and gnus-read-active-file ...) (progn ... ...) (let ... ...)) (gnus-run-hooks (quote gnus-after-getting-new-news-hook)) (gnus-group-list-groups (and ... ...)))
  gnus-group-get-new-news(nil)
  call-interactively(gnus-group-get-new-news)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error: Wrong type argument: processp, nil
  2001-07-24 17:31         ` Henrik Hansen
@ 2001-07-26 13:45           ` Kai Großjohann
  2001-07-26 18:17             ` Henrik Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2001-07-26 13:45 UTC (permalink / raw)
  Cc: ding

On Tue, 24 Jul 2001, Henrik Hansen wrote:

> ok I made a make clean on my gnus cvs sources and made the error
> come again, so now it's clean of bytecode

Sorry that it took me so long to look at it.  As usual, the Gnus
source code is kinda involved, so it's not clear to me what's going
on.

But it looks as if that function assumes that the connection to the
server is open.  If the server has dropped the connection (due to a
timeout perhaps), then the code might barf.

But what's strange is that it doesn't barf for me, and I'm sure the
NNTP server is hanging up on me, too.

I'm flabbergasted.

kai
-- 
~/.signature: No such file or directory


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error: Wrong type argument: processp, nil
  2001-07-26 13:45           ` Kai Großjohann
@ 2001-07-26 18:17             ` Henrik Hansen
  2001-07-26 21:17               ` Kai Großjohann
  0 siblings, 1 reply; 10+ messages in thread
From: Henrik Hansen @ 2001-07-26 18:17 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) wrote:

 > On Tue, 24 Jul 2001, Henrik Hansen wrote:
 > 
>> ok I made a make clean on my gnus cvs sources and made the error
>> come again, so now it's clean of bytecode
 > 
 > Sorry that it took me so long to look at it.  As usual, the Gnus
 > source code is kinda involved, so it's not clear to me what's going
 > on.
 > 
 > But it looks as if that function assumes that the connection to the
 > server is open.  If the server has dropped the connection (due to a
 > timeout perhaps), then the code might barf.
 > 
 > But what's strange is that it doesn't barf for me, and I'm sure the
 > NNTP server is hanging up on me, too.

well I just got it 2 times at work today too, never got it before
there. But it comes rarely at home now, can it be troubles at the isp
thats causing it? or something else than the gnus sources?

-- 
Henrik Hansen



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error: Wrong type argument: processp, nil
  2001-07-26 18:17             ` Henrik Hansen
@ 2001-07-26 21:17               ` Kai Großjohann
  2001-07-27 17:51                 ` Henrik Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2001-07-26 21:17 UTC (permalink / raw)
  Cc: ding

On Thu, 26 Jul 2001, Henrik Hansen wrote:

> well I just got it 2 times at work today too, never got it before
> there. But it comes rarely at home now, can it be troubles at the
> isp thats causing it? or something else than the gnus sources?

It might be a race condition.  If the process dies on Gnus when Gnus
doesn't expect it, then things like this could happen.  Hm.  How does
Gnus determine if the NNTP process is still there?  Lessee.

Wild guess: what happens when you (setq nntp-async-needs-kluge t)?

Another wild guess: what happens when you (setq gnus-asynchronous nil)?

kai
-- 
~/.signature: No such file or directory


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error: Wrong type argument: processp, nil
  2001-07-26 21:17               ` Kai Großjohann
@ 2001-07-27 17:51                 ` Henrik Hansen
  0 siblings, 0 replies; 10+ messages in thread
From: Henrik Hansen @ 2001-07-27 17:51 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) wrote:

 > On Thu, 26 Jul 2001, Henrik Hansen wrote:
 > 
>> well I just got it 2 times at work today too, never got it before
>> there. But it comes rarely at home now, can it be troubles at the
>> isp thats causing it? or something else than the gnus sources?
 > 
 > It might be a race condition.  If the process dies on Gnus when Gnus
 > doesn't expect it, then things like this could happen.  Hm.  How does
 > Gnus determine if the NNTP process is still there?  Lessee.
 > 
 > Wild guess: what happens when you (setq nntp-async-needs-kluge t)?
 > 
 > Another wild guess: what happens when you (setq gnus-asynchronous nil)?

Have not seen it ... yet :)

-- 
Henrik Hansen



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-07-27 17:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-22 16:35 Error: Wrong type argument: processp, nil Henrik Hansen
2001-07-22 19:32 ` Kai Großjohann
2001-07-23 16:18   ` Henrik Hansen
2001-07-23 19:28     ` Henrik Hansen
2001-07-23 21:03       ` Kai Großjohann
2001-07-24 17:31         ` Henrik Hansen
2001-07-26 13:45           ` Kai Großjohann
2001-07-26 18:17             ` Henrik Hansen
2001-07-26 21:17               ` Kai Großjohann
2001-07-27 17:51                 ` Henrik Hansen

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).