🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Tim Rosmus Fri, 03 Sep 1993 18:34
NN + NOV problem?
#4747
Author: Tim Rosmus
Date: Fri, 03 Sep 1993 18:34
36 lines
2437 bytes
  I'm testing the NN + NOV setup made by Peter Orbaek and am
having problems with reading the overview database via XOVER.

The news system is INN-1.4 running on a SPARC 1+ with 4.1.3.

The problem seems to be that when NN gets the NOV data via
the XOVER extension, it never terminates when it receives
the final ".^M\n" line from nnrpd so NN just hangs at this point.

a dbx dump of it shows .....

read() at 0x5da24
_filbuf() at 0x4e4ac
fgets() at 0x5bd30
fgetfln(fp = 0x7863c, limit = -1, lengthp = (nil)), line 97 in "nov/libc/fgetfln.c"
fgetms(fp = 0x7863c), line 37 in "nov/libc/fgetmfs.c"
prsoverview(gp = 0x158250), line 215 in "nov/libnov/lib.c"
novall(gp = 0x158250), line 80 in "nov/libnov/lib.c"
db_read_group(gh = 0x11c1c8), line 589 in "db.c"
access_group(gh = 0x11c1c8, first_article = 3017, last_article = 3032, flags = 16384, mask = (nil)), line 247 in "articles.c"
group_menu(gh = 0x11c1c8, first_art = -1, access_mode = 16384, mask = (nil), menu = &menu() at 0x236d0), line 301 in "group.c"
read_news(access_mode = 0, mask = (nil)), line 300 in "nn.c"
main(argc = 1, argv = 0xf7fffe34), line 1010 in "nn.c"


The last "(fgets(stp->segment, stp->incr+1, fp) == NULL)" shows that
stp->segment contains ".^M\n" marking the end of the nov information
but the program just goes back for another fgets and hangs instead
of returning.

Anybody seen this problem or have a fix (or even a hint)?  Thanks.
-- 
 Internet:         <tim@mdd.comm.mot.com> |    Tim Rosmus (Sys Analyst)
 Motorola-X400-ID: <ctr001@email.mot.com> | Motorola - Wireless Data Group
 ...uw-beaver!uw-coco----\   (uucp)       |    19807 North Creek Parkway
 ...uunet-------------------!mdisea!tim   |   Bothell, WA  (206) 487-5928
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