🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #16379

Re: uqwk won't work! (segmentation fault, core dumped)

#16379
From: Mike Ryan
Date: Sat, 25 Mar 1995 16:52
53 lines
3529 bytes
In article <Pine.ULT.3.91.950325094349.23410A-100000@coho.halcyon.com>,
"David W. Hercher" <dhercher@halcyon.halcyon.com> wrote:
> I type:    uqwk +m +n +x +L -B0
> Response:  Segmentation fault (core dumped)
>
> I also get a file called "core" (593,920 bytes) in my home directory.
> I tried every permutation of the uqwk I could think of.  Just for fund, I
> zipped "core," downloaded the zipped, file, and ran it through Yarn's
> import program, which resulted in jibberish in my yarnx screen.  I
> had used the foregoing command with perfect success for several months.
> Help!!!

Well, trying to use the "core" file isn't going to help:-). "core" is
the file generated by any Unix program that crashes. A Unix programmer
armed with a debugger can use it to determine why the program crashed.

The one cause of uqwk crashes I've run into is long subject lines making
it crash in summary mode (an article in alt.computer.consultants was
doing this to my wife a couple of weeks ago). You're not in summary
mode, so that's not the specific problem, but I would suspect that
the problem is being triggered by some bogus article in one of your
newsgroups. When I see something like this happening, this is how
I get around it:

1. See what newsgroup it's working on (the last one displayed on the
screen before the crash). Edit the .newsrc file and temporarily
unsubscribe to that newsgroup (change the : to a !).

2. Run uqwk again and see if it works - if so, that newsgroup is the
culprit.

3. Edit the .newsrc file and resubscribe the newsgroup file, adding some
arbitrary number to the last article number on the line (to try to skip
past the offending article). Use trial and error (guided by your own
sense of how many articles are typically posted to that group per day)
to find a "safe" article number. If it's important that you don't miss
*any* articles in that newsgroup, you'll have to use trial-and-error
to find the specific article number to skip.

4. Alternatively, you could read the offending newsgroup in an online
newsreader and see if you can spot any obviously malformed articles.
View the full header for the article to see which article number to
skip in the .newsrc.

Oh, and I almost forgot (since it hasn't happened to me) - there are
reports that very long lines in the .newsrc file can cause uqwk to
crash - look for those when editing your .newsrc and clean them up
(I think they're typically caused by cross-postings between subscribed
and unsubscribed newsgroups).

Mike Ryan
Virtuoso Software
Technical Details
Message-ID: <qe4TlW1ocU5O075yn@virtuoso.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-halcyon.general.mbox.zip!nntp.gmd.de!dearn!blekul11!ccsdec1.ufsia.ac.be!reks.uia.ac.be!idefix.CS.kuleuven.ac.be! Belgium.EU.net!EU.net!howland.reston.ans.net!gatech!udel!news.mathworks.com!news.kei.com!world!mikeryan
References: <Pine.ULT.3.91.950325094349.23410A-100000@coho.halcyon.com>

Show Full Headers
Complete Article Headers
Message-ID: <qe4TlW1ocU5O075yn@virtuoso.com>
Subject: Re: uqwk won't work! (segmentation fault, core dumped)
Date: Sat, 25 Mar 1995 16:52:04 GMT
From: mikeryan@virtuoso.com (Mike Ryan)
References: <Pine.ULT.3.91.950325094349.23410A-100000@coho.halcyon.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-halcyon.general.mbox.zip!nntp.gmd.de!dearn!blekul11!ccsdec1.ufsia.ac.be!reks.uia.ac.be!idefix.CS.kuleuven.ac.be! Belgium.EU.net!EU.net!howland.reston.ans.net!gatech!udel!news.mathworks.com!news.kei.com!world!mikeryan
Newsgroups: alt.usenet.offline-reader,news.software.readers,halcyon.general,halcyon.slip
Sender: mikeryan@world.std.com (Mike Ryan)
Reply-To: mikeryan@virtuoso.com
Organization: Virtuoso Software
Lines: 52