On 3/11/16 9:25 AM, s...@kr41.net wrote:
> The following script cause Segmentation fault. I cleaned up the source, so
> removing any line "fixes" the problem.
Thanks for the report. This was fixed last August, and the fix was in
bash-4.4-beta.
--
``The lyf so short, the craft so long to lerne
The following script cause Segmentation fault. I cleaned up the source, so
removing any line "fixes" the problem.
$ ./sandbox.sh
Segmentation fault (core dumped)
$ cat sandbox.sh
#!/usr/bin/env bash
set -o errtrace
set -o functrace
SESSION="$( mktemp -d session.XX )"
on_exit() {
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: darwin14.5.0
Compiler: clang
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='darwin14.5.0' -DCONF_MACHTYPE='x86_64-apple-darwin14.5.0'
-DCONF_VENDOR='apple' -DLOCALEDIR='/usr/loca