Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* 'trn' (threaded news reader) for OSF/1
@ 1994-12-01  0:24 Mark Keppinger
  1994-12-01  1:13 ` David Messner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mark Keppinger @ 1994-12-01  0:24 UTC (permalink / raw)


Does anyone have 'trn' running on OSF/1 Version 2.0B or 2.1B?  How about 
version 3.0?  We will be upgrading to 3.0 December 10th.  The machine 
is an AXP 2100 running with enhanced security (C2).  We can get it
to compile and run.  But it aborts when trying to read a news group that
has a thread.  A hard link 'rn' does not have any problems.  The following
is what happens when reading a news group that has a thread (example is 
version 3.4.1 but also happens on the new 3.6):

ucs /usr/local/src 28% cd trn-3.4.1
ucs /usr/local/src/trn-3.4.1 29% ls -l trn
-rwxr--r--   1 keppingm ucs_sys   677357 Oct 15 07:18 trn
ucs /usr/local/src/trn-3.4.1 30% ls -l /usr/local/bin/trn.new
-rwxr-xr-x   2 root     system    401408 Oct  8 23:13 /usr/local/bin/trn.new
ucs /usr/local/src/trn-3.4.1 31% dbx trn
dbx version 3.11.4
Type 'help' for help.

main:  82  if ((s = rindex(argv[0],'/')) == Nullch)
(dbx) run
Unread news in orst.announce                                3 articles
Unread news in orst.chem.pchem                              2 articles
Unread news in orst.cs.261                                 13 articles
Unread news in orst.cs.325                                  5 articles
Unread news in orst.cs.391                                 17 articles
etc.

Finding new newsgroups:

Newsgroup misc.forsale.computers.mac-specific.misc not in .newsrc --
subscribe? 

. . . goes into full screen mode, and this is what the screen shows . . .
orst.announce          3 articles

signal Segmentation fault at   [memcmp:61 ,0x3ff81025e94] CmSci  Source not
availableS Students     1  >Movie
(dbx) Pugh          1  NeXT USER GROUP MEETING: Friday, Nov 11, 1994 at 3pm

-- Select threads (date order) -- All [Z>] --

(dbx) where
>  0 memcmp(0x11ffff3a8, 0x14015e8c0, 0x140009308, 0x140011061, 0x12004da88)
["../../../../../src/usr/ccs/lib/libc/alpha/memcmp.s":61, 0x3ff81025e94]
   1 msgid_cmp(0x0, 0xc9, 0x0, 0x1e, 0xa38) ["rt-process.c":76, 0x1200337e8]
   2 hashfind(0xb74, 0xc9, 0x1000000c9, 0x1400dd0b0, 0x140011060)
["hash.c":203, 0x1200152a8]
   3 hashfetch(0x11ffff308, 0x12e50317c, 0x120033bdc, 0x1e, 0x0)
["hash.c":134, 0x120015020]
   4 get_article(0x1400110d5, 0x1400110f2, 0x120032fc0, 0x14015e870,
0x12003418c) ["rt-process.c":176, 0x120033c10]
   5 thread_article(0x1000020e0, 0x0, 0x1400110f9, 0x1400110fc, 0x120032ebc)
["rt-process.c":270, 0x120034010]
   6 ov_data(0x31d, 0x34b, 0x0, 0x3ffc100fef0, 0x120013218) ["rt-ov.c":151,
0x120032fd4]
   7 cache_all_arts(0x120013218, 0x1, 0x12001323c, 0x3ffc100fef0, 0x140009308)
["cache.c":685, 0x1200136fc]
    8 cache_until_key(0x12001323c, 0x3ffc100fef0, 0x140009308, 0x34e,
0x120037494) ["cache.c":609, 0x120013238]
   9 do_selector(0x100000000, 0x100000000, 0x12001e590, 0xffffffff,
0x1ffffffff) ["rt-select.c":179, 0x120037490]
  10 art_switch(0x12001e1b8, 0x1201, 0x100000000, 0x1201, 0x12001e1c8)
["ng.c":946, 0x12001fe00]
  11 do_newsgroup(0x0, 0x1201, 0x120048cf4, 0x1201, 0x140011060) ["ng.c":372,
0x12001e2f4]
  12 main(0x2, 0x0, 0x100000001, 0x0, 0x3ff00000001) ["trn.c":557,
0x120048d50]
(dbx) quit
ucs /usr/local/src/trn-3.4.1 32% 

A
A
A
A



-- 
Mark Keppinger                Internet: keppingm@ucs.orst.edu       
University Computing Services           keppingm@ccmail.orst.edu   
Oregon State University
Corvallis, OR 97331-5202         Phone: (503) 737-4483           


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'trn' (threaded news reader) for OSF/1
  1994-12-01  0:24 'trn' (threaded news reader) for OSF/1 Mark Keppinger
@ 1994-12-01  1:13 ` David Messner
  1994-12-01 18:24 ` Torbj|rn Lindgren
  1994-12-03  0:09 ` Jeff Makey
  2 siblings, 0 replies; 4+ messages in thread
