csh core dumping

Robert J. Reschly Jr. reschly at BRL.MIL
Mon Dec 19 01:21:44 AEST 1988


      Joe,

   On a Gould 6080 running UTX2.0u06 (mostly 4.3ish) with a number of
local hacks, the csh did not dump, but the tcsh did.  A quick look with
adb showed that tcsh was calling strcmp with a NULL pointer.  On a Gould
with "protection hardware" de-referencing a NULL pointer results in a
protection violation and a core dump.  It looks like the builtin echo in
the tcsh does not check it's arguments.

   Given that tcsh is derived from csh, I suspect that you are
experiencing similar troubles.  The csh we are running here is newer
than the csh that our installed tcsh is based on.  A new, as yet
uninstalled, version of tcsh based on the newer csh also passes your
test.
				Later,
				    Bob 
   --------
Phone:  (301)278-6678   AV: 298-6678    FTS: 939-6678
Arpa:   reschly at BRL.MIL (or BRL.ARPA)   UUCP: ...!brl-smoke!reschly
Postal: Robert J. Reschly Jr.
        U.S. Army Ballistic Research Laboratory
        Systems Engineering and Concepts Analysis Division
        Advanced Computer Systems Team
        ATTN: SLCBR-SE  (Reschly)
        APG, MD  21005-5066             (Hey, *I* don't make 'em up!)

****  For a good time, call: (303) 499-7111.   Seriously!  ****



More information about the Comp.unix.questions mailing list