🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4747

NN + NOV problem?

#4747
From: 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
Technical Details
Message-ID: <1993Sep3.183434.6930@mdd.comm.mot.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mdisea!tim

Show Full Headers
Complete Article Headers
Message-ID: <1993Sep3.183434.6930@mdd.comm.mot.com>
Subject: NN + NOV problem?
Date: Fri, 3 Sep 1993 18:34:34 GMT
From: tim@mdd.comm.mot.com (Tim Rosmus)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mdisea!tim
Newsgroups: news.software.nn,news.software.b
Summary: overview reads never terminate.
Sender: news@mdd.comm.mot.com
Organization: Motorola, Wireless Data Group - Seattle, WA
Distribution: na
Lines: 36