Re: [BUG] Bash segfaults on an infinitely recursive funcion (resend)

2017-09-24 Thread Shlomi Fish
Hi all, On Sun, 24 Sep 2017 19:24:10 +0300 Pierre Gaston wrote: > On Sun, Sep 24, 2017 at 5:01 PM, Shlomi Fish wrote: > > > Hi all, > > > > With bash git master on Mageia v7 x86-64, bash on Debian Stable and other > > reported sytems: > > > >

Re: Builtin echo interrupted by WINCH

2017-09-24 Thread Egmont Koblinger
Hi, Indeed, you're absolutely right. Reminder to myself: always test latest devel version before reporting bugs :) I've compiled devel with "make DEBUG= MALLOC_DEBUG=" and I could not reproduce the issue with either of the commands. Thanks a lot! :) egmont On Sun, Sep 24, 2017 at 7:48 PM,

Re: [BUG] Bash segfaults on an infinitely recursive funcion (resend)

2017-09-24 Thread Pierre Gaston
On Sun, Sep 24, 2017 at 5:01 PM, Shlomi Fish wrote: > Hi all, > > With bash git master on Mageia v7 x86-64, bash on Debian Stable and other > reported sytems: > > shlomif@telaviv1:~$ /home/shlomif/apps/bash/bin/bash -c 'run() { run; } ; > run' > Segmentation fault (core

Re: [BUG] Bash segfaults on an infinitely recursive funcion

2017-09-24 Thread Chet Ramey
On 9/24/17 9:25 AM, Shlomi Fish wrote: > Hi all, > > With bash git master on Mageia v7 x86-64, bash on Debian Stable and other > reported sytems: > > shlomif@telaviv1:~$ /home/shlomif/apps/bash/bin/bash -c 'run() { run; } ; run' > Segmentation fault (core dumped) > shlomif@telaviv1:~$ > > note

Re: Builtin echo interrupted by WINCH

2017-09-24 Thread Chet Ramey
On 9/23/17 4:55 PM, Egmont Koblinger wrote: > Is there anything bash could do to prevent incorrect behavior of its > built-in commands when a SIGWINCH is encountered? And of course I > don't mean the "echo" command only. You can try, as the bash devel branch does, to install the SIGWINCH signal

Re: [BUG] Bash segfaults on an infinitely recursive funcion (resend)

2017-09-24 Thread Chet Ramey
On 9/24/17 1:53 PM, Shlomi Fish wrote: > I see. Well, the general wisdom is that a program should not ever segfault, > but > instead gracefully handle the error and exit. Perhaps implement a maximal > recursion depth like zsh does. Perhaps read the documentation about the FUNCNEST variable.

[BUG] Bash segfaults on an infinitely recursive funcion

2017-09-24 Thread Shlomi Fish
Hi all, With bash git master on Mageia v7 x86-64, bash on Debian Stable and other reported sytems: shlomif@telaviv1:~$ /home/shlomif/apps/bash/bin/bash -c 'run() { run; } ; run' Segmentation fault (core dumped) shlomif@telaviv1:~$ note that this is not a fork bomb as no processes are spawned,

[BUG] Bash segfaults on an infinitely recursive funcion (resend)

2017-09-24 Thread Shlomi Fish
Hi all, With bash git master on Mageia v7 x86-64, bash on Debian Stable and other reported sytems: shlomif@telaviv1:~$ /home/shlomif/apps/bash/bin/bash -c 'run() { run; } ; run' Segmentation fault (core dumped) shlomif@telaviv1:~$ note that this is not a fork bomb as no processes are spawned,

Re: (OffTopic,) Gnu-Environment restrictions (was Re: Question )

2017-09-24 Thread Robert Elz
I will send one more reply on this topic - I am replying to this message as I agree with the change of Subject - this is off topic for this list, which is why I will not respond any further to messages about this here. Bob Proulx said (in a message with the original subject):