[4281] in RedHat Linux List

home help back first fref pref prev next nref lref last post

redhat-4.0, csh is broken

daemon@ATHENA.MIT.EDU (Kayvan Sylvan)
Wed Nov 13 19:18:54 1996

Date: Wed, 13 Nov 96 16:15 PST
To: Red Hat List <redhat-list@redhat.com>
From: Kayvan Sylvan <kayvan@sylvan.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

I'm running Redhat 4.0:

Here's an interesting set of behaviors:

    [kayvan@satyr cmail]$ pwd
    /home/kayvan/etc/chess/cmail
    [kayvan@satyr cmail]$ csh
    Segmentation fault (core dumped)

gdb says /bin/csh core dumps in libc malloc(). Installing libc-gnumalloc
does not fix the problem, it still dumps core in malloc().

Now, starting it with an empty environment works:

    [kayvan@satyr cmail]$ env -i csh
    %

And... renaming the current directory also works!

    [kayvan@satyr chess]$ mv cmail cmai
    [kayvan@satyr chess]$ cd cmai/
    [kayvan@satyr cmai]$ csh
    [kayvan@satyr]$ 

Here's another variant!!! Lengthening the directory name??!

    [kayvan@satyr chess]$ mv cmail cmail2
    [kayvan@satyr chess]$ cd cmail2
    [kayvan@satyr cmail2]$ csh
    [kayvan@satyr]$ 

This looks like some kind of bug in csh. Has anyone else seen anything
like this?

tcsh works correctly in all these cases, BTW.

			---Kayvan

-- 
>>>>>>> Read about Star's Edge and Avatar at http://www.starsedge.com <<<<<<<
"The trust and respect of a child is an honor to be earned, not demanded."
Kayvan Sylvan         | Sylvan Associates           | Proud Dad of:
kayvan@Sylvan.COM     | http://www.isp.net/~kayvan  | Katherine Yelena (8/8/89)
(408) 978-1407 PGP OK | Ask me about Avatar.        | Robin Gregory (2/28/92)


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post