Article View: news.software.nntp
Article #19330Re: innfeed 0.10.4 (also, wheres the mail list gone to?)
From: Don Lewis
Date: Wed, 16 Jul 1997 00:00
Date: Wed, 16 Jul 1997 00:00
85 lines
3844 bytes
3844 bytes
In article <5qhcib$1fs@news.webspan.net>,
Gary Palmer <gpalmer@SPAM.webspan.net> wrote:
}
} >>The log shows:
} >>
} >>Sat Jul 12 02:07:50 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
}
} > This sounds somewhat familiar (and is a sanity check that I added).
} > Can you get a stack trace from the core file?
}
} It seems that GDB is somewhat broken on my news box right now (why I
} don't know). I think it's:
}
} #2 0x173bd in die (fmt=0x3f21 "") at misc.c:238
} #3 0x9e2a in initReadBlockedTimeout (cxn=0x41600) at connection.c:3862
} #4 0x7012 in commandWriteDone (e=0x30e80, i=IoDone, b=0x5e3a0, d=0x41600)
} at connection.c:1978
} #5 0xc067 in Run () at endpoint.c:843
} #6 0x1579b in main (argc=3, argv=0xefbfde08) at main.c:518
Yup. I've seen something similar to this one before and sent out a patch.
I don't know why I didn't see the exact assertion statement in my mail
archives, though. I think it was tripping over another assertion in the
bug report I saw. I'm only running 0.10.1.3 + a bunch of patches, most
of which are in 0.10.1.4. Try this patch:
--- connection.c Wed May 21 19:18:29 1997
+++ ../../../innfeed/connection.c Fri May 16 16:45:12 1997
@@ -1947,11 +1947,6 @@
clearTimer (cxn->writeBlockedTimerId) ;
- /* Some(?) hosts return the 439 response even before we're done
- sending, so don't go idle until here */
- if (cxn->state == cxnFeedingS && cxn->articleQTotal == 0)
- cxnIdle (cxn) ;
-
if (i != IoDone)
{
errno = endPointErrno (e) ;
@@ -1966,16 +1961,24 @@
}
else
{
+ /* XXX - so cxnSleep() doesn't die in VALIDATE_CONNECTION () */
deferAllArticles (cxn) ;
cxnIdle (cxn) ;
+
cxnSleep (cxn) ;
}
}
else
{
- /* The command set has been sent, so start the response timer.
- XXX - we'd like finer grained control */
- initReadBlockedTimeout (cxn) ;
+ /* Some(?) hosts return the 439 response even before we're done
+ sending, so don't go idle until here */
+ if (cxn->state == cxnFeedingS && cxn->articleQTotal == 0)
+ cxnIdle (cxn) ;
+ else
+ /* The command set has been sent, so start the response timer.
+ XXX - we'd like finer grained control */
+ initReadBlockedTimeout (cxn) ;
+
if ( cxn->doesStreaming )
doSomeWrites (cxn) ; /* pump data as fast as possible */
/* XXX - will clear the read timeout */
There's a similar problem for non-streaming feeds that I haven't gotten
around to patching.
} This is a FreeBSD 2.2.x system btw, although I'm hearing similar
} reports from a friend running Linux.
It's unrelated to your OS. It's triggered by servers that return a 439
response to a TAKETHIS before the entire article has been sent.
--
Don "Truck" Lewis TDK Semiconductor
Internet: Don.Lewis@tsc.tdk.com 138 New Mohawk Road
Phone: +1 916 478-8284 FAX: +1 916 478-8251 Nevada City, CA 95959
Technical Details
Message-ID:
<5qhg5m$ohg$1@news.gv.tsc.tdk.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5q9br6$8sl@news.webspan.net> <5qh23s$33c$1@news.gv.tsc.tdk.com> <5qhcib$1fs@news.webspan.net>Show Full Headers
Complete Article Headers
Message-ID: <5qhg5m$ohg$1@news.gv.tsc.tdk.com> Subject: Re: innfeed 0.10.4 (also, wheres the mail list gone to?) Date: Wed, 16 Jul 1997 00:00:00 +0000 From: gdonl@tsc.tdk.com (Don Lewis) References: <5q9br6$8sl@news.webspan.net> <5qh23s$33c$1@news.gv.tsc.tdk.com> <5qhcib$1fs@news.webspan.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 257127983 Organization: TDK Semiconductor, Nevada City CA Newsgroups: news.software.nntp