Re: Sequence Brace Expansion Crash

2018-06-04 Thread Greg Wooledge
On Sat, Jun 02, 2018 at 09:18:14PM -0700, Thomas Fischer wrote: > Repeat-By: > echo {a..z}{a..z}{a..z}{a..z}{a..z}{a..z} 26^6 = 308915776 words of 6 bytes each, plus however much overhead is involved in constructing a list of 308915776 strings. You've probably gone well over 2 GB of virtual memor

Re: Sequence Brace Expansion Crash

2018-06-03 Thread Chet Ramey
On 6/3/18 12:18 AM, Thomas Fischer wrote: > Bash Version: 4.4 > Patch Level: 19 > Release Status: release > > Description: > I was testing brace expansion, and found that if bash uses too much memory > during the expansion, it will simply be killed. > > Repeat-By: > echo {a..z}{a..z}{a..z}{a..z}

Sequence Brace Expansion Crash

2018-06-03 Thread Thomas Fischer
From: thomas To: bug-bash@gnu.org Subject: Sequence Brace Expansion Crash Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='l