Re: Combination of ERR, EXIT, DEBUG traps causes segmentation fault on Bash 4.3.11

2016-03-11 Thread Chet Ramey
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

Combination of ERR, EXIT, DEBUG traps causes segmentation fault on Bash 4.3.11

2016-03-11 Thread self
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() {

Hard-wrapped commands are displayed incorrectly after READLINE_LINE is changed

2016-03-11 Thread Lauri Ranta
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