bug-bash
[Top][All Lists]
Advanced

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

nested bash defined functions leads to segmentation fault


From: bjdean
Subject: nested bash defined functions leads to segmentation fault
Date: Wed, 20 Aug 2003 12:59:55 +1000
User-agent: Mutt/1.2.5.1i

Configuration Information [Automatically generated, do not change]:
Machine: alpha
OS: osf4.0d
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='alpha'
-DCONF_OSTYPE='osf4.0d' -DCONF_MACHTY\
PE='alpha-dec-osf4.0d' -DCONF_VENDOR='dec' -DSHELL  -DHAVE_CONFIG_H   -I.
-I. -I./include -I./lib \
-I/usr/local/include -g
uname output: OSF1 bucket V4.0 1530 alpha
Machine Type: alpha-dec-osf4.0d

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

Description:
        Segementation fault caused by calling more than two defined
functions inside
        of a defined function.
 
        Example:
        function a { echo a }
        function b { a; a; }
        Works fine, but:

        function b { a; a; a; }
        Will segfault

        This occurs for combinations of different defined functions.

Repeat-By:
        See example in description.





reply via email to

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