[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xmalloc crash

From: Chet Ramey
Subject: Re: xmalloc crash
Date: Mon, 8 Jan 2018 10:53:57 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 1/5/18 6:42 PM, Alfred Baroti wrote:
> Hi,
> I found this from long long time ago.
> Is this a serious bug?
> address@hidden ~]#su nix
> address@hidden:/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)
> address@hidden ~]#

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.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]