Thread View: news.software.readers
4 messages
4 total messages
Started by RusH
Fri, 19 Dec 2003 01:21
[xnews]access violation and score
Author: RusH
Date: Fri, 19 Dec 2003 01:21
Date: Fri, 19 Dec 2003 01:21
46 lines
2305 bytes
2305 bytes
:/ I cant score, everytime i try to add something to scorefile i receive AV's when downloading headers. Its weird becouse before my scorefile worked fine, but then i got this idea to filter trolls and added this to my scorefile : [.] Score: -1100 References: inews\.gazeta\.pl Score: -1100 References: newsgate\.onet\.pl Score: -1100 References: newsgate\.test\.onet\.pl Score: -1100 References: polnews\.pl Score: -1100 Message-ID: polnews\.pl Score:: -9999 NNTP-Posting-Host: inews\.gazeta\.pl Score:: -9999 NNTP-Posting-Host: newsgate\.onet\.pl Score:: -9999 NNTP-Posting-Host: newsgate\.test\.onet\.pl and all the hell broke lose. Lots of AV. The weird part is that I had some lines in my score file earlier " [.] Score:: 1000 From: lcamtuf@dione\.ids\.pl Score:: =1000 From: renya@poczta\.fm Score:: =1000 From: NOspam@sierp\.netwytnijcalosc and it worked, but now even one score in scorefile like this [.] Score:: 1000 From: renya@poczta\.fm makes Xnews puke on me. WTF ? Tried 3 versions of Xnewd (5.x 6.x and the newest test).
Re: [xnews]access violation and score
Author: John Wunderlich
Date: Fri, 19 Dec 2003 23:36
Date: Fri, 19 Dec 2003 23:36
48 lines
2928 bytes
2928 bytes
RusH <rush@kiti.pulse.pdi.net> wrote in news:Xns9456DA7AACA5RusHcomputersystems@193.110.122.80: > I cant score, everytime i try to add something to scorefile i > receive AV's when downloading headers. > Its weird becouse before my scorefile worked fine, but then i got > this idea to filter trolls and added this to my scorefile : > > [...] > Score:: -9999 > NNTP-Posting-Host: inews\.gazeta\.pl The thing that you did differently was to score on a field that is not included in the XOVER command [NNTP-Posting-Host]. When you did this, you kicked in another set of processing code that makes use of the XHDR command which is not supported on all NNTP servers. My advice would be to stick to the standard XOVER headers: subject, from, message-id, lines, xref, and bytes. You probably fall into caveat #5 of the following quote from the Changes document that accompanied version 5.01.09: ---------- + Yes, Virginia, you can now score on non-standard headers such as NNTP-Posting-Host. By non standard headers, I mean those that are NOT included in XOVER) . As with everything Xnews, there are caveats: 1) Your server must support the XHDR command. As I understand it, most do. However, some servers (e.g., Typhoon) only support the standard XOVER headers, so you still can't score on anything other than the standard headers (subject, from, message-id, lines, xref, and now, bytes). 2) It takes time to download those extra headers. 3) I don't save them in storage, so if you have ScoreStoredArticles=1, scores with non standard headers will not work on stored headers. 4) If you edit the score file while a group is opened and add one or more non-standard headers, those scores will not take effect til next time you open the group. 5) I'm sure I added a bunch of bugs. ------------ HTH, John
Re: [xnews]access violation and score
Author: John Wunderlich
Date: Fri, 19 Dec 2003 23:43
Date: Fri, 19 Dec 2003 23:43
19 lines
1449 bytes
1449 bytes
RusH <rush@kiti.pulse.pdi.net> wrote in news:Xns9456DA7AACA5RusHcomputersystems@193.110.122.80: > and it worked, but now even one score in scorefile like this > > [.] > Score:: 1000 > From: renya@poczta\.fm > > makes Xnews puke on me. Just out of curiosity, what happens if you only put a single colon after "Score" as in: Score: 1000 From: renya@poczta\.fm ? -- John
Re: [xnews]access violation and score
Author: RusH
Date: Sat, 20 Dec 2003 11:37
Date: Sat, 20 Dec 2003 11:37
26 lines
2268 bytes
2268 bytes
John Wunderlich <jwunderlich@lycos.com> wrote in news:Xns94569FF7A3CB1wunderpsdrscraytheon@24.50.78.38: > RusH <rush@kiti.pulse.pdi.net> wrote in > news:Xns9456DA7AACA5RusHcomputersystems@193.110.122.80: > >> and it worked, but now even one score in scorefile like this >> >> [.] >> Score:: 1000 >> From: renya@poczta\.fm >> >> makes Xnews puke on me. > > Just out of curiosity, what happens if you only put a single colon > after "Score" as in: > > Score: 1000 > From: renya@poczta\.fm same thing, and I know that "Yes, Virginia, you can now.." quote :) But xnews turns belly up instead of not scoring :/ I discovered new thing - it AV's only when i try to feth more than one group at a time. When i feth only one everything is ok. Seems like XNews doesnt like to share some data structures amongs fething threads - looks like a bad code to me, there is a bug somewhere.
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