bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash dumps core for recursive shell functions


From: R . Gyambavantha
Subject: Bash dumps core for recursive shell functions
Date: Mon, 8 Jan 2001 16:18:25 -0700 (MST)

Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.6
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' 
-DCONF_OSTYPE='solaris2.6' -DCONF_MACHTYPE='sparc-sun-solaris2.6' 
-DCONF_VENDOR='sun' -DSHELL -DHAVE_CONFIG_H  -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -I. -I./lib -I/foo/include 
-O2 -pipe
uname output: SunOS vega 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-2
Machine Type: sparc-sun-solaris2.6

Bash Version: 2.03
Patch Level: 0
Release Status: release

Description:
        Bash dumps core (after reporting "Segmentation Fault (core dumped)") 
when
        a recursive shell function is called

Repeat-By:
        By mistake I had a shell function defined as
        cleartool() {
            cleartool
        }
        when I ran the command cleartoo, the shell went into an infite loop and
        dumped core unlike the ksh counterpart.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]