Thread View: news.software.nntp
1 messages
1 total messages
Started by Crashalicious Meowbot
Mon, 30 Oct 2000 17:34
ARRGH: Two innfeed crashes
Author: Crashalicious Meowbot
Date: Mon, 30 Oct 2000 17:34
Date: Mon, 30 Oct 2000 17:34
55 lines
3866 bytes
3866 bytes
This has not been my month.
Two separate innfeeds for two different sets of peers, on a machine
devoted to handling exclusively large articles:
2000-10-26 16:22:02 innfeed: assertion -- cxn->writeBlockedTimerId == 0 -- failed in file connection.c line 3231
2000-10-24 12:36:42 innfeed: assertion -- cxn->writeBlockedTimerId == 0 -- failed in file connection.c line 3231
2000-10-24 15:27:02 innfeed: assertion -- cxn->writeBlockedTimerId == 0 -- failed in file connection.c line 3231
2000-10-24 19:08:09 innfeed: assertion -- cxn->writeBlockedTimerId == 0 -- failed in file connection.c line 3231
2000-10-30 13:02:50 innfeed: assertion -- cxn->articleQTotal == 1 -- failed in file connection.c line 4221
2000-10-30 13:45:07 innfeed: assertion -- cxn->articleQTotal == 1 -- failed in file connection.c line 4221
I've added a few hacks to the INN-STABLE 0907 innfeed source, so the
line numbers are a bit off, but here is the source:
3226 {
3227 ASSERT (cxn != NULL) ;
3228 ASSERT (cxn->state == cxnFeedingS || cxn->state == cxnConnectingS ||
3229 cxn->state == cxnFlushingS || cxn->state == cxnClosingS) ;
3230 ASSERT (cxn->articleQTotal == 0) ;
3231 ASSERT (cxn->writeBlockedTimerId == 0) ;
3232 ASSERT (!writeIsPending (cxn->myEp)) ;
3233 ASSERT (cxn->sleepTimerId == 0) ;
3234
3235 if (cxn->state == cxnFeedingS || cxn->state == cxnConnectingS)
3236 {
I recall, when trying to merge my old hacks into the newer k0deZ,
there were some differences I didn't understand, that I might have
merged into the old k0deZ as well when trying to bring both somewhat
up-to-date. I see the same k0de snippet above on another machine
with the older k0deZ (INN 1.5) but I have never seen problems with
that innfeed in almost a year of continuous feeding. It only handles
smaller articles, if that makes a difference.
4216 if (cxn->doesStreaming)
4217 /* Some(?) hosts return the 439 response even before we're done
4218 sending, so don't go idle until here */
4219 ASSERT (cxn->articleQTotal > 0 || writeIsPending (cxn->myEp)) ;
4220 else
4221 ASSERT (cxn->articleQTotal == 1) ;
4222 if (cxn->readTimeout > 0 && !writeIsPending (cxn->myEp) &&
4223 cxn->checkRespHead != NULL && cxn->takeRespHead != NULL)
4224 ASSERT (cxn->readBlockedTimerId != 0) ;
4225 if (cxn->writeTimeout > 0 && writeIsPending (cxn->myEp))
4226 ASSERT (cxn->writeBlockedTimerId != 0) ;
No, I'm not streaming (of course not, on a binariez-only feed...)
I bet this fix is pretty obvious.
I'll try looking more closely at this after I get some good sleep.
My brane ain't up to much at the moment. Might be a while...
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads