bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Memory allocation problem with latest gawk - new testcase


From: Aharon Robbins
Subject: Re: Memory allocation problem with latest gawk - new testcase
Date: Thu, 3 Apr 2003 16:54:21 +0300

> Here is one more testcase:
>
> $ (gawk --version |head -1; ulimit -Sv 16384 && (yes y |tr -d '\n' |head -c 
> 65536; echo n) |gawk '/y*n/ {print "found"}'; echo rc=$?)
> GNU Awk 3.1.1
> found
> rc=0
>
> $ (gawk --version |head -1; ulimit -Sv 16384 && (yes y |tr -d '\n' |head -c 
> 65536; echo n) |gawk '/y*n/ {print "found"}'; echo rc=$?)
> GNU Awk 3.1.2
> gawk: cmd. line:2: fatal: grow_iop_buffer: iop->buf: can't allocate
> 16777218 bytes of memory (Cannot allocate memory)
> rc=2

OK, finally a case worth talking about.  I can reproduce this and will
work on it.

Arnold




reply via email to

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