On 1/5/18 6:42 PM, Alfred Baroti wrote: > Hi, > I found this from long long time ago. > Is this a serious bug? > > > [root@n1x ~]#su nix > nix@n1x:/root$ printf "%s\n" > {{a..z},{A..Z},{0..9}}{{a..z},{A..Z},{0..9}}{{a..z},{A..Z},{0..9}}{{a..z},{A..Z},{0..9}}{{a..z},{A..Z},{0..9}} > bash: xmalloc: .././braces.c:793: cannot allocate 7329062664 bytes > (614682624 bytes allocated) > [root@n1x ~]#
You're using the bash malloc, and you've exceeded the maximum permitted allocation size (2**32 - 1). The other possible cause is that you've exceeded the resource limit for the size of the data segment, but that doesn't appear to be the case. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/