🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by David W. Hercher Sat, 25 Mar 1995 17:53
uqwk won't work! (segmentation fault, core dumped)
#16383
Author: David W. Hercher
Date: Sat, 25 Mar 1995 17:53
23 lines
1774 bytes
Over the last week, I have been unable to get uqwk to work.
Until it stopped working, I used uqwk to prepare SOUP packets to
download and read with Yarn.

Here is what happens:

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!!!

**********************************************************
David W. Hercher
Redmond, Washington
dhercher@halcyon.com
**********************************************************

Re: uqwk won't work! (segmentation fault, core dumped)
#16379
Author: 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
Re: uqwk won't work! (segmentation fault, core dumped)
#16441
Author: Tony B. Shepherd
Date: Tue, 28 Mar 1995 00:39
34 lines
2561 bytes
In article <Pine.ULT.3.91.950325094349.23410A-100000@coho.halcyon.com>,
  "David W. Hercher" <dhercher@halcyon.halcyon.com> wrote:
] Over the last week, I have been unable to get uqwk to work.
] Until it stopped working, I used uqwk to prepare SOUP packets to
] download and read with Yarn.
] Here is what happens:
] I type:    uqwk +m +n +x +L -B0
] Response:  Segmentation fault (core dumped)
  { etc }

I've helped quite a few people with this (I _gotta_ save this answer on
disk somewhere :-) - the problem is cross-postings.  What needs to be done
to your '.newsrc' file is the following:
  change {newsgroup}! {long list of numbers} {newline}
      to {newsgroup}! {newline}
                    ^^------------the exclamation and space are important!!

The run trn - it will become _very_ hysterical and fix the rest of the
file correctly.  I do mine every few weeks - last week one line was over
3000 (yeah - 3000) characters long - for a group I don't subscribe to!

Here's briefly what happens.  You subscribe to newsgroup OFTEN, and every
even-numbered posting is cross-posted to the newsgroup NEVER.  You read all
numbered posts in OFTEN.  After post 999, your .newsrc looks like this:
  OFTEN: 1-999
  NEVER! 2,4,6,8,10,12,14,16, . . .    <<< bodacious really long line!!!!!!

You may be able to look at the file with something like 'more' to confirm
this diagnosis.  Personally, I download (a copy of) .newsrc and fix it on
my PC - and also see if I want to change my subscribed groups.  YMMV!!

--
Regards  --  Tony B. Shepherd  --  tbs@iii.net
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