🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Tim Pierce Thu, 08 Oct 1992 15:26
TIN 1.1 PL6 problems: long .newsrc lines, tind dying
#2339
Author: Tim Pierce
Date: Thu, 08 Oct 1992 15:26
27 lines
2015 bytes
(Posted to news.software.readers; cc'ed to Iain.)

Two problems I've noticed this morning.

(a) Tind is suddenly dying on startup with a SIGSEGV.  I run it (su'ed
to news) every fifteen minutes in crontab, and have not recently
recompiled or reinstalled either tin or tind.  I will poke at the
source later to look for obvious problems, but does this ring a bell
with anyone?  Might it be related to the suddenly enormous number of
".newsrc.nnnn" files, where nnnn is some number between three and five
digits, in news' home directory?

(b) A less serious problem, I think.  When reading in the user's
.newsrc file, tin truncates lines to LEN characters (1024, as defined
in tin.h).  Unfortunately, newsreaders like trn, my newsreader of
choice, tends to create very long lines in .newsrc (since it
encourages reading articles out of chronological sequence, and it also
frequently marks cross-referenced articles as read in unsubscribed
newsgroups).  If one switches between trn and tin periodically, the
.newsrc lines get munged.  If folks like the idea, I will write a
patch to allow tin to accept arbitrarily long .newsrc lines and submit
it to Iain.

-- 
____ Tim Pierce                / "You are just naive and repressed because
\  / twpierce@unix.amherst.edu /  penis envy is here and it's now and it's
 \/ (BITnet: TWPIERCE@AMHERST) /  all around you." -- Neal C. Wickham
Re: TIN 1.1 PL6 problems: long .newsrc lines, tind dying
#2348
Author: Iain Lea
Date: Fri, 09 Oct 1992 10:55
23 lines
1687 bytes
Tim Pierce (twpierce@unix.amherst.edu) wrote:
: 
: (a) Tind is suddenly dying on startup with a SIGSEGV.  I run it (su'ed
: to news) every fifteen minutes in crontab, and have not recently
: recompiled or reinstalled either tin or tind.  I will poke at the
: source later to look for obvious problems, but does this ring a bell
: with anyone?

This could be a problem that a group in the active file has an 'x' in
the fourth field. Tin v1.1 PL6 will not load the 'x'ed group into the
active[] array. Unfortunately the groupname is loaded into the hashed 
table for looking up groups,  so an inconsist active[] array and hash
table result therefore giving rise to a SIGSEGV.

This problem has been fixed in the next release.

Iain

--
NAME   Iain Lea 
EMAIL  Iain.Lea%anl433.uucp@Germany.EU.net
SNAIL  Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
PHONE  +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)  
Re: TIN 1.1 PL6 problems: long .newsrc lines, tind dying
#2352
Author: Peter Mckinney
Date: Fri, 09 Oct 1992 17:51
28 lines
2289 bytes
Tim Pierce (twpierce@unix.amherst.edu) wrote:
: (Posted to news.software.readers; cc'ed to Iain.)
: 
: Two problems I've noticed this morning.
: 
: (a) Tind is suddenly dying on startup with a SIGSEGV.  I run it (su'ed
: to news) every fifteen minutes in crontab, and have not recently
: recompiled or reinstalled either tin or tind.  I will poke at the
: source later to look for obvious problems, but does this ring a bell
: with anyone?  Might it be related to the suddenly enormous number of
: ".newsrc.nnnn" files, where nnnn is some number between three and five
: digits, in news' home directory?
: 

I have experienced the same problem and have not been able to trace it
to any particular sequence of events.  It appears to occur randomly (and
more often than not, now).  I get a SIGSEV(11) error just after (or
occasionally just before the "new group" question.

- Pete
--
____________________________________________________________________________
| Peter J. McKinney                     pm860605@longs.LANCE.ColoState.Edu |
| Electrohydrodynamic Laboratory                                           |
| Fluid Mechanics and Wind Engineering Program                             |
| Civil Engineering Department                                             |
| Colorado State University                                                |
----------------------------------------------------------------------------
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