Bug 351 - tcsh autoexpand .<filename> in directory stack causes xterm core dump
tcsh autoexpand .<filename> in directory stack causes xterm core dump
Product: Red Hat Linux
Classification: Retired
Component: tcsh (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1998-12-08 13:41 EST by lfwelty
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1998-12-08 15:36:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description lfwelty 1998-12-08 13:41:44 EST
Problem - autoexpanding filenames with a .<filename> format
          a directory stack causes tcsh & xterm core dump
          dies) -- fvwm2
Under RH5.2 - running tcsh with autoexpand.

ls on your .tcshrc file from another directory stack.
/home/lfwelty> pushd /etc
/etc ~
/etc> ls =1/.tcsh<hit tab to autoexpand causes core dump>

my .tcshrc file:
if ($?tcsh) then

   bindkey -v           # use vi key bindings on the
                        # command line

   set autoexpand       # expand substitutions ie '!$'
   set autolist         # list possible completions
   set rmstar           # Prompt user before execution of
'rm *'
   set ignore_symlinks  #upon doin cd .., this will put you
where you
                        #were before doing a cd via symbolic
   set listjobs=long    #lists all jobs, when suspending, in
long format


This is very reproducable -- happens every time.

I'm new to RH -- I've only run slackware before; so it could
my inexperience with the system, but this worked on
slackware 96
running kernel 2.0.0

Any help would be appreciated,


Comment 1 Jay Turner 1998-12-08 15:38:59 EST
Replicated the .tcshrc of the user, but was unable to replicate
process crashes.
Comment 2 jorma.laaksonen 1998-12-31 04:14:59 EST
tcsh produces Segmentation fault after doing, e.g.:
cd /etc ; pushd / ; ls =1/ho<tab-key>
It shows the file list and then dies.
I have tcsh-6.07.09-1.i386.rpm installed in Red Hat 5.2.
For testing, I had no .tcshrc, .cshrc, nor .login.


Note You need to log in before you can comment on or make changes to this bug.