Article View: news.software.readers
Article #12183trn 3.4 hanging in article selection
From: Paul Tomblin
Date: Fri, 28 Oct 1994 00:07
Date: Fri, 28 Oct 1994 00:07
50 lines
2661 bytes
2661 bytes
I have a Linux platform with the Cnews that came with Slackware 2.0. It
appears to be pre-performance release Cnews. No threads or NOV.
I installed trn 3.4 from the source code that was on my Linux CDROM. No hacks
or other messing about.
When reading news, trn FREQUENTLY hangs when spacing off the end of an
article. If you kill it and come back in and select the same article again,
it will hang again. One that I have on my system right now has an thread tree
of:
-( )+-(1)+-(1)
| \-( )--(1)--(1)
\-( )--( )--( )--(2)
-( )+-(2)+-(2)
| \-( )--( )+-(2)--(2)
| \-( )+-(2)
| \-( )+-(2)
| |-(2)
| \-(2)
\-( )+-( )--(2)+-(2)
| \-(2)
\-( )--( )--[2]
^^^---- This is the article that hangs.
The code appears to be in a loop around some code in next_art() in rthread.c
that is looking for the next sibling and seeing if it's selected. It finds a
new article, returns to inc_art(), where it checks
sel_flag && !(ap->flags & AF_SEL))))
and loops around again.
FWIW:
(gdb) p *ap
$16 = {date = 782957682, subj = 0x6bb60,
from = 0x6cc40 "sethb@panix.com (Seth Breidbart)",
msgid = 0x6bb40 "<38eu9i$5p1@panix3.panix.com>", xrefs = 0x3b850 "",
parent = 0x6cbc0, child1 = 0x60860, sibling = 0x0, subj_next = 0x60860,
flags = 8416, padding = 0}
(gdb) s
260 || (sel_flag && !(ap->flags & AF_SEL))));
(gdb) p sel_flag
$17 = 1
(gdb) p ap->flags
$18 = 8416
Any ideas? Known bug?
--
Paul Tomblin, speaking from but not for telemax.com
"Leave the beaten track occasionally, and dive into the woods. You will be
certain to find something that you have never seen before."
-- Alexander Graham Bell
Technical Details
Message-ID:
<1994Oct28.000745.21958@compass.telemax.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!nntp.gmd.de!xlink.net!xlink100!smurf.noris.de!msn!faulrs!fauern!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!Germany.EU.net!EU.net!howland.reston.ans.net!usenet.ins.cwru.edu!neoucom.edu!redpoll!compass!ptomblinShow Full Headers
Complete Article Headers
Message-ID: <1994Oct28.000745.21958@compass.telemax.com> Subject: trn 3.4 hanging in article selection Date: Fri, 28 Oct 1994 00:07:45 GMT From: ptomblin@compass.telemax.com (Paul Tomblin) 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!nntp.gmd.de!xlink.net!xlink100!smurf.noris.de!msn!faulrs!fauern!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!Germany.EU.net!EU.net!howland.reston.ans.net!usenet.ins.cwru.edu!neoucom.edu!redpoll!compass!ptomblin Newsgroups: news.software.readers Organization: Compass: Paul Tomblin's Personal Machine, Akron, Ohio Lines: 50