Thread View: news.software.readers
13 messages
13 total messages
Started by Dave Glowacki
Thu, 17 Jun 1993 19:51
trn 3.0: more kills than the average summer movie!
Author: Dave Glowacki
Date: Thu, 17 Jun 1993 19:51
Date: Thu, 17 Jun 1993 19:51
33 lines
1859 bytes
1859 bytes
I've got a kill-happy trn 3.0 here, and I'd like to know if anybody else has seen this problem. It's pretty simple to duplicate: I set up a KILL file for some random high-traffic newsgroup, with a single line: /^Subject: .*This could not possibly match a subject/j I start reading an article in that group and wait a bit. On exiting back to thread-mode, if a new article has arrived I see: 1 more article has arrived -- processing memorized commands... /^Subject: .*This could not possibly match a subject/j Killed 1 article. [Type space to continue] When I attempt to view the newly-killed article, I get: comp.lang.c: article is not available. Quitting and restarting trn allows me to look at the article and confirm that it couldn't possibly have matched that pattern. I've seen this behavior on sun4s, decstations and snakes, all getting news via NNTP. They were all built using gcc, but I just built a version for the snake using the system compiler and got the same result. Please help me before trn kills again!!! -- Dave Glowacki dglo@cs.Berkeley.EDU UCBerkeley
Re: trn 3.0: more kills than the average summer movie!
Author: Rob Robertson
Date: Thu, 17 Jun 1993 15:57
Date: Thu, 17 Jun 1993 15:57
28 lines
2016 bytes
2016 bytes
In article <C8s9MC.IrI@borland.com> davison@borland.com (Wayne Davison) writes: If you are observant, you'll notice that the subject didn't match (it would have output a matching article number). In fact, trn did no killing at all. It tried to access the new article via XHDR and was rudely told that it did not exist. This is an NNTP bug that I'm looking into fixing _in_the_NNTP_ _source_. In the meantime you'll probably want to get rid of the group expansion check in ng.c and complain to your NNTP provider. your going to have to fix more than the NNTP sources, INN too. the problem is that when nntp/nnrpd starts up, 'everything is initialize using the active file at that point in time. until one explicitly does something that accesses that active file (like a LIST ACTIVE) that's the way it stays. mthreads is however constantly updating the database, and if one does an XTHREADS, one might get XTHREAD data for very new articles that the nntpd/nnrpd daemon doesn't want to tell us about. least ways that's what it looks like when i browzed through the sources. rob -- william robertson rob@agate.berkeley.edu "indecision is the key to flexibility"
Re: trn 3.0: more kills than the average summer movie!
Author: Rob Robertson
Date: Thu, 17 Jun 1993 17:09
Date: Thu, 17 Jun 1993 17:09
35 lines
2248 bytes
2248 bytes
In article <C8sHqI.B2@borland.com> davison@borland.com (Wayne Davison) writes: Which is a bad thing. You'd expect the GROUP command to reflect the latest data for a group, but that just isn't true. And while the STAT/HEAD/BODY commands allow you to read past the old end of the group (at least they do in NNTP1.5.11), the XHDR command does not. This should be fixed. yes and no. see XTHREADS is a hack in INN's nnrpd, as nnrpd has no knowledge of what it's sending out, it just cats out the appropriate threads file when ever asked. it never attempts to figger out what it's sending out. that's kindda contrary to nnrpd's philosophy, which is controlling the horizontal and vertical. this wouldn't happen with XOVER, as nnrpd makes sure everything `agrees' and is consistent (ie it wouldn't send out overview headers outside the bounds of what it told the newsreader the group contained, it doesn't send out XHDR or XOVER data for articles that have expired either). i think you can make an argument that NNTP should present the latest data ASAP, but i think i can also make a coherent argument that NNTP should present a consistent picture. my solution is to urge our clients to #undef USE_XTHREAD in config.h before compiling trn 3.0. rob -- william robertson rob@agate.berkeley.edu "indecision is the key to flexibility"
Re: trn 3.0: more kills than the average summer movie!
Author: Wayne Davison
Date: Thu, 17 Jun 1993 20:44
Date: Thu, 17 Jun 1993 20:44
21 lines
1433 bytes
1433 bytes
In <1vqhvv$abd@agate.berkeley.edu> Dave Glowacki <dglo@manray.Berkeley.EDU> wrote: > /^Subject: .*This could not possibly match a subject/j > > Killed 1 article. > > [Type space to continue] If you are observant, you'll notice that the subject didn't match (it would have output a matching article number). In fact, trn did no killing at all. It tried to access the new article via XHDR and was rudely told that it did not exist. This is an NNTP bug that I'm looking into fixing _in_the_NNTP_ _source_. In the meantime you'll probably want to get rid of the group expansion check in ng.c and complain to your NNTP provider. An easy way to do the former is to add the line: #define nntp_stat(x) 0 after the #includes in ng.c and recompile. .wayne..
Re: trn 3.0: more kills than the average summer movie!
Author: Wayne Davison
Date: Thu, 17 Jun 1993 23:39
Date: Thu, 17 Jun 1993 23:39
18 lines
1474 bytes
1474 bytes
Rob Robertson <rob@agate.berkeley.edu> wrote: > your going to have to fix more than the NNTP sources, INN too. I would have thought this would have worked in INN, but apparently it has the same problem. > the problem is that when nntp/nnrpd starts up, 'everything is > initialize using the active file at that point in time. until one > explicitly does something that accesses that active file (like a LIST > ACTIVE) that's the way it stays. Which is a bad thing. You'd expect the GROUP command to reflect the latest data for a group, but that just isn't true. And while the STAT/HEAD/BODY commands allow you to read past the old end of the group (at least they do in NNTP1.5.11), the XHDR command does not. This should be fixed. .wayne..
Re: trn 3.0: more kills than the average summer movie!
Author: Wayne Davison
Date: Thu, 17 Jun 1993 23:42
Date: Thu, 17 Jun 1993 23:42
12 lines
1229 bytes
1229 bytes
Dave Glowacki <dglo@manray.Berkeley.EDU> wrote: > 1 more article has arrived -- processing memorized commands... > /^Subject: .*This could not possibly match a subject/j > Killed 1 article [which was really missing from the XHDR command] FYI, a better work-around for this problem than disabling the new-article check is to use the "-a" option. This tells trn to always thread the group (using HEAD commands) when it grows, and thus trn won't attempt to use the XHDR command (and have it fail). Keep in mind this only affects the NNTP version of trn 3.0. .wayne..
Re: trn 3.0: more kills than the average summer movie!
Author: Wayne Davison
Date: Fri, 18 Jun 1993 01:10
Date: Fri, 18 Jun 1993 01:10
19 lines
1644 bytes
1644 bytes
Rob Robertson <rob@agate.berkeley.edu> wrote: > yes and no. see XTHREADS is a hack in INN's nnrpd, as nnrpd has no > knowledge of what it's sending out, it just cats out the appropriate > threads file when ever asked. But xthreads isn't required for this senario. All that is required is to do a STAT past the end of the group, find that it succeeds in locating an article, and then later on when you try to do an XHDR on this article find that it fails. If the articles were already in the thread file sent via xthreads then we wouldn't even have attempted to find it's subject via XHDR. I haven't actually tested any INN code here (just NNTP1.5.11t3) but people have informed me that this growing group problem affects INN also, and there's no thread grabbing going on when a group grows. > this wouldn't happen with XOVER It doesn't affect this case. .wayne..
Re: trn 3.0: more kills than the average summer movie!
Author: Rob Robertson
Date: Fri, 18 Jun 1993 09:37
Date: Fri, 18 Jun 1993 09:37
25 lines
1971 bytes
1971 bytes
In article <C8sLxF.2Do@borland.com> davison@borland.com (Wayne Davison) writes: But xthreads isn't required for this senario. All that is required is to do a STAT past the end of the group, find that it succeeds in locating an article, and then later on when you try to do an XHDR on this article find that it fails. If the articles were already in the thread file sent via xthreads then we wouldn't even have attempted to find it's subject via XHDR. I haven't actually tested any INN code here (just NNTP1.5.11t3) but people have informed me that this growing group problem affects INN also, and there's no thread grabbing going on when a group grows. your right, i misspoke without checking what the source actually did. i'm sorry for the confusion. as rich said, i think, that the correct behavior for INN's nnrpd is to validate that the STAT commands, et al are in the proper range before claming we have them. rob -- william robertson rob@agate.berkeley.edu "indecision is the key to flexibility"
Re: trn 3.0: more kills than the average summer movie!
Author: Rich Salz
Date: Fri, 18 Jun 1993 12:25
Date: Fri, 18 Jun 1993 12:25
15 lines
1426 bytes
1426 bytes
In <C8sLxF.2Do@borland.com> davison@borland.com (Wayne Davison) writes: > All that is required is to >do a STAT past the end of the group, find that it succeeds in locating an >article, and then later on when you try to do an XHDR on this article >find that it fails. Doing a STAT for a number beyond what the GROUP command told you exists voids your warranty. :-) Currently the ARTICLE, BODY, HEAD, and STAT commands do not validate their argument to see if you are picking a number outside of the current article range. I should probably change the commands to do that, and will for 1.5. (Rob, comments? I think just calling CMDgetrange in CMDfetch is what I want to do...) /r$
Re: trn 3.0: more kills than the average summer movie!
Author: Wayne Davison
Date: Fri, 18 Jun 1993 17:57
Date: Fri, 18 Jun 1993 17:57
13 lines
1393 bytes
1393 bytes
Rich Salz <rsalz@osf.org> wrote: > Currently the ARTICLE, BODY, HEAD, and STAT commands do not validate > their argument to see if you are picking a number outside of the current > article range. I should probably change the commands to do that, and will > for 1.5. PLEASE no. There has got to be some way to quickly find new news in an NNTP newsreader without having to ship the whole active file around. I've had many bug reports that you have to terminate trn and restart it in order to see a follow-up article and this is simply unacceptable. You want me to ask for the active file every minute or two? .wayne..
Re: trn 3.0: more kills than the average summer movie!
Author: Alan Barrett
Date: Sat, 19 Jun 1993 15:25
Date: Sat, 19 Jun 1993 15:25
15 lines
1515 bytes
1515 bytes
In article <C8twKM.MHH@borland.com>, davison@borland.com (Wayne Davison) writes: > Rich Salz <rsalz@osf.org> wrote: > > Currently the ARTICLE, BODY, HEAD, and STAT commands do not validate > > their argument to see if you are picking a number outside of the current > > article range. I should probably change the commands to do that, and will > > for 1.5. > PLEASE no. There has got to be some way to quickly find new news in an > NNTP newsreader without having to ship the whole active file around. Re-issuing a GROUP command seems to me to be The Right Way for a reader to find whether the group has changed size, and NNTP implementations that do not support this should be fixed. --apb (Alan Barrett)
Re: trn 3.0: more kills than the average summer movie!
Author: Larry W. Virden
Date: Sun, 20 Jun 1993 10:33
Date: Sun, 20 Jun 1993 10:33
7 lines
1183 bytes
1183 bytes
I am not not familar with NNTP but from comments made here on the net, the GROUP command returns the entire active file - correct? Is there not an option for the GROUP comand to return the info for just one group? -- :s :s Larry W. Virden INET: lvirden@cas.org :s Personal: 674 Falls Place, Reynoldsburg, OH 43068-1614
Re: trn 3.0: more kills than the average summer movie!
Author: Frank Peters
Date: Sun, 20 Jun 1993 16:26
Date: Sun, 20 Jun 1993 16:26
11 lines
1433 bytes
1433 bytes
In article <1993Jun20.103304.20336@cas.org> lvirden@cas.org says: : : I am not not familar with NNTP but from comments made here on the net, : the GROUP command returns the entire active file - correct? Is there not : an option for the GROUP comand to return the info for just one group? No, the GROUP command returns the number of articles and the lowest and highest article numbers for a given group. -- Frank Peters - UNIX Systems Programmer - Mississippi State University Internet: fwp@CC.MsState.Edu - Phone: (601)325-7030 - FAX: (601)325-8921
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