Thread View: news.software.nntp
3 messages
3 total messages
Started by Rich Thomson
Mon, 21 Oct 1991 05:28
Rn barfs when .newsrc > 1000 lines?
Author: Rich Thomson
Date: Mon, 21 Oct 1991 05:28
Date: Mon, 21 Oct 1991 05:28
25 lines
1989 bytes
1989 bytes
I like the idea of adding groups to my .newsrc when they are created, even if I don't subscribe to them. Then I can find the name of the group quickly by fgrepping my .newsrc when I want to wander over there. However, rn (even version 4.14) has been seg faulting alot on me lately and trashing my .newsrc. I was editing my .newsrc after one of these crashes when I noticed that my .newsrc was exactly 1001 lines long. Well, this seemed to be too much of a coincidence to me, so I removed all lines corresponding to newsgroups for which I had unsubscribed. Then things worked fine. Is there some magic number in the rn program that thinks my .newsrc will always have less than 1000 lines in it? Has anyone else encountered these problems with rn? Previously we had a problem with rn indexing its copy of the active file with a short. Guess what happened when the file length exceeded the size of what a short can hold and rn does fseek(size)... -- Rich -- ``Read my MIPS -- no new VAXes!!'' -- George Bush after sniffing freon Disclaimer: I speak for myself, except as noted. UUCP: ...!uunet!dsd.es.com!rthomson Rich Thomson Internet: rthomson@dsd.es.com IRC: _Rich_ PEXt Programmer
Re: Rn barfs when .newsrc > 1000 lines?
Author: Rich Thomson
Date: Mon, 21 Oct 1991 06:34
Date: Mon, 21 Oct 1991 06:34
12 lines
1251 bytes
1251 bytes
In article <1991Oct21.052817.12041@dsd.es.com> I wrote: > >However, rn (even version 4.14) [...] Ooops. I meant to say version 4.4, patchlevel 1. -- Rich -- ``Read my MIPS -- no new VAXes!!'' -- George Bush after sniffing freon Disclaimer: I speak for myself, except as noted. UUCP: ...!uunet!dsd.es.com!rthomson Rich Thomson Internet: rthomson@dsd.es.com IRC: _Rich_ PEXt Programmer
Re: Rn barfs when .newsrc > 1000 lines?
Author: Stan Barber
Date: Tue, 22 Oct 1991 15:13
Date: Tue, 22 Oct 1991 15:13
25 lines
1856 bytes
1856 bytes
In article <1991Oct21.052817.12041@dsd.es.com> rthomson@dsd.es.com (Rich Thomson) writes: >However, rn (even version 4.14) has been seg faulting alot on me >lately and trashing my .newsrc. I was editing my .newsrc after one of >these crashes when I noticed that my .newsrc was exactly 1001 lines >long. Well, this seemed to be too much of a coincidence to me, so I >removed all lines corresponding to newsgroups for which I had >unsubscribed. I have 1270 lines in my .newsrc and have never had a seg fault. I am on a Sun. I don't know what you are running on. rn 4.4 is not supposed to act this way, but some versions of malloc and friends don't work well on some systems. This would account for your problems. If you have access to an alternative malloc library, you should try that and see if your situation improves. If you have more problems, send mail to "rrn@lib.tmc.edu" -- Stan internet: sob@bcm.tmc.edu Director, Networking Olan uucp: rutgers!bcm!sob and Systems Support Barber Opinions expressed are only mine. Baylor College of Medicine
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