Thread View: news.software.readers
2 messages
2 total messages
Started by R. Michael Foster
Tue, 30 Aug 1994 14:52
TRN v3.5 dumps core subscribing to "comp.answers"
Author: R. Michael Foster
Date: Tue, 30 Aug 1994 14:52
Date: Tue, 30 Aug 1994 14:52
61 lines
3202 bytes
3202 bytes
Hello - I've been fortunate in my first six months or so as a news manager in that I've seldom had a problem that wasn't very simple to correct. About two months ago I upgraded to trn version 3.5, without a single reported problem until this week. The two problems detailed below have escaped my meager capabilities to resolve them. Any advice (honest, I _have_ RTFMed!) would be most appreciated. Problem 1: TRN v.3.5 reports a segmentation fault and dumps core when subscribing to group "comp.answers". Subscribing to other newsgroups (I've tested about a dozen, including unsubscribing and resubscribing to groups) is successful (with one exception, see problem 2). Expires occur nightly, and the server status is correct after the expire is completed. We've been at TRN v.3.5 for 8 weeks with no other hint of a problem. -- Version Info: @(#)$Id: trn.c,v 3.0 1991/11/22 00:14:59 davison Trn $ Version: 3.5 -- Example of Problem 1: ====== 169 unread articles in comp.lang.ada -- read now? [+ynq] g comp.answers Newsgroup comp.answers not in .newsrc -- subscribe? [ynYN] Put newsgroup where? [$^.Lq] ====== 68 unread articles in comp.answers -- read now? [+ynq] Threading 61 articles. Caught a SIGSEGV--.newsrc restored IOT/Abort trap(coredump) -- and exits the reader upon dumping core. The active file, upon viewing, appears accurate with regards to group "comp.answers". I tried an octal dump to detect unprintable characters in the "comp.answers" vicinity. The file/path permissions for postings in "comp.answers" is consistent with all other newsgroups. At this point I'm more confused than I normally am! Problem 2: TRN v.3.5 reports invalid hash table when subscribing to group "news.answers". 'ctlinnd renumber news.answers' returns Ok. File/path permissions for news.answers match all other newsgroups. Active file entry for news.answers has no stray non-printable characters. -- Example of Problem 2: ====== 169 unread articles in comp.lang.ada -- read now? [+ynq] g news.answers Newsgroup news.answers is unsubscribed -- resubscribe? [yn] ====== 54 unread articles in news.answers -- read now? [+ynq] (List of threaded articles displays properly, then...) Hash table is invalid. -- TRN v.3.5 is exited after invalid hash table is reported. Please reply directly by mail - I'll summarize and post. Many thanks, Mike Foster fosterm@source.asset.com
Re: TRN v3.5 dumps core subscribing to "comp.answers"
Author: Wayne Davison
Date: Wed, 31 Aug 1994 01:45
Date: Wed, 31 Aug 1994 01:45
26 lines
1542 bytes
1542 bytes
According to R. Michael Foster <fosterm@source.asset.com>:
> Problem 1: TRN v.3.5 reports a segmentation fault and dumps core when
> subscribing to group "comp.answers". [...]
> Problem 2: TRN v.3.5 reports invalid hash table when subscribing to group
> "news.answers".
Sounds like the problem Ben Golding just posted a fix for -- an article
with an overly-long header just showed up and revealed a bug in the
header-caching code. My version of his patch will be in version 3.6
and looks like this:
Index:head.c
@@ -263,6 +263,8 @@
while (in_header) {
if (headbuf_size < artpos + LBUFLEN) {
+ len = bp - headbuf;
headbuf_size += LBUFLEN * 4;
headbuf = saferealloc(headbuf,headbuf_size);
+ bp = headbuf + len;
}
#ifdef USE_NNTP
Thanks again, Ben!
--
Wayne Davison
davison@borland.com
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