Thread View: news.software.readers
2 messages
2 total messages
Started by Jon Bell
Wed, 12 Oct 1994 11:20
"Hash table is invalid" in trn?
Author: Jon Bell
Date: Wed, 12 Oct 1994 11:20
Date: Wed, 12 Oct 1994 11:20
12 lines
1227 bytes
1227 bytes
What causes trn to quit with the error message "Hash table is invalid"? It happens here when someone is reading news.answers (currently about 1300 articles) and hits 'n' at the pager level to go on to the next article. It doesn't seem to have anything to do with the length of the news.answers entry in the .newsrc (my first thought). Catching up, deleting the .newsrc entry, and then re-subscribing produces the same results. -- Jon Bell <jtbell@presby.edu> Presbyterian College Dept. of Physics and Computer Science Clinton, South Carolina USA
Re: "Hash table is invalid" in trn?
Author: Wayne Davison
Date: Wed, 12 Oct 1994 16:28
Date: Wed, 12 Oct 1994 16:28
23 lines
1316 bytes
1316 bytes
According to Jon Bell <jtbell@presby.edu>:
> What causes trn to quit with the error message "Hash table is invalid"?
> It happens here when someone is reading news.answers
There is a news article in news.answers that is almost all header, and
this triggered a bug in trn that is fixed by the following patch:
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
This fix will appear in trn 3.6, as soon as I get it released.
--
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