Thread View: news.software.nntp
7 messages
7 total messages
Started by Kendall Lloyd
Thu, 14 Aug 1997 00:00
Microsoft Internet News and inn
Author: Kendall Lloyd
Date: Thu, 14 Aug 1997 00:00
Date: Thu, 14 Aug 1997 00:00
13 lines
934 bytes
934 bytes
We have some users trying to use Internet News, and it crashes when they try to download the list of newsgroups. My quick answer is use another news reader, but Microsoft put a note out about this specific problem. It's at http://www.microsoft.com/kb/articles/q160/8/98.htm Has anyone dealt with this, and do you know how to fix it? Any help would be appreciated. Kendall<*>
Re: Microsoft Internet News and inn
Author: Kendall Lloyd
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
51 lines
3279 bytes
3279 bytes
USENET news wrote:
>
> In article <33F35DDE.6CEB308F@drublair.com>,
> Kendall Lloyd <webmaster@drublair.com> wrote:
> >We have some users trying to use Internet News, and it crashes when they
> >try to download the list of newsgroups. My quick answer is use another
> >news reader, but Microsoft put a note out about this specific problem.
> >It's at http://www.microsoft.com/kb/articles/q160/8/98.htm
> >
> >Has anyone dealt with this, and do you know how to fix it?
>
> Well, if Microsoft's diagnosis of the problem is correct, it is due to a
> server problem (unless e.g. it's being seen over non-error-correcting dialup
> and line noise is causing the trouble), but their client really ought not to
> crash with an invalid page fault due to bad input data, and doing a
> best-guess fixup for obvious (but technically incorrect) line terminators
> seems like the right thing for them to do, and pragmatically is the best
> solution (if only because it avoids users blaming Microsoft for the client
> crashing). [The general rule for network software is "Be conservative in
> what you send and liberal in what you accept", or words to that effect.]
>
> OK, a popup (the first time in a session for a particular news server, only)
> warning that bad data had been received could be helpful (user could then
> report it), but crashing is totally unreasonable. The unhelpful but
> reasonable response would be to abort the connection and pronounce the
> server a dead loss.
>
> I can't say I've heard any other reports of this, though, so either their
> client is being unusually fussy (and the others are just "doing the obvious"
> and coping) *or* the particular server is broken but INN in general gets it
> right. Which version of INN? Any INN patches installed which might affect
> its behaviour? Has the Microsoft diagnosis been verified by checking what's
> actually sent from server to client prior to the client crash? Which version
> of Internet News?
>
> John Line
> --
> Cambridge University Computing Service - USENET news manager. Usually John Line
> newsmaster@ucs.cam.ac.uk (alias {newsmaster,news,usenet}@news.cam.ac.uk)
We're running inn1.4unoff4 and can't upgrade yet, atleast not easily and
I think the verion of Internet news is 1.0. The error occurs at about
7300 groups. Atleast it does on the machine I've been able to duplicate
the error on. I guess I was hoping there was a simple setting in a
config or header file, or possibly a by hand edit to the active file. Oh
well, thanks for everyones help so far.
Kendall<*>
Re: Microsoft Internet News and inn
Author: Richard Kettlewell
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
20 lines
1325 bytes
1325 bytes
drechsau@yuck.net (Mike Horwath) writes: > USENET news <news@news.cam.ac.uk> wrote: >> OK, a popup (the first time in a session for a particular news >> server, only) warning that bad data had been received could be >> helpful (user could then report it), but crashing is totally >> unreasonable. The unhelpful but reasonable response would be to >> abort the connection and pronounce the server a dead loss. > > Uhm, servers don't have monitors and keyboards attached, so a popup > is worse than useless. I believe he's referring to the client software producing a popup - well, failing to produce one - in fact. -- Richard Kettlewell http://www.elmail.co.uk/~richard/
Re: Microsoft Internet News and inn
Author: Forrest J. Cavalier III
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
29 lines
1786 bytes
1786 bytes
In article <5t0qft$i7r$5@darla.visi.com>, drechsau@yuck.net wrote... > >USENET news <news@news.cam.ac.uk> wrote: >: OK, a popup (the first time in a session for a particular news server, only) >: warning that bad data had been received could be helpful (user could then >: report it), but crashing is totally unreasonable. The unhelpful but >: reasonable response would be to abort the connection and pronounce the >: server a dead loss. > >Uhm, servers don't have monitors and keyboards attached, so a popup is >worse than useless. > Thats it!!! That's what would "fix" INN 1.5.1sec2 and 1.6b3 SIGSEGV core dumps. Why didn't the ISC think of trapping SIGSEGV and showing a dialog? Then they could say that it is the upstream site's fault! I use Microsoft products all the time, and actually their advice on this one perplexes me. No program should ever GPF, or invalid operation, no matter what the input. Having never encountered the problem first-hand, I wonder if the problems have are caused by "more than 6000 groups" instead of "invalid characters." Forrest Cavalier, Mib Software, INN customization and consulting.
Re: Microsoft Internet News and inn
Author: USENET news
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
40 lines
2724 bytes
2724 bytes
In article <33F35DDE.6CEB308F@drublair.com>,
Kendall Lloyd <webmaster@drublair.com> wrote:
>We have some users trying to use Internet News, and it crashes when they
>try to download the list of newsgroups. My quick answer is use another
>news reader, but Microsoft put a note out about this specific problem.
>It's at http://www.microsoft.com/kb/articles/q160/8/98.htm
>
>Has anyone dealt with this, and do you know how to fix it?
Well, if Microsoft's diagnosis of the problem is correct, it is due to a
server problem (unless e.g. it's being seen over non-error-correcting dialup
and line noise is causing the trouble), but their client really ought not to
crash with an invalid page fault due to bad input data, and doing a
best-guess fixup for obvious (but technically incorrect) line terminators
seems like the right thing for them to do, and pragmatically is the best
solution (if only because it avoids users blaming Microsoft for the client
crashing). [The general rule for network software is "Be conservative in
what you send and liberal in what you accept", or words to that effect.]
OK, a popup (the first time in a session for a particular news server, only)
warning that bad data had been received could be helpful (user could then
report it), but crashing is totally unreasonable. The unhelpful but
reasonable response would be to abort the connection and pronounce the
server a dead loss.
I can't say I've heard any other reports of this, though, so either their
client is being unusually fussy (and the others are just "doing the obvious"
and coping) *or* the particular server is broken but INN in general gets it
right. Which version of INN? Any INN patches installed which might affect
its behaviour? Has the Microsoft diagnosis been verified by checking what's
actually sent from server to client prior to the client crash? Which version
of Internet News?
John Line
--
Cambridge University Computing Service - USENET news manager. Usually John Line
newsmaster@ucs.cam.ac.uk (alias {newsmaster,news,usenet}@news.cam.ac.uk)
Re: Microsoft Internet News and inn
Author: USENET news
Date: Sat, 16 Aug 1997 00:00
Date: Sat, 16 Aug 1997 00:00
60 lines
3854 bytes
3854 bytes
In article <33F4EDB1.425E@drublair.com>,
Kendall Lloyd <webmaster@drublair.com> wrote:
> [problem with Internet News fetching group list, crash blamed by Microsoft
> on bad data from the server.]
>
>We're running inn1.4unoff4 and can't upgrade yet, atleast not easily and
>I think the verion of Internet news is 1.0. The error occurs at about
>7300 groups. Atleast it does on the machine I've been able to duplicate
>the error on. I guess I was hoping there was a simple setting in a
>config or header file, or possibly a by hand edit to the active file. Oh
>well, thanks for everyones help so far.
Microsoft's note about the problem at
http://www.microsoft.com/kb/articles/q160/8/98.htm
blamed the problem on bad data from the server, most likely bad line
delimiters, though why that should arise (as they suggest) most commonly on
servers with more than 6000 groups is not particularly obvious. The most
common cause is reportedly servers sending \r\r\n or \r - or, presumably
just \n, though not mentioned - instead of the standard \r\n carriage
return/linefeed sequence.)
Maybe someone still running 1.4unoff4 can check this (preferably with
Internet News as client in case that helps pin down what triggers the
problem), but I just tried fetching active files (using getlist) and logging
the response packets from servers running 1.5.1sec2 and 1.6b3 (both mine)
and 1.4 (a remote server giving access to a small number of specialist
technical groups) and in all cases, the lines of the response looked
reasonable, correctly delimited with carriage return + line feed. 1.4unoff4
could be different, but older and newer versions are OK, so that doesn't
seem too likely.
It would be worth running inncheck to see if it spots any corruption in the
active file which, by chance, is not breaking anything else, but gets
transmitted to the client unaltered (broken) and happens to cause trouble in
this case. Apart from that, I'd be inclined to guess the problem is really
related more to the number of groups than the data, as suggested elsewhere
in this thread by Forrest Cavalier.
It used to be common for (primarily PC/Mac) newsreaders to have a hard-wired
limit on number of groups (so much easier to allocated fixed-size arrays
rather than allocate memory dynamically...), though I doubt that's true any
longer, with many ISPs having enormous and growing lists.
Maybe the problem here is a related one; the way that Microsoft mentions
approximately 6000 groups as a magic number hints that maybe it has to
reallocate space and shuffle things around for more groups, and maybe
there's a bug so it accidentally trashes something which (depending on the
particular circumstances) will cause trouble with a group later in the list.
[In my tests, only the 1.6b3 server had more than 6000 groups (8488
actually), but there weren't any obvious problems with entries later in the
list, or the list termination sequence.]
John Line
--
Cambridge University Computing Service - USENET news manager. Usually John Line
newsmaster@ucs.cam.ac.uk (alias {newsmaster,news,usenet}@news.cam.ac.uk)
Re: Microsoft Internet News and inn
Author: Kendall Lloyd
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
96 lines
4593 bytes
4593 bytes
I discovered two errors in our active file thanks to mibsoft@epix.net
(Forrest J. Cavalier III). There were two lines where there were ^M's. I
have no idea how they got there. I used vi to delete those lines and the
problem is fixed. BY the way you can't do a search on the ^M's in vi.
you'd have to pull it to emacs or another editor, or get Mr. Cavalier to
tell you the exact line numbers like he did for me.
Thanks for everyones help,
Kendall Lloyd
USENET news wrote:
>
> In article <33F4EDB1.425E@drublair.com>,
> Kendall Lloyd <webmaster@drublair.com> wrote:
> > [problem with Internet News fetching group list, crash blamed by
> Microsoft
> > on bad data from the server.]
> >
> >We're running inn1.4unoff4 and can't upgrade yet, atleast not easily
> and
> >I think the verion of Internet news is 1.0. The error occurs at about
> >7300 groups. Atleast it does on the machine I've been able to
> duplicate
> >the error on. I guess I was hoping there was a simple setting in a
> >config or header file, or possibly a by hand edit to the active file.
> Oh
> >well, thanks for everyones help so far.
>
> Microsoft's note about the problem at
> http://www.microsoft.com/kb/articles/q160/8/98.htm
> blamed the problem on bad data from the server, most likely bad line
> delimiters, though why that should arise (as they suggest) most
> commonly on
> servers with more than 6000 groups is not particularly obvious. The
> most
> common cause is reportedly servers sending \r\r\n or \r - or,
> presumably
> just \n, though not mentioned - instead of the standard \r\n carriage
> return/linefeed sequence.)
>
> Maybe someone still running 1.4unoff4 can check this (preferably with
> Internet News as client in case that helps pin down what triggers the
> problem), but I just tried fetching active files (using getlist) and
> logging
> the response packets from servers running 1.5.1sec2 and 1.6b3 (both
> mine)
> and 1.4 (a remote server giving access to a small number of specialist
> technical groups) and in all cases, the lines of the response looked
> reasonable, correctly delimited with carriage return + line feed.
> 1.4unoff4
> could be different, but older and newer versions are OK, so that
> doesn't
> seem too likely.
>
> It would be worth running inncheck to see if it spots any corruption
> in the
> active file which, by chance, is not breaking anything else, but gets
> transmitted to the client unaltered (broken) and happens to cause
> trouble in
> this case. Apart from that, I'd be inclined to guess the problem is
> really
> related more to the number of groups than the data, as suggested
> elsewhere
> in this thread by Forrest Cavalier.
>
> It used to be common for (primarily PC/Mac) newsreaders to have a
> hard-wired
> limit on number of groups (so much easier to allocated fixed-size
> arrays
> rather than allocate memory dynamically...), though I doubt that's
> true any
> longer, with many ISPs having enormous and growing lists.
>
> Maybe the problem here is a related one; the way that Microsoft
> mentions
> approximately 6000 groups as a magic number hints that maybe it has to
> reallocate space and shuffle things around for more groups, and maybe
> there's a bug so it accidentally trashes something which (depending on
> the
> particular circumstances) will cause trouble with a group later in the
> list.
>
> [In my tests, only the 1.6b3 server had more than 6000 groups (8488
> actually), but there weren't any obvious problems with entries later
> in the
> list, or the list termination sequence.]
>
> John Line
> --
> Cambridge University Computing Service - USENET news manager. Usually
> John Line
> newsmaster@ucs.cam.ac.uk (alias
> {newsmaster,news,usenet}@news.cam.ac.uk)
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