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, and it is also not an out-of-memory problem. I expect bash to fail on this, but it ought not to segfault. also: shlomif@telaviv1:~$ dash -c 'run() { run; } ; run' Segmentation fault (core dumped) shlomif@telaviv1:~$ zsh -c 'run() { run; } ; run' run: maximum nested function level reached I hereby put the reproducing code under the https://creativecommons.org/choose/zero/ . Credit is due to rosa, ongy, anEpiov and other people of freenode's ##programming channel for inspiring this bug report and helping to diagnose it. Regards, Shlomi m -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Free (Creative Commons) Music Downloads, Reviews and more - http://jamendo.com/ For every A, Chuck Norris is both A and not-A. Chuck Norris is freaking everything. — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/