🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #13598

Re: 'k', 'U', 't' coredumps trn3.6

#13598
From: Wayne Davison
Date: Fri, 09 Dec 1994 01:32
52 lines
2441 bytes
According to Steven M. Schultz <sms@WLV.IIPO.GTEGSC.COM>:
> 		k   # to kill the subject
> 		U   # oops, I changed my mind
> 		(get the "+tasn" prompt)
> 		t
> 		B**M

The "Ut" command erroneously assumes that the group is threaded.  Tell
your rn users to be brave and start running "rn -X -x" or "rn -X +x" and
all will be well.  :-)

Alternately, the following patch should fix the problem (the line number
may well be wrong -- this is based on something newer than 3.6):

Index:ng.c
@@ -540,5 +540,8 @@
 	    return AS_ASK;
 	else if (*buf == 't' && u_help_thread != nullstr) {
-	    unkill_thread(artp->subj->thread);
+	    if (artp->subj->thread)
+		unkill_thread(artp->subj->thread);
+	    else
+		unkill_subject(artp->subj);
 	    if ((artp = first_art(artp->subj)) != NULL)
 		art = article_num(artp);


> There's no such routine 'decb', so it would appear that there's
> a stack or malloc-arena curdling going on.

This is the traditional stack-mangling that happens on many systems when a
signal-handler decides to go ahead an core dump -- the backtrace is all
messed up.  If you want to get a better dump, try running trn with the -D2
option and it should dump right away instead of trying to handle the signal
itself.  Better yet, run trn under a debugger and get the back trace when
the signal gets generated from the debugger without resorting to a core
file.

> 	Is 'U' then 't' illegal in "rn" mode?

Apparently so (until patched).

> The older 4.4.x version of rn apparently handled unkilling subjects
> differently ('better' was the word used to me)...

Better?!  The old, rn-ways still work, so I don't understand this comment.
Rn didn't have any way to do this without typing the subject, like this:

	/subject/m
-- 
Wayne Davison
davison@borland.com
Technical Details
Message-ID: <D0IsAp.JEy@borland.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.readers.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!concert!decwrl!borland.com!davison
References: <D071Lv.ExH@wlbr.iipo.gtegsc.com>

Show Full Headers
Complete Article Headers
Message-ID: <D0IsAp.JEy@borland.com>
Subject: Re: 'k', 'U', 't' coredumps trn3.6
Date: Fri, 9 Dec 1994 01:32:48 GMT
From: davison@borland.com (Wayne Davison)
References: <D071Lv.ExH@wlbr.iipo.gtegsc.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.readers.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!concert!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 52