From: David Messner @ 1994-12-01  1:13 UTC (permalink / raw)


In article <3bj53e$s65@gaia.ucs.orst.edu>,
Mark Keppinger <keppingm@ucs.orst.edu> wrote:
>Does anyone have 'trn' running on OSF/1 Version 2.0B or 2.1B?  How about 
>version 3.0?  We will be upgrading to 3.0 December 10th.  The machine 
>is an AXP 2100 running with enhanced security (C2).  We can get it
>to compile and run.  But it aborts when trying to read a news group that
>has a thread.  A hard link 'rn' does not have any problems.  The following
>is what happens when reading a news group that has a thread (example is 
>version 3.4.1 but also happens on the new 3.6):

Did you compile with optimization on (the default?)  If so, try again
without the -O flag.  It fixed it for me.

Dave Messner
dmessner@vt.edu


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'trn' (threaded news reader) for OSF/1
  1994-12-01  0:24 'trn' (threaded news reader) for OSF/1 Mark Keppinger
  1994-12-01  1:13 ` David Messner
@ 1994-12-01 18:24 ` Torbj|rn Lindgren
  1994-12-03  0:09 ` Jeff Makey
  2 siblings, 0 replies; 4+ messages in thread
From: Torbj|rn Lindgren @ 1994-12-01 18:24 UTC (permalink / raw)


In article <3bj53e$s65@gaia.ucs.orst.edu>,
Mark Keppinger <keppingm@ucs.orst.edu> wrote:
>Does anyone have 'trn' running on OSF/1 Version 2.0B or 2.1B?  How about 
>version 3.0?  We will be upgrading to 3.0 December 10th.  The machine 

Recompile without optimization or with gcc instead. Another solution
is compiling it under OSF/1 3.0, which doesn't seem to have this
problem.

I have tried to debug it, but the debugging information seemed
unreliable (-O -g3 is normally bad, but not *that* bad) so I gave up
and compiled it using gcc instead. 

Trn 3.6 failed the same way when I tried to compile it using OSF/1
2.x, but worked when I compiled on the OSF/1 3.0 machine (I had no 3.0
machines when I tried with trn 3.4.1). I think it's cc that is buggy,
but it's hard to prove.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'trn' (threaded news reader) for OSF/1
  1994-12-01  0:24 'trn' (threaded news reader) for OSF/1 Mark Keppinger
  1994-12-01  1:13 ` David Messner
  1994-12-01 18:24 ` Torbj|rn Lindgren
@ 1994-12-03  0:09 ` Jeff Makey
  2 siblings, 0 replies; 4+ messages in thread
From: Jeff Makey @ 1994-12-03  0:09 UTC (permalink / raw)


For trn-3.5, optimization must be turned off when compiling
rt-process.c using the DEC Alpha OSF/1 v2.0 cc compiler, or else you
get a nasty (is there any other kind?) segmentation violation when
reading the NOV database.  You can safely optimize everything else.
This doesn't happen with the OSF/1 v1.3 cc compiler, and I have no
experience with OSF/1 v3.0.

                             :: Jeff Makey
                                jeff@sdsc.edu

           Disclaimer: All opinions belong only to their author.
Department of Tautological Pleonasms and Superfluous Redundancies Department


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-12-03  0:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-01  0:24 'trn' (threaded news reader) for OSF/1 Mark Keppinger
1994-12-01  1:13 ` David Messner
1994-12-01 18:24 ` Torbj|rn Lindgren
1994-12-03  0:09 ` Jeff Makey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